LROUTER revision 1.55
1#
2# 	$NetBSD: LROUTER,v 1.55 2015/08/21 01:52:08 uebayasi 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
24pseudo-device	ksyms
25#options 	DDB_ONPANIC=0		# don't enter debugger on panic
26#options 	KGDB			# remote debugger
27options 	DIAGNOSTIC		# extra kernel debugging checks
28#options 	DEBUG			# extra kernel debugging support
29#options 	VRGIUDEBUG_CONF=2	# debug GIU intr
30options 	KTRACE			# system call tracing support
31options 	MSGBUFSIZE=16384	# dmesg buffer size
32options 	USERCONF		# userconf(4) support
33#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
34#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
35
36## UVM options.
37#options 	UVM_PAGE_TRKOWN
38#options 	UVMHIST
39#options 	UVMHIST_PRINT	# Loud!
40
41#options 	SCSIVERBOSE		# human readable SCSI error messages
42
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
72file-system 	PROCFS		# /proc
73#file-system 	UMAPFS		# NULLFS + uid and gid remapping
74file-system 	UNION
75file-system	PTYFS		# /dev/pts/N support
76
77options 	NFSSERVER	# Sun NFS-compatible filesystem (server)
78options 	WAPBL		# File system journaling support
79#options 	QUOTA		# legacy UFS quotas
80#options 	QUOTA2		# new, in-filesystem UFS quotas
81#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
82
83# Networking options
84#options 	GATEWAY		# IP packet forwarding
85options 	INET		# IP + ICMP + TCP + UDP
86options 	INET6		# IPV6
87#options 	IPSEC		# IP security
88#options 	IPSEC_DEBUG	# debug for IP security
89#options 	MROUTING	# Multicast routing support
90#options 	PIM		# Protocol Independent Multicast
91options 	IPFILTER_LOG	# ipmon(8) log support
92options 	IPFILTER_LOOKUP	# ippool(8) support
93options 	IPFILTER_COMPAT # Compat for IP-Filter
94#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
95
96# JIT compiler for bpfilter
97#options	SLJIT
98#options	BPFJIT
99
100# NetBSD backwards compatibility
101options 	COMPAT_43	# 4.3BSD binary compatibility.
102options 	COMPAT_16	# NetBSD 1.6,
103options 	COMPAT_20	# NetBSD 2.0,
104options 	COMPAT_30	# NetBSD 3.0, and
105options 	COMPAT_40	# NetBSD 4.0 binary compatibility.
106options		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
107
108options 	NFS_BOOT_DHCP
109
110# compile options
111#makeoptions	DEFGP="-G 14"
112
113config		netbsd		root on ? type ?
114config		nfsnetbsd	root on ? type nfs
115
116
117# temporally power management
118hpcapm0	at mainbus0			# power management
119apmdev0	at hpcapm0			# APM
120
121vrip*	at mainbus0
122vrbcu*	at vrip? addr 0x0f000000 size 0x20
123vrcmu*	at vrip? addr 0x0f000060 size 0x20
124vrrtc*	at vrip? addr 0x0f000100 size 0x20 unit VRRTC
125
126options 	CONSPEED=115200
127com*	at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
128vrgiu*	at vrip? addr 0x0f000140 size 0x20 unit VRGIU
129vrpmu*	at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
130#vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
131#vrled*	at vrip? addr 0x0f000180 size 0x10 unit VRLED
132vrpciu*	at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
133
134hpcioman0 at vrgiu? platform LASER5_L_BOARD
135# bus 0, device 0, function 0	i82559 #0 LAN(eth0)
136hpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
137# bus 0, device 1, function 0	i82559 #1 LAN(eth1)
138hpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
139# bus 0, device 16, function 0	M1543C/M5229 (IDE controller)
140hpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
141
142# PCI bus support
143#options 	MIIVERBOSE	# verbose PHY autoconfig messages
144options 	PCIVERBOSE
145pci*	at vrpciu?
146
147# PCI network interfaces
148fxp*	at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
149
150# MII/PHY support
151inphy*	at mii? phy ?			# Intel 82555 PHYs
152
153# IDE and related devices
154aceride* at pci? dev ? function ?	# Acer Lab IDE controllers
155
156# ATA (IDE) bus support
157atabus* at ata?
158
159# IDE drives
160#wd*	at atabus? drive ? flags 0x0ffa	# PIO mode 2
161wd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
162#wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
163#wd*	at atabus? drive ? flags 0x0000	# UDMA mode 2
164
165# ATAPI bus support
166atapibus* at atapi?
167
168# ATAPI devices
169cd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
170sd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
171st*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
172
173pseudo-device	loop			# network loopback
174pseudo-device	ppp			# serial-line IP ports
175pseudo-device	pty			# pseudo-terminals
176pseudo-device	bpfilter		# packet filter ports
177pseudo-device	ipfilter		# IP filter, NAT
178
179pseudo-device	vnd			# virtual disk ick
180#pseudo-device	ccd			# concatenated disks
181#pseudo-device	fss			# file system snapshot device
182pseudo-device	clockctl		# user control of clock subsystem
183
184#pseudo-device	biconsdev	1	# build-in console device
185#pseudo-device	wsmux			# mouse & keyboard multiplexor
186#options 	MEMORY_DISK_HOOKS
187#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
188#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
189#options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
190pseudo-device	md			# memory disk device (ramdisk)
191
192#pseudo-device	raid			# RAIDframe disk driver
193#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
194
195# for IPv6
196pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
197#pseudo-device	faith			# IPv[46] tcp relay translation i/f
198pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
199
200## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
201pseudo-device	vlan
202