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