xref: /netbsd-src/sys/arch/hpcmips/conf/LROUTER (revision f9a3fd9f79ac72c64f442ac14171c6a1f9a28aa9)
1b886a869Sshin#
2*f9a3fd9fSandvar# 	$NetBSD: LROUTER,v 1.58 2024/09/22 20:55:17 andvar Exp $
3b886a869Sshin# 	From: NetBSD: MPC303,v 1.4 2001/11/21 11:28:09 uch Exp
4b886a869Sshin#
5b886a869Sshin# Kernel configuration file for LASER5 L-Router
6b886a869Sshin#
7b886a869Sshin
8b886a869Sshininclude 	"arch/hpcmips/conf/std.hpcmips"
9b886a869Sshin
10d1b38523Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
11d1b38523Satatat
12b886a869Sshinmaxusers	32
13b886a869Sshin
14b886a869Sshinoptions 	MIPS3			# R4000/R4400/R4600 CPUs
15b886a869Sshin
16b886a869Sshin# Support for specific models of H/PC MIPS
177d5e6e5dStvmakeoptions	CPUFLAGS="-mips3"	# CPU codegen options
18b886a869Sshinoptions 	MIPS3_4100		# VR4100 core
19b886a869Sshinoptions 	VR41XX			# NEC VR41xx series
20b886a869Sshinoptions 	VR4122			# NEC VR4122
21*f9a3fd9fSandvaroptions 	PMAP_NO_PV_UNCACHED
22*f9a3fd9fSandvaroptions 	ENABLE_MIPS_4KB_PAGE
23b886a869Sshin
24b886a869Sshin# Standard system options
25b886a869Sshinoptions 	DDB			# in-kernel debugger
267fe7089aSuebayasipseudo-device	ksyms
27b886a869Sshin#options 	DDB_ONPANIC=0		# don't enter debugger on panic
28b886a869Sshin#options 	KGDB			# remote debugger
29b886a869Sshinoptions 	DIAGNOSTIC		# extra kernel debugging checks
30b886a869Sshin#options 	DEBUG			# extra kernel debugging support
31b886a869Sshin#options 	VRGIUDEBUG_CONF=2	# debug GIU intr
32b886a869Sshinoptions 	KTRACE			# system call tracing support
33b886a869Sshinoptions 	MSGBUFSIZE=16384	# dmesg buffer size
343ea2e21fSlukemoptions 	USERCONF		# userconf(4) support
356d265bd8Sjdolecek#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
36f68a9f1fSatatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
37b886a869Sshin
38b886a869Sshin## UVM options.
39b886a869Sshin#options 	UVM_PAGE_TRKOWN
40b886a869Sshin#options 	UVMHIST
41b886a869Sshin#options 	UVMHIST_PRINT	# Loud!
42b886a869Sshin
43b886a869Sshin#options 	SCSIVERBOSE		# human readable SCSI error messages
44b886a869Sshin
45b886a869Sshinoptions 	EPOCHYEAR=1970
46b886a869Sshin
47b886a869Sshin#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
48b886a869Sshin#options 	RTC_OFFSET=-540		# JST-9
49b886a869Sshin#options 	RTC_OFFSET=480		# PST8
50b886a869Sshin					# In NO RTC_OFFSET , inherit RTC_OFFSET
51b886a869Sshin					# from Windows CE.
52b886a869Sshinoptions 	NTP			# network time protocol
53b886a869Sshin
54b886a869Sshin#options 	WINCE_DEFAULT_SETTING	# Debugging use
55b886a869Sshin#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
56b886a869Sshin
57b886a869Sshin#options 	SYSCALL_DEBUG		# for debug
58b886a869Sshin
59b886a869Sshin#options 	VRRTCDEBUG
60b886a869Sshin#options 	VRRTCDEBUG_CONF=1
61b886a869Sshin
62b886a869Sshin# Filesystem options
63b886a869Sshinfile-system 	FFS		# fast filesystem with user and group quotas
64b886a869Sshin#file-system 	EXT2FS		# second extended file system (linux)
65b886a869Sshinfile-system 	MFS		# memory-based filesystem
66b886a869Sshinfile-system 	NFS		# Sun NFS-compatible filesystem (client)
67b886a869Sshin#file-system	LFS		# Log-based filesystem (still experimental)
68b886a869Sshinfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
69b886a869Sshinfile-system 	MSDOSFS		# MS-DOS file system
70b886a869Sshin#file-system 	FDESC		# /dev/fd
71b886a869Sshinfile-system 	KERNFS		# /kern (kernel informational filesystem)
72b886a869Sshin#file-system 	NULLFS		# loopback file system
73b886a869Sshin#file-system 	OVERLAY		# overlay file system
74b886a869Sshinfile-system 	PROCFS		# /proc
75b886a869Sshin#file-system 	UMAPFS		# NULLFS + uid and gid remapping
76b886a869Sshinfile-system 	UNION
7793c362d7Schristosfile-system	PTYFS		# /dev/pts/N support
78b886a869Sshin
79b886a869Sshinoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
807bbf82b7Sdhollandoptions 	WAPBL		# File system journaling support
81063f96f3Sbouyer#options 	QUOTA		# legacy UFS quotas
82063f96f3Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
83ff9b47d6Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
84b886a869Sshin
85b886a869Sshin# Networking options
86b886a869Sshin#options 	GATEWAY		# IP packet forwarding
87b886a869Sshinoptions 	INET		# IP + ICMP + TCP + UDP
88b886a869Sshinoptions 	INET6		# IPV6
89b886a869Sshin#options 	IPSEC		# IP security
90b886a869Sshin#options 	IPSEC_DEBUG	# debug for IP security
91b886a869Sshin#options 	MROUTING	# Multicast routing support
926e3c6399Smanu#options 	PIM		# Protocol Independent Multicast
93b886a869Sshin
94e25150d4Salnsn# JIT compiler for bpfilter
95e25150d4Salnsn#options	SLJIT
96e25150d4Salnsn#options	BPFJIT
97e25150d4Salnsn
98b886a869Sshin# NetBSD backwards compatibility
9995772a88Smrginclude 	"conf/compat_netbsd16.config"
100b886a869Sshin
101b886a869Sshinoptions 	NFS_BOOT_DHCP
102b886a869Sshin
103672880d9Stakemura# compile options
10457889e8fSshin#makeoptions	DEFGP="-G 14"
105672880d9Stakemura
106b886a869Sshinconfig		netbsd		root on ? type ?
107b886a869Sshinconfig		nfsnetbsd	root on ? type nfs
108b886a869Sshin
109b886a869Sshin
110b886a869Sshin# temporally power management
111b886a869Sshinhpcapm0	at mainbus0			# power management
112b886a869Sshinapmdev0	at hpcapm0			# APM
113b886a869Sshin
114b886a869Sshinvrip*	at mainbus0
115b886a869Sshinvrbcu*	at vrip? addr 0x0f000000 size 0x20
116b886a869Sshinvrcmu*	at vrip? addr 0x0f000060 size 0x20
117a0584b29Stakemuravrrtc*	at vrip? addr 0x0f000100 size 0x20 unit VRRTC
118b886a869Sshin
119b886a869Sshinoptions 	CONSPEED=115200
120a0584b29Stakemuracom*	at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
121a0584b29Stakemuravrgiu*	at vrip? addr 0x0f000140 size 0x20 unit VRGIU
122a0584b29Stakemuravrpmu*	at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
123a0584b29Stakemura#vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
124a0584b29Stakemura#vrled*	at vrip? addr 0x0f000180 size 0x10 unit VRLED
125a0584b29Stakemuravrpciu*	at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
126b886a869Sshin
127b886a869Sshinhpcioman0 at vrgiu? platform LASER5_L_BOARD
128b886a869Sshin# bus 0, device 0, function 0	i82559 #0 LAN(eth0)
129b886a869Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
130b886a869Sshin# bus 0, device 1, function 0	i82559 #1 LAN(eth1)
131b886a869Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
132b886a869Sshin# bus 0, device 16, function 0	M1543C/M5229 (IDE controller)
133b886a869Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
134b886a869Sshin
135b886a869Sshin# PCI bus support
136b886a869Sshin#options 	MIIVERBOSE	# verbose PHY autoconfig messages
137b886a869Sshinoptions 	PCIVERBOSE
138b886a869Sshinpci*	at vrpciu?
139b886a869Sshin
140b886a869Sshin# PCI network interfaces
141b886a869Sshinfxp*	at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
142b886a869Sshin
143b886a869Sshin# MII/PHY support
144b886a869Sshininphy*	at mii? phy ?			# Intel 82555 PHYs
145b886a869Sshin
146b886a869Sshin# IDE and related devices
147f5a6a0a8Sbouyeraceride* at pci? dev ? function ?	# Acer Lab IDE controllers
1487d84b90cSlukem
1497d84b90cSlukem# ATA (IDE) bus support
1507d84b90cSlukematabus* at ata?
151b886a869Sshin
152b886a869Sshin# IDE drives
15396867250Sbouyer#wd*	at atabus? drive ? flags 0x0ffa	# PIO mode 2
15496867250Sbouyerwd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
15596867250Sbouyer#wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
15696867250Sbouyer#wd*	at atabus? drive ? flags 0x0000	# UDMA mode 2
157b886a869Sshin
158b886a869Sshin# ATAPI bus support
1597d84b90cSlukematapibus* at atapi?
160b886a869Sshin
161b886a869Sshin# ATAPI devices
162b886a869Sshincd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
163b886a869Sshinsd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
164b886a869Sshinst*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
165b886a869Sshin
166dc14ae83Schristospseudo-device	loop			# network loopback
1676ff13154Scubepseudo-device	ppp			# serial-line IP ports
168b886a869Sshinpseudo-device	pty			# pseudo-terminals
169e1c6b6edSrpaulopseudo-device	bpfilter		# packet filter ports
170f71d13bdSmaxvpseudo-device	npf			# NPF packet filter
171b886a869Sshin
1726ff13154Scubepseudo-device	vnd			# virtual disk ick
173dc14ae83Schristos#pseudo-device	ccd			# concatenated disks
174835e533bSpooka#pseudo-device	fss			# file system snapshot device
175fde6ae6fSlukempseudo-device	clockctl		# user control of clock subsystem
176b886a869Sshin
177b886a869Sshin#pseudo-device	biconsdev	1	# build-in console device
178b886a869Sshin#pseudo-device	wsmux			# mouse & keyboard multiplexor
179b886a869Sshin#options 	MEMORY_DISK_HOOKS
180b886a869Sshin#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
181b886a869Sshin#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
182b886a869Sshin#options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
183afdfce8eShannkenpseudo-device	md			# memory disk device (ramdisk)
184b886a869Sshin
1851cc8b68dSchristos#pseudo-device	raid			# RAIDframe disk driver
186b886a869Sshin#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
187b886a869Sshin
188b886a869Sshin# for IPv6
1896ff13154Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1906ff13154Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
191dc1372c5Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
192b886a869Sshin
193b886a869Sshin## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
194b886a869Sshinpseudo-device	vlan
195