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