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