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