LROUTER revision 1.57
11.1Sshin#
21.57Smaxv# 	$NetBSD: LROUTER,v 1.57 2018/08/01 20:04:11 maxv Exp $
31.1Sshin# 	From: NetBSD: MPC303,v 1.4 2001/11/21 11:28:09 uch Exp
41.1Sshin#
51.1Sshin# Kernel configuration file for LASER5 L-Router
61.1Sshin#
71.1Sshin
81.56Smrginclude 	"arch/hpcmips/conf/std.hpcmips"
91.6Satatat
101.6Satatat#options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
111.1Sshin
121.1Sshinmaxusers	32
131.1Sshin
141.1Sshinoptions 	MIPS3			# R4000/R4400/R4600 CPUs
151.1Sshin
161.1Sshin# Support for specific models of H/PC MIPS
171.18Stvmakeoptions	CPUFLAGS="-mips3"	# CPU codegen options
181.1Sshinoptions 	MIPS3_4100		# VR4100 core
191.1Sshinoptions 	VR41XX			# NEC VR41xx series
201.1Sshinoptions 	VR4122			# NEC VR4122
211.1Sshin
221.1Sshin# Standard system options
231.1Sshinoptions 	DDB			# in-kernel debugger
241.55Suebayasipseudo-device	ksyms
251.1Sshin#options 	DDB_ONPANIC=0		# don't enter debugger on panic
261.1Sshin#options 	KGDB			# remote debugger
271.1Sshinoptions 	DIAGNOSTIC		# extra kernel debugging checks
281.1Sshin#options 	DEBUG			# extra kernel debugging support
291.1Sshin#options 	VRGIUDEBUG_CONF=2	# debug GIU intr
301.1Sshinoptions 	KTRACE			# system call tracing support
311.1Sshinoptions 	MSGBUFSIZE=16384	# dmesg buffer size
321.8Slukemoptions 	USERCONF		# userconf(4) support
331.3Sjdolecek#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
341.19Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
351.1Sshin
361.1Sshin## UVM options.
371.1Sshin#options 	UVM_PAGE_TRKOWN
381.1Sshin#options 	UVMHIST
391.1Sshin#options 	UVMHIST_PRINT	# Loud!
401.1Sshin
411.1Sshin#options 	SCSIVERBOSE		# human readable SCSI error messages
421.1Sshin
431.1Sshinoptions 	EPOCHYEAR=1970
441.1Sshin
451.1Sshin#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
461.1Sshin#options 	RTC_OFFSET=-540		# JST-9
471.1Sshin#options 	RTC_OFFSET=480		# PST8
481.1Sshin					# In NO RTC_OFFSET , inherit RTC_OFFSET
491.1Sshin					# from Windows CE.
501.1Sshinoptions 	NTP			# network time protocol
511.1Sshin
521.1Sshin#options 	WINCE_DEFAULT_SETTING	# Debugging use
531.1Sshin#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
541.1Sshin
551.1Sshin#options 	SYSCALL_DEBUG		# for debug
561.1Sshin
571.1Sshin#options 	VRRTCDEBUG
581.1Sshin#options 	VRRTCDEBUG_CONF=1
591.1Sshin
601.1Sshin# Filesystem options
611.1Sshinfile-system 	FFS		# fast filesystem with user and group quotas
621.1Sshin#file-system 	EXT2FS		# second extended file system (linux)
631.1Sshinfile-system 	MFS		# memory-based filesystem
641.1Sshinfile-system 	NFS		# Sun NFS-compatible filesystem (client)
651.1Sshin#file-system	LFS		# Log-based filesystem (still experimental)
661.1Sshinfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
671.1Sshinfile-system 	MSDOSFS		# MS-DOS file system
681.1Sshin#file-system 	FDESC		# /dev/fd
691.1Sshinfile-system 	KERNFS		# /kern (kernel informational filesystem)
701.1Sshin#file-system 	NULLFS		# loopback file system
711.1Sshin#file-system 	OVERLAY		# overlay file system
721.1Sshinfile-system 	PROCFS		# /proc
731.1Sshin#file-system 	UMAPFS		# NULLFS + uid and gid remapping
741.1Sshinfile-system 	UNION
751.28Schristosfile-system	PTYFS		# /dev/pts/N support
761.1Sshin
771.1Sshinoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
781.46Sdhollandoptions 	WAPBL		# File system journaling support
791.44Sbouyer#options 	QUOTA		# legacy UFS quotas
801.44Sbouyer#options 	QUOTA2		# new, in-filesystem UFS quotas
811.29Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
821.1Sshin
831.1Sshin# Networking options
841.1Sshin#options 	GATEWAY		# IP packet forwarding
851.1Sshinoptions 	INET		# IP + ICMP + TCP + UDP
861.1Sshinoptions 	INET6		# IPV6
871.1Sshin#options 	IPSEC		# IP security
881.1Sshin#options 	IPSEC_DEBUG	# debug for IP security
891.1Sshin#options 	MROUTING	# Multicast routing support
901.20Smanu#options 	PIM		# Protocol Independent Multicast
911.1Sshin
921.53Salnsn# JIT compiler for bpfilter
931.53Salnsn#options	SLJIT
941.53Salnsn#options	BPFJIT
951.53Salnsn
961.1Sshin# NetBSD backwards compatibility
971.56Smrginclude 	"conf/compat_netbsd16.config"
981.1Sshin
991.1Sshinoptions 	NFS_BOOT_DHCP
1001.2Stakemura
1011.2Stakemura# compile options
1021.9Sshin#makeoptions	DEFGP="-G 14"
1031.1Sshin
1041.1Sshinconfig		netbsd		root on ? type ?
1051.1Sshinconfig		nfsnetbsd	root on ? type nfs
1061.1Sshin
1071.1Sshin
1081.1Sshin# temporally power management
1091.1Sshinhpcapm0	at mainbus0			# power management
1101.1Sshinapmdev0	at hpcapm0			# APM
1111.1Sshin
1121.1Sshinvrip*	at mainbus0
1131.1Sshinvrbcu*	at vrip? addr 0x0f000000 size 0x20
1141.1Sshinvrcmu*	at vrip? addr 0x0f000060 size 0x20
1151.4Stakemuravrrtc*	at vrip? addr 0x0f000100 size 0x20 unit VRRTC
1161.1Sshin
1171.1Sshinoptions 	CONSPEED=115200
1181.4Stakemuracom*	at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
1191.4Stakemuravrgiu*	at vrip? addr 0x0f000140 size 0x20 unit VRGIU
1201.4Stakemuravrpmu*	at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
1211.4Stakemura#vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
1221.4Stakemura#vrled*	at vrip? addr 0x0f000180 size 0x10 unit VRLED
1231.4Stakemuravrpciu*	at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
1241.1Sshin
1251.1Sshinhpcioman0 at vrgiu? platform LASER5_L_BOARD
1261.1Sshin# bus 0, device 0, function 0	i82559 #0 LAN(eth0)
1271.1Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
1281.1Sshin# bus 0, device 1, function 0	i82559 #1 LAN(eth1)
1291.1Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
1301.1Sshin# bus 0, device 16, function 0	M1543C/M5229 (IDE controller)
1311.1Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
1321.1Sshin
1331.1Sshin# PCI bus support
1341.1Sshin#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1351.1Sshinoptions 	PCIVERBOSE
1361.1Sshinpci*	at vrpciu?
1371.1Sshin
1381.1Sshin# PCI network interfaces
1391.1Sshinfxp*	at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
1401.1Sshin
1411.1Sshin# MII/PHY support
1421.1Sshininphy*	at mii? phy ?			# Intel 82555 PHYs
1431.1Sshin
1441.1Sshin# IDE and related devices
1451.12Sbouyeraceride* at pci? dev ? function ?	# Acer Lab IDE controllers
1461.13Slukem
1471.13Slukem# ATA (IDE) bus support
1481.13Slukematabus* at ata?
1491.1Sshin
1501.1Sshin# IDE drives
1511.11Sbouyer#wd*	at atabus? drive ? flags 0x0ffa	# PIO mode 2
1521.11Sbouyerwd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
1531.11Sbouyer#wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
1541.11Sbouyer#wd*	at atabus? drive ? flags 0x0000	# UDMA mode 2
1551.1Sshin
1561.1Sshin# ATAPI bus support
1571.13Slukematapibus* at atapi?
1581.1Sshin
1591.1Sshin# ATAPI devices
1601.1Sshincd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
1611.1Sshinsd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
1621.1Sshinst*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
1631.1Sshin
1641.49Schristospseudo-device	loop			# network loopback
1651.32Scubepseudo-device	ppp			# serial-line IP ports
1661.1Sshinpseudo-device	pty			# pseudo-terminals
1671.31Srpaulopseudo-device	bpfilter		# packet filter ports
1681.57Smaxvpseudo-device	npf			# NPF packet filter
1691.1Sshin
1701.32Scubepseudo-device	vnd			# virtual disk ick
1711.49Schristos#pseudo-device	ccd			# concatenated disks
1721.41Spooka#pseudo-device	fss			# file system snapshot device
1731.7Slukempseudo-device	clockctl		# user control of clock subsystem
1741.1Sshin
1751.1Sshin#pseudo-device	biconsdev	1	# build-in console device
1761.1Sshin#pseudo-device	wsmux			# mouse & keyboard multiplexor
1771.1Sshin#options 	MEMORY_DISK_HOOKS
1781.1Sshin#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1791.1Sshin#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1801.1Sshin#options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
1811.43Shannkenpseudo-device	md			# memory disk device (ramdisk)
1821.1Sshin
1831.50Schristos#pseudo-device	raid			# RAIDframe disk driver
1841.1Sshin#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1851.1Sshin
1861.1Sshin# for IPv6
1871.32Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1881.32Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1891.33Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
1901.1Sshin
1911.1Sshin## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
1921.1Sshinpseudo-device	vlan
193