204 lines
6.8 KiB
Plaintext
204 lines
6.8 KiB
Plaintext
#
|
|
# $NetBSD: LROUTER,v 1.44 2011/03/06 17:08:25 bouyer Exp $
|
|
# From: NetBSD: MPC303,v 1.4 2001/11/21 11:28:09 uch Exp
|
|
#
|
|
# Kernel configuration file for LASER5 L-Router
|
|
#
|
|
|
|
include "arch/hpcmips/conf/std.hpcmips"
|
|
|
|
#options INCLUDE_CONFIG_FILE # embed config file in kernel binary
|
|
|
|
maxusers 32
|
|
|
|
options MIPS3 # R4000/R4400/R4600 CPUs
|
|
|
|
# Support for specific models of H/PC MIPS
|
|
makeoptions CPUFLAGS="-mips3" # CPU codegen options
|
|
options MIPS3_4100 # VR4100 core
|
|
options VR41XX # NEC VR41xx series
|
|
options VR4122 # NEC VR4122
|
|
|
|
# Standard system options
|
|
options DDB # in-kernel debugger
|
|
#options DDB_ONPANIC=0 # don't enter debugger on panic
|
|
#options KGDB # remote debugger
|
|
options DIAGNOSTIC # extra kernel debugging checks
|
|
#options DEBUG # extra kernel debugging support
|
|
#options VRGIUDEBUG_CONF=2 # debug GIU intr
|
|
options KTRACE # system call tracing support
|
|
options MSGBUFSIZE=16384 # dmesg buffer size
|
|
options USERCONF # userconf(4) support
|
|
#options PIPE_SOCKETPAIR # smaller, but slower pipe(2)
|
|
#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel
|
|
|
|
## UVM options.
|
|
#options UVM_PAGE_TRKOWN
|
|
#options UVMHIST
|
|
#options UVMHIST_PRINT # Loud!
|
|
|
|
#options SCSIVERBOSE # human readable SCSI error messages
|
|
|
|
options EPOCHYEAR=1970
|
|
|
|
#options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT
|
|
#options RTC_OFFSET=-540 # JST-9
|
|
#options RTC_OFFSET=480 # PST8
|
|
# In NO RTC_OFFSET , inherit RTC_OFFSET
|
|
# from Windows CE.
|
|
options NTP # network time protocol
|
|
|
|
#options WINCE_DEFAULT_SETTING # Debugging use
|
|
#options DUMP_GIU_LEVEL2_INTR # Debugging use
|
|
|
|
#options SYSCALL_DEBUG # for debug
|
|
|
|
#options VRRTCDEBUG
|
|
#options VRRTCDEBUG_CONF=1
|
|
|
|
# Filesystem options
|
|
file-system FFS # fast filesystem with user and group quotas
|
|
#file-system EXT2FS # second extended file system (linux)
|
|
file-system MFS # memory-based filesystem
|
|
file-system NFS # Sun NFS-compatible filesystem (client)
|
|
#file-system LFS # Log-based filesystem (still experimental)
|
|
file-system CD9660 # ISO 9660 + Rock Ridge file system
|
|
file-system MSDOSFS # MS-DOS file system
|
|
#file-system FDESC # /dev/fd
|
|
file-system KERNFS # /kern (kernel informational filesystem)
|
|
#file-system NULLFS # loopback file system
|
|
#file-system OVERLAY # overlay file system
|
|
file-system PROCFS # /proc
|
|
#file-system UMAPFS # NULLFS + uid and gid remapping
|
|
file-system UNION
|
|
file-system PTYFS # /dev/pts/N support
|
|
|
|
options NFSSERVER # Sun NFS-compatible filesystem (server)
|
|
options WAPBL # File system journaling support - Experimental
|
|
#options QUOTA # legacy UFS quotas
|
|
#options QUOTA2 # new, in-filesystem UFS quotas
|
|
#options FFS_NO_SNAPSHOT # No FFS snapshot support
|
|
|
|
# Networking options
|
|
#options GATEWAY # IP packet forwarding
|
|
options INET # IP + ICMP + TCP + UDP
|
|
options INET6 # IPV6
|
|
#options IPSEC # IP security
|
|
#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC)
|
|
#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T)
|
|
#options IPSEC_DEBUG # debug for IP security
|
|
#options MROUTING # Multicast routing support
|
|
#options PIM # Protocol Independent Multicast
|
|
#options ISO # OSI networking
|
|
#options TPIP # TPIP
|
|
#options EON # OSI tunneling over IP
|
|
options PFIL_HOOKS # pfil(9) packet filter hooks
|
|
options IPFILTER_LOG # ipmon(8) log support
|
|
options IPFILTER_LOOKUP # ippool(8) support
|
|
options IPFILTER_COMPAT # Compat for IP-Filter
|
|
#options IPFILTER_DEFAULT_BLOCK # block all packets by default
|
|
|
|
# NetBSD backwards compatibility
|
|
options COMPAT_43
|
|
options COMPAT_16
|
|
options COMPAT_20
|
|
options COMPAT_30 # NetBSD 3.0 compatibility.
|
|
options COMPAT_40 # NetBSD 4.0 compatibility.
|
|
options COMPAT_BSDPTY # /dev/[pt]ty?? ptys.
|
|
|
|
options NFS_BOOT_DHCP
|
|
|
|
# compile options
|
|
#makeoptions DEFGP="-G 14"
|
|
|
|
config netbsd root on ? type ?
|
|
config nfsnetbsd root on ? type nfs
|
|
|
|
|
|
# temporally power management
|
|
hpcapm0 at mainbus0 # power management
|
|
apmdev0 at hpcapm0 # APM
|
|
|
|
vrip* at mainbus0
|
|
vrbcu* at vrip? addr 0x0f000000 size 0x20
|
|
vrcmu* at vrip? addr 0x0f000060 size 0x20
|
|
vrrtc* at vrip? addr 0x0f000100 size 0x20 unit VRRTC
|
|
|
|
options CONSPEED=115200
|
|
com* at vrip? addr 0x0f000800 size 0x20 unit VRSIU pwctl PWCTL_COM0
|
|
vrgiu* at vrip? addr 0x0f000140 size 0x20 unit VRGIU
|
|
vrpmu* at vrip? addr 0x0f0000c0 size 0x20 unit VRPMU # power switch
|
|
#vrpiu* at vrip? addr 0x0b000120 size 0x1a0 unit VRPIU
|
|
#vrled* at vrip? addr 0x0f000180 size 0x10 unit VRLED
|
|
vrpciu* at vrip? addr 0x0f000c00 size 0x200 unit VRPCIU
|
|
|
|
hpcioman0 at vrgiu? platform LASER5_L_BOARD
|
|
# bus 0, device 0, function 0 i82559 #0 LAN(eth0)
|
|
hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_00_00 port 12 level 0 hold 0 connect 1
|
|
# bus 0, device 1, function 0 i82559 #1 LAN(eth1)
|
|
hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_01_00 port 13 level 0 hold 0 connect 1
|
|
# bus 0, device 16, function 0 M1543C/M5229 (IDE controller)
|
|
hpcin* at hpcioman0 evtype PCIINTR id PCIINTR_00_16_00 port 11 level 1 hold 0 connect 1
|
|
|
|
# PCI bus support
|
|
#options MIIVERBOSE # verbose PHY autoconfig messages
|
|
options PCIVERBOSE
|
|
pci* at vrpciu?
|
|
|
|
# PCI network interfaces
|
|
fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B
|
|
|
|
# MII/PHY support
|
|
inphy* at mii? phy ? # Intel 82555 PHYs
|
|
|
|
# IDE and related devices
|
|
aceride* at pci? dev ? function ? # Acer Lab IDE controllers
|
|
|
|
# ATA (IDE) bus support
|
|
atabus* at ata?
|
|
|
|
# IDE drives
|
|
#wd* at atabus? drive ? flags 0x0ffa # PIO mode 2
|
|
wd* at atabus? drive ? flags 0x0ffb # PIO mode 3
|
|
#wd* at atabus? drive ? flags 0x0ff0 # PIO mode 4
|
|
#wd* at atabus? drive ? flags 0x0000 # UDMA mode 2
|
|
|
|
# ATAPI bus support
|
|
atapibus* at atapi?
|
|
|
|
# ATAPI devices
|
|
cd* at atapibus? drive ? flags 0x0ff0 # ATAPI CD-ROM drives
|
|
sd* at atapibus? drive ? flags 0x0ff0 # ATAPI disk drives
|
|
st* at atapibus? drive ? flags 0x0ff0 # ATAPI tape drives
|
|
|
|
pseudo-device loop 1 # network loopback
|
|
pseudo-device ppp # serial-line IP ports
|
|
pseudo-device pty # pseudo-terminals
|
|
pseudo-device bpfilter # packet filter ports
|
|
pseudo-device ipfilter # IP filter, NAT
|
|
|
|
pseudo-device vnd # virtual disk ick
|
|
#pseudo-device ccd 4 # concatenated disks
|
|
#pseudo-device fss # file system snapshot device
|
|
pseudo-device rnd # /dev/random and in-kernel generator
|
|
pseudo-device clockctl # user control of clock subsystem
|
|
|
|
#pseudo-device biconsdev 1 # build-in console device
|
|
#pseudo-device wsmux # mouse & keyboard multiplexor
|
|
#options MEMORY_DISK_HOOKS
|
|
#options MEMORY_DISK_IS_ROOT # force root on memory disk
|
|
#options MEMORY_DISK_SERVER=0 # no userspace memory disk support
|
|
#options MEMORY_DISK_DYNAMIC # fs image don't exist in data section.
|
|
pseudo-device md # memory disk device (ramdisk)
|
|
|
|
#pseudo-device raid 4 # RAIDframe disk driver
|
|
#options RAID_AUTOCONFIG # auto-configuration of RAID components
|
|
|
|
# for IPv6
|
|
pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933)
|
|
#pseudo-device faith # IPv[46] tcp relay translation i/f
|
|
pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation
|
|
|
|
## IEEE 802.1Q Virtual LAN encapsulation, see vlan(4).
|
|
pseudo-device vlan
|