LROUTER revision 1.43
11.1Sshin#
21.43Shannken# 	$NetBSD: LROUTER,v 1.43 2010/11/23 11:13:59 hannken 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.1Sshininclude		"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.1Sshin#options 	DDB_ONPANIC=0		# don't enter debugger on panic
251.1Sshin#options 	KGDB			# remote debugger
261.1Sshinoptions 	DIAGNOSTIC		# extra kernel debugging checks
271.1Sshin#options 	DEBUG			# extra kernel debugging support
281.1Sshin#options 	VRGIUDEBUG_CONF=2	# debug GIU intr
291.1Sshinoptions 	KTRACE			# system call tracing support
301.1Sshinoptions 	MSGBUFSIZE=16384	# dmesg buffer size
311.8Slukemoptions 	USERCONF		# userconf(4) support
321.3Sjdolecek#options	PIPE_SOCKETPAIR		# smaller, but slower pipe(2)
331.19Satatat#options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
341.1Sshin
351.1Sshin## UVM options.
361.1Sshin#options 	UVM_PAGE_TRKOWN
371.1Sshin#options 	UVMHIST
381.1Sshin#options 	UVMHIST_PRINT	# Loud!
391.1Sshin
401.1Sshin#options 	SCSIVERBOSE		# human readable SCSI error messages
411.1Sshin
421.1Sshinoptions 	EPOCHYEAR=1970
431.1Sshin
441.1Sshin#options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
451.1Sshin#options 	RTC_OFFSET=-540		# JST-9
461.1Sshin#options 	RTC_OFFSET=480		# PST8
471.1Sshin					# In NO RTC_OFFSET , inherit RTC_OFFSET
481.1Sshin					# from Windows CE.
491.1Sshinoptions 	NTP			# network time protocol
501.1Sshin
511.1Sshin#options 	WINCE_DEFAULT_SETTING	# Debugging use
521.1Sshin#options 	DUMP_GIU_LEVEL2_INTR	# Debugging use
531.1Sshin
541.1Sshin#options 	SYSCALL_DEBUG		# for debug
551.1Sshin
561.1Sshin#options 	VRRTCDEBUG
571.1Sshin#options 	VRRTCDEBUG_CONF=1
581.1Sshin
591.1Sshin# Filesystem options
601.1Sshinfile-system 	FFS		# fast filesystem with user and group quotas
611.1Sshin#file-system 	EXT2FS		# second extended file system (linux)
621.1Sshinfile-system 	MFS		# memory-based filesystem
631.1Sshinfile-system 	NFS		# Sun NFS-compatible filesystem (client)
641.1Sshin#file-system	LFS		# Log-based filesystem (still experimental)
651.1Sshinfile-system 	CD9660		# ISO 9660 + Rock Ridge file system
661.1Sshinfile-system 	MSDOSFS		# MS-DOS file system
671.1Sshin#file-system 	FDESC		# /dev/fd
681.1Sshinfile-system 	KERNFS		# /kern (kernel informational filesystem)
691.1Sshin#file-system 	NULLFS		# loopback file system
701.1Sshin#file-system 	OVERLAY		# overlay file system
711.1Sshinfile-system 	PROCFS		# /proc
721.1Sshin#file-system 	UMAPFS		# NULLFS + uid and gid remapping
731.1Sshinfile-system 	UNION
741.28Schristosfile-system	PTYFS		# /dev/pts/N support
751.1Sshin
761.1Sshinoptions 	NFSSERVER	# Sun NFS-compatible filesystem (server)
771.38Ssimonboptions 	WAPBL		# File system journaling support - Experimental
781.1Sshin#options 	QUOTA		# UFS quotas
791.29Stsutsui#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
801.1Sshin
811.1Sshin# Networking options
821.1Sshin#options 	GATEWAY		# IP packet forwarding
831.1Sshinoptions 	INET		# IP + ICMP + TCP + UDP
841.1Sshinoptions 	INET6		# IPV6
851.1Sshin#options 	IPSEC		# IP security
861.1Sshin#options 	IPSEC_ESP	# IP security (encryption part; define w/ IPSEC)
871.25Stron#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
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#options 	ISO		# OSI networking
921.1Sshin#options 	TPIP		# TPIP
931.1Sshin#options 	EON		# OSI tunneling over IP
941.42Smrgoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
951.42Smrgoptions 	IPFILTER_LOG	# ipmon(8) log support
961.42Smrgoptions 	IPFILTER_LOOKUP	# ippool(8) support
971.42Smrgoptions 	IPFILTER_COMPAT # Compat for IP-Filter
981.42Smrg#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
991.1Sshin
1001.1Sshin# NetBSD backwards compatibility
1011.1Sshinoptions 	COMPAT_43
1021.36Stsutsuioptions 	COMPAT_16
1031.36Stsutsuioptions 	COMPAT_20
1041.36Stsutsuioptions 	COMPAT_30	# NetBSD 3.0 compatibility.
1051.37Stsutsuioptions 	COMPAT_40	# NetBSD 4.0 compatibility.
1061.21Schristosoptions		COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
1071.1Sshin
1081.1Sshinoptions 	NFS_BOOT_DHCP
1091.2Stakemura
1101.2Stakemura# compile options
1111.9Sshin#makeoptions	DEFGP="-G 14"
1121.1Sshin
1131.1Sshinconfig		netbsd		root on ? type ?
1141.1Sshinconfig		nfsnetbsd	root on ? type nfs
1151.1Sshin
1161.1Sshin
1171.1Sshin# temporally power management
1181.1Sshinhpcapm0	at mainbus0			# power management
1191.1Sshinapmdev0	at hpcapm0			# APM
1201.1Sshin
1211.1Sshinvrip*	at mainbus0
1221.1Sshinvrbcu*	at vrip? addr 0x0f000000 size 0x20
1231.1Sshinvrcmu*	at vrip? addr 0x0f000060 size 0x20
1241.4Stakemuravrrtc*	at vrip? addr 0x0f000100 size 0x20 unit VRRTC
1251.1Sshin
1261.1Sshinoptions 	CONSPEED=115200
1271.4Stakemuracom*	at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
1281.4Stakemuravrgiu*	at vrip? addr 0x0f000140 size 0x20 unit VRGIU
1291.4Stakemuravrpmu*	at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
1301.4Stakemura#vrpiu*	at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
1311.4Stakemura#vrled*	at vrip? addr 0x0f000180 size 0x10 unit VRLED
1321.4Stakemuravrpciu*	at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
1331.1Sshin
1341.1Sshinhpcioman0 at vrgiu? platform LASER5_L_BOARD
1351.1Sshin# bus 0, device 0, function 0	i82559 #0 LAN(eth0)
1361.1Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
1371.1Sshin# bus 0, device 1, function 0	i82559 #1 LAN(eth1)
1381.1Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
1391.1Sshin# bus 0, device 16, function 0	M1543C/M5229 (IDE controller)
1401.1Sshinhpcin*	at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
1411.1Sshin
1421.1Sshin# PCI bus support
1431.1Sshin#options 	MIIVERBOSE	# verbose PHY autoconfig messages
1441.1Sshinoptions 	PCIVERBOSE
1451.1Sshinpci*	at vrpciu?
1461.1Sshin
1471.1Sshin# PCI network interfaces
1481.1Sshinfxp*	at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
1491.1Sshin
1501.1Sshin# MII/PHY support
1511.1Sshininphy*	at mii? phy ?			# Intel 82555 PHYs
1521.1Sshin
1531.1Sshin# IDE and related devices
1541.12Sbouyeraceride* at pci? dev ? function ?	# Acer Lab IDE controllers
1551.13Slukem
1561.13Slukem# ATA (IDE) bus support
1571.13Slukematabus* at ata?
1581.1Sshin
1591.1Sshin# IDE drives
1601.11Sbouyer#wd*	at atabus? drive ? flags 0x0ffa	# PIO mode 2
1611.11Sbouyerwd*	at atabus? drive ? flags 0x0ffb	# PIO mode 3
1621.11Sbouyer#wd*	at atabus? drive ? flags 0x0ff0	# PIO mode 4
1631.11Sbouyer#wd*	at atabus? drive ? flags 0x0000	# UDMA mode 2
1641.1Sshin
1651.1Sshin# ATAPI bus support
1661.13Slukematapibus* at atapi?
1671.1Sshin
1681.1Sshin# ATAPI devices
1691.1Sshincd*	at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
1701.1Sshinsd*	at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
1711.1Sshinst*	at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
1721.1Sshin
1731.1Sshinpseudo-device	loop		1	# network loopback
1741.32Scubepseudo-device	ppp			# serial-line IP ports
1751.1Sshinpseudo-device	pty			# pseudo-terminals
1761.31Srpaulopseudo-device	bpfilter		# packet filter ports
1771.1Sshinpseudo-device	ipfilter		# IP filter, NAT
1781.1Sshin
1791.32Scubepseudo-device	vnd			# virtual disk ick
1801.1Sshin#pseudo-device	ccd		4	# concatenated disks
1811.41Spooka#pseudo-device	fss			# file system snapshot device
1821.1Sshinpseudo-device	rnd			# /dev/random and in-kernel generator
1831.7Slukempseudo-device	clockctl		# user control of clock subsystem
1841.1Sshin
1851.1Sshin#pseudo-device	biconsdev	1	# build-in console device
1861.1Sshin#pseudo-device	wsmux			# mouse & keyboard multiplexor
1871.1Sshin#options 	MEMORY_DISK_HOOKS
1881.1Sshin#options 	MEMORY_DISK_IS_ROOT	# force root on memory disk
1891.1Sshin#options 	MEMORY_DISK_SERVER=0	# no userspace memory disk support
1901.1Sshin#options 	MEMORY_DISK_DYNAMIC	# fs image don't exist in data section.
1911.43Shannkenpseudo-device	md			# memory disk device (ramdisk)
1921.1Sshin
1931.1Sshin#pseudo-device	raid		4	# RAIDframe disk driver
1941.1Sshin#options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
1951.1Sshin
1961.1Sshin# for IPv6
1971.32Scubepseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
1981.32Scube#pseudo-device	faith			# IPv[46] tcp relay translation i/f
1991.33Spavelpseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
2001.1Sshin
2011.1Sshin## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
2021.1Sshinpseudo-device	vlan
203