LROUTER revision 1.18
1#
2# 	$NetBSD: LROUTER,v 1.18 2004/04/15 14:58:30 tv Exp $
3# 	From: NetBSD: MPC303,v 1.4 2001/11/21 11:28:09 uch Exp
4#
5# Kernel configuration file for LASER5 L-Router
6#
7
8include		"arch/hpcmips/conf/std.hpcmips"
9
10#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
11
12maxusers	32
13
14options 	MIPS3			# R4000/R4400/R4600 CPUs
15
16# Support for specific models of H/PC MIPS
17makeoptions	CPUFLAGS="-mips3"	# CPU codegen options
18options 	MIPS3_4100		# VR4100 core
19options 	VR41XX			# NEC VR41xx series
20options 	VR4122			# NEC VR4122
21
22# Standard system options
23options 	DDB			# in-kernel debugger
24#options 	DDB_ONPANIC=0		# don't enter debugger on panic
25#options 	KGDB			# remote debugger
26options 	DIAGNOSTIC		# extra kernel debugging checks
27#options 	DEBUG			# extra kernel debugging support
28#options 	VRGIUDEBUG_CONF=2	# debug GIU intr
29options 	KTRACE			# system call tracing support
30options 	MSGBUFSIZE=16384	# dmesg buffer size
31options 	USERCONF		# userconf(4) support
32#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
33
34## UVM options.
35#options 	UVM_PAGE_TRKOWN
36#options 	UVMHIST
37#options 	UVMHIST_PRINT	# Loud!
38
39#options 	SCSIVERBOSE		# human readable SCSI error messages
40
41options 	YBASE=2000
42options 	EPOCHYEAR=1970
43
44#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
45#options 	RTC_OFFSET=-540		# JST-9
46#options 	RTC_OFFSET=480		# PST8
47					# In NO RTC_OFFSET , inherit RTC_OFFSET
48					# from Windows CE.
49options 	NTP			# network time protocol
50
51#options 	WINCE_DEFAULT_SETTING	# Debugging use
52#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
53
54#options 	SYSCALL_DEBUG		# for debug
55
56#options 	VRRTCDEBUG
57#options 	VRRTCDEBUG_CONF=1
58
59# Filesystem options
60file-system 	FFS		# fast filesystem with user and group quotas
61#file-system 	EXT2FS		# second extended file system (linux)
62file-system 	MFS		# memory-based filesystem
63file-system 	NFS		# Sun NFS-compatible filesystem (client)
64#file-system	LFS		# Log-based filesystem (still experimental)
65file-system 	CD9660		# ISO 9660 + Rock Ridge file system
66file-system 	MSDOSFS		# MS-DOS file system
67#file-system 	FDESC		# /dev/fd
68file-system 	KERNFS		# /kern (kernel informational filesystem)
69#file-system 	NULLFS		# loopback file system
70#file-system 	OVERLAY		# overlay file system
71#file-system 	PORTAL		# portal filesystem (still experimental)
72file-system 	PROCFS		# /proc
73#file-system 	UMAPFS		# NULLFS + uid and gid remapping
74file-system 	UNION
75
76options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
77options 	SOFTDEP		# FFS soft updates support.
78#options 	QUOTA		# UFS quotas
79options 	VNODE_OP_NOINLINE # don't inline vnode op calls
80
81# Networking options
82#options 	GATEWAY		# IP packet forwarding
83options 	INET		# IP + ICMP + TCP + UDP
84options 	INET6		# IPV6
85#options 	IPSEC		# IP security
86#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
87#options 	IPSEC_DEBUG	# debug for IP security
88#options 	MROUTING	# Multicast routing support
89#options 	ISO		# OSI networking
90#options 	TPIP		# TPIP
91#options 	EON		# OSI tunneling over IP
92#options 	CCITT,LLC,HDLC	# X.25
93
94# NetBSD backwards compatibility
95options 	COMPAT_43
96
97options 	NFS_BOOT_DHCP
98
99# compile options
100#makeoptions	DEFGP="-G 14"
101
102config		netbsd		root on ? type ?
103config		nfsnetbsd	root on ? type nfs
104
105
106# temporally power management
107hpcapm0	at mainbus0			# power management
108apmdev0	at hpcapm0			# APM
109
110vrip*	at mainbus0
111vrbcu*	at vrip? addr 0x0f000000 size 0x20
112vrcmu*	at vrip? addr 0x0f000060 size 0x20
113vrrtc*	at vrip? addr 0x0f000100 size 0x20 unit VRRTC
114
115options 	CONSPEED=115200
116com*	at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
117vrgiu*	at vrip? addr 0x0f000140 size 0x20 unit VRGIU
118vrpmu*	at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
119#vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
120#vrled*	at vrip? addr 0x0f000180 size 0x10 unit VRLED
121vrpciu*	at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
122
123hpcioman0 at vrgiu? platform LASER5_L_BOARD
124# bus 0, device 0, function 0	i82559 #0 LAN(eth0)
125hpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
126# bus 0, device 1, function 0	i82559 #1 LAN(eth1)
127hpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
128# bus 0, device 16, function 0	M1543C/M5229 (IDE controller)
129hpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
130
131# PCI bus support
132#options 	MIIVERBOSE	# verbose PHY autoconfig messages
133options 	PCIVERBOSE
134pci*	at vrpciu?
135
136# PCI network interfaces
137fxp*	at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
138
139# MII/PHY support
140inphy*	at mii? phy ?			# Intel 82555 PHYs
141
142# IDE and related devices
143aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
144
145# ATA (IDE) bus support
146atabus* at ata?
147
148# IDE drives
149#wd*	at atabus? drive ? flags 0x0ffa	# PIO mode 2
150wd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
151#wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
152#wd*	at atabus? drive ? flags 0x0000	# UDMA mode 2
153
154# ATAPI bus support
155atapibus* at atapi?
156
157# ATAPI devices
158cd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
159sd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
160st*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
161
162pseudo-device	loop		1	# network loopback
163pseudo-device	ppp		2	# serial-line IP ports
164pseudo-device	pty			# pseudo-terminals
165pseudo-device	bpfilter	16	# packet filter ports
166pseudo-device	ipfilter		# IP filter, NAT
167
168pseudo-device	vnd		4	# virtual disk ick
169#pseudo-device	ccd		4	# concatenated disks
170pseudo-device	rnd			# /dev/random and in-kernel generator
171pseudo-device	clockctl		# user control of clock subsystem
172
173#pseudo-device	biconsdev	1	# build-in console device
174#pseudo-device	wsmux			# mouse & keyboard multiplexor
175#options 	MEMORY_DISK_HOOKS
176#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
177#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
178#options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
179pseudo-device	md		1	# memory disk device (ramdisk)
180
181#pseudo-device	raid		4	# RAIDframe disk driver
182#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
183
184# for IPv6
185pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
186#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
187#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
188
189## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
190pseudo-device	vlan
191