NET4501 revision 1.86
11.86Sdholland# $NetBSD: NET4501,v 1.86 2014/08/23 20:26:58 dholland Exp $ 21.1Sthorpej# 31.1Sthorpej# NET4501 -- kernel configuration for a Soekris Engineering net4501 41.1Sthorpej# single-board computer. 51.1Sthorpej# 61.1Sthorpej# http://www.soekris.com/ 71.76Sryo# 81.1Sthorpej 91.1Sthorpejinclude "arch/i386/conf/std.i386" 101.1Sthorpej 111.6Satatat#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 121.6Satatat 131.86Sdholland#ident "NET4501-$Revision: 1.86 $" 141.1Sthorpej 151.1Sthorpejmaxusers 32 # estimated number of users 161.1Sthorpej 171.15Sthorpej# AMD Elan SC520's timer runs at a different frequency 181.15Sthorpejoptions TIMER_FREQ=1189200 191.3Sthorpej 201.76Sryomakeoptions COPTS="-Os" 211.1Sthorpej 221.1Sthorpej# CPU-related options. 231.1Sthorpej#options VM86 # virtual 8086 emulation 241.1Sthorpej#options USER_LDT # user-settable LDT; used by WINE 251.1Sthorpej 261.1Sthorpej#options MTRR # memory-type range register syscall support 271.7Sgmcgarry#options PERFCTRS # performance-monitoring counters support 281.1Sthorpej 291.1Sthorpej# delay between "rebooting ..." message and hardware reset, in milliseconds 301.1Sthorpej#options CPURESET_DELAY=2000 311.1Sthorpej 321.1Sthorpej# This option allows you to force a serial console at the specified 331.1Sthorpej# I/O address. see console(4) for details. 341.1Sthorpej#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 351.1Sthorpej# you don't want the option below ON iff you are using the 361.1Sthorpej# serial console option of the new boot strap code. 371.1Sthorpej#options CONS_OVERRIDE # Always use above! independent of boot info 381.1Sthorpej 391.1Sthorpej# The following options override the memory sizes passed in from the boot 401.1Sthorpej# block. Use them *only* if the boot block is unable to determine the correct 411.1Sthorpej# values. Note that the BIOS may *correctly* report less than 640k of base 421.1Sthorpej# memory if the extended BIOS data area is located at the top of base memory 431.1Sthorpej# (as is the case on most recent systems). 441.1Sthorpej#options REALBASEMEM=639 # size of base memory (in KB) 451.1Sthorpej#options REALEXTMEM=15360 # size of extended memory (in KB) 461.1Sthorpej 471.1Sthorpej# Standard system options 481.1Sthorpej 491.1Sthorpejoptions INSECURE # disable kernel security levels 501.1Sthorpej 511.1Sthorpejoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 521.1Sthorpejoptions NTP # NTP phase/frequency locked loop 531.1Sthorpej 541.1Sthorpejoptions KTRACE # system call tracing via ktrace(1) 551.1Sthorpej 561.1Sthorpejoptions SYSVMSG # System V-like message queues 571.1Sthorpejoptions SYSVSEM # System V-like semaphores 581.1Sthorpej#options SEMMNI=10 # number of semaphore identifiers 591.1Sthorpej#options SEMMNS=60 # number of semaphores in system 601.1Sthorpej#options SEMUME=10 # max number of undo entries per process 611.1Sthorpej#options SEMMNU=30 # number of undo structures in system 621.1Sthorpejoptions SYSVSHM # System V-like memory sharing 631.1Sthorpej 641.16Slukemoptions USERCONF # userconf(4) support 651.1Sthorpej#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 661.26Satatat#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 671.1Sthorpej 681.1Sthorpej# Diagnostic/debugging support options 691.85Sdholland#options DIAGNOSTIC # inexpensive kernel consistency checks 701.1Sthorpej#options DEBUG # expensive debugging checks/support 711.1Sthorpej#options KMEMSTATS # kernel memory statistics (vmstat -m) 721.1Sthorpejoptions DDB # in-kernel debugger 731.84Sszptvlfn#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 741.1Sthorpejoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 751.1Sthorpej#options KGDB # remote debugger 761.1Sthorpej#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 771.76Sryo#makeoptions DEBUG="-g" # compile full symbol table 781.1Sthorpej 791.1Sthorpej# Compatibility options 801.19Sabsoptions COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 811.86Sdhollandoptions COMPAT_09 # NetBSD 0.9, 821.86Sdhollandoptions COMPAT_10 # NetBSD 1.0, 831.86Sdhollandoptions COMPAT_11 # NetBSD 1.1, 841.86Sdhollandoptions COMPAT_12 # NetBSD 1.2 (and 386BSD and BSDI), 851.86Sdhollandoptions COMPAT_13 # NetBSD 1.3 (and 386BSD and BSDI), 861.86Sdhollandoptions COMPAT_14 # NetBSD 1.4, 871.86Sdhollandoptions COMPAT_15 # NetBSD 1.5, 881.86Sdhollandoptions COMPAT_16 # NetBSD 1.6, 891.86Sdhollandoptions COMPAT_20 # NetBSD 2.0, 901.86Sdhollandoptions COMPAT_30 # NetBSD 3.0, and 911.86Sdhollandoptions COMPAT_40 # NetBSD 4.0 binary compatibility. 921.86Sdhollandoptions COMPAT_43 # 4.3BSD, 386BSD, and BSDI compatibility. 931.1Sthorpejoptions COMPAT_386BSD_MBRPART # recognize old partition ID 941.1Sthorpej#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 951.1Sthorpej 961.1Sthorpej#options COMPAT_SVR4 # binary compatibility with SVR4 971.1Sthorpej#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 981.1Sthorpej#options COMPAT_LINUX # binary compatibility with Linux 991.1Sthorpej#options COMPAT_FREEBSD # binary compatibility with FreeBSD 1001.59Smarttioptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1011.1Sthorpej 1021.1Sthorpej# File systems 1031.71Sdhollandfile-system FFS # UFS 1041.71Sdholland#file-system EXT2FS # second extended file system (linux) 1051.71Sdholland#file-system LFS # log-structured file system 1061.71Sdhollandfile-system MFS # memory file system 1071.71Sdhollandfile-system NFS # Network File System client 1081.71Sdholland#file-system NTFS # Windows/NT file system (experimental) 1091.71Sdholland#file-system CD9660 # ISO 9660 + Rock Ridge file system 1101.71Sdholland#file-system MSDOSFS # MS-DOS file system 1111.71Sdhollandfile-system FDESC # /dev/fd 1121.71Sdhollandfile-system KERNFS # /kern 1131.71Sdholland#file-system NULLFS # loopback file system 1141.71Sdholland#file-system OVERLAY # overlay file system 1151.71Sdhollandfile-system PROCFS # /proc 1161.71Sdholland#file-system UMAPFS # NULLFS + uid and gid remapping 1171.71Sdholland#file-system UNION # union file system 1181.71Sdholland#file-system CODA # Coda File System; also needs vcoda (below) 1191.71Sdhollandfile-system PTYFS # /dev/pts/N support 1201.71Sdholland#file-system TMPFS # Efficient memory file-system 1211.1Sthorpej 1221.1Sthorpej# File system options 1231.73Sbouyer#options QUOTA # legacy UFS quotas 1241.73Sbouyer#options QUOTA2 # new, in-filesystem UFS quotas 1251.1Sthorpej#options FFS_EI # FFS Endian Independent support 1261.43Stsutsui#options FFS_NO_SNAPSHOT # No FFS snapshot support 1271.1Sthorpej#options NFSSERVER # Network File System server 1281.1Sthorpej#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1291.1Sthorpej # immutable) behave as system flags. 1301.1Sthorpej 1311.1Sthorpej# Networking options 1321.2Sthorpejoptions GATEWAY # packet forwarding 1331.1Sthorpejoptions INET # IP + ICMP + TCP + UDP 1341.70Sdhollandoptions INET6 # IPv6 1351.1Sthorpej#options IPSEC # IP security 1361.1Sthorpej#options IPSEC_DEBUG # debug for IP security 1371.1Sthorpejoptions MROUTING # IP multicast routing 1381.27Smanuoptions PIM # Protocol Independent Multicast 1391.1Sthorpej#options NETATALK # AppleTalk networking protocols 1401.1Sthorpej#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1411.1Sthorpej#options PPP_DEFLATE # Deflate compression support for PPP 1421.1Sthorpej#options PPP_FILTER # Active filter support for PPP (requires bpf) 1431.1Sthorpej#options IPFILTER_LOG # ipmon(8) log support 1441.50Schristos#options IPFILTER_LOOKUP # ippool(8) support 1451.1Sthorpej#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1461.1Sthorpej 1471.1Sthorpej# These options enable verbose messages for several subsystems. 1481.1Sthorpej# Warning, these may compile large string tables into the kernel! 1491.1Sthorpej#options MIIVERBOSE # verbose PHY autoconfig messages 1501.1Sthorpej#options PCIVERBOSE # verbose PCI device autoconfig messages 1511.1Sthorpej#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1521.1Sthorpej 1531.1Sthorpejoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1541.1Sthorpej 1551.1Sthorpej# Kernel root file system and dump configuration. 1561.1Sthorpejconfig netbsd root on ? type ? 1571.1Sthorpej#config netbsd root on sd0a type ffs 1581.1Sthorpej#config netbsd root on ? type nfs 1591.1Sthorpej 1601.1Sthorpej# 1611.1Sthorpej# Device configuration 1621.1Sthorpej# 1631.1Sthorpej 1641.1Sthorpej# Basic Bus Support 1651.1Sthorpej 1661.1Sthorpej# PCI bus support 1671.61Sdyoungpci* at elansc? bus ? 1681.1Sthorpej 1691.1Sthorpej# Configure PCI using BIOS information 1701.1Sthorpej#options PCIBIOS # PCI BIOS support 1711.1Sthorpej#options PCIBIOSVERBOSE # PCI BIOS verbose info 1721.34Ssekiya#options PCI_ADDR_FIXUP # fixup PCI I/O addresses 1731.34Ssekiya#options PCI_BUS_FIXUP # fixup PCI bus numbering 1741.34Ssekiya#options PCI_INTR_FIXUP # fixup PCI interrupt routing 1751.1Sthorpej#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 1761.1Sthorpej#options PCIBIOS_INTR_GUESS # see pcibios(4) 1771.1Sthorpej#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 1781.1Sthorpej 1791.1Sthorpej# PCI bridges 1801.71Sdhollandelansc* at mainbus? bus ? # Elan SC520 System Controller 1811.66Sdyoung#elanpar* at elansc? # Programmable Address Regions 1821.66Sdyoung#elanpex* at elansc? # PCI Exception Instrumentation 1831.76Sryogpio* at elansc? 1841.48Sriz#gpioow* at gpio? offset 6 mask 0x1 # 1-wire bus bitbanging via gpio 1851.48Sriz#onewire* at gpioow? 1861.48Sriz 1871.48Sriz# 1-Wire devices 1881.48Sriz#owtemp* at onewire? # Temperature sensors 1891.1Sthorpej 1901.1Sthorpej# ISA bus support 1911.1Sthorpejisa0 at mainbus? 1921.1Sthorpej 1931.13Sitojun# CardBus bridge support 1941.13Sitojuncbb* at pci? dev ? function ? 1951.13Sitojuncardslot* at cbb? 1961.13Sitojun 1971.13Sitojun# CardBus bus support 1981.13Sitojuncardbus* at cardslot? 1991.13Sitojunpcmcia* at cardslot? 2001.22Sdyoung 2011.22Sdyoung# Cardbus NICs 2021.40Sdrochnerath* at cardbus? function ? # Atheros 5210/5211/5212 802.11 2031.40Sdrochneratw* at cardbus? function ? # ADMtek ADM8211 (802.11) 2041.66Sdyoungral* at cardbus? function ? # Ralink RT2x60 (802.11) 2051.66Sdyoungrtw* at cardbus? function ? # Realtek RTL8180 (802.11) 2061.13Sitojun 2071.1Sthorpej# ISA serial interfaces 2081.1Sthorpejcom0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 2091.1Sthorpejcom1 at isa? port 0x2f8 irq 3 2101.1Sthorpej 2111.1Sthorpej# IDE and related devices 2121.1Sthorpej 2131.24Scube# ATA (IDE) bus support 2141.71Sdhollandatabus* at ata? 2151.24Scube 2161.1Sthorpej# ISA ST506, ESDI, and IDE controllers 2171.1Sthorpej# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 2181.1Sthorpej# fall back to 16bits I/O if 32bits I/O are not functional). 2191.1Sthorpej# Some controllers pass the initial 32bit test, but will fail later. 2201.1Sthorpejwdc0 at isa? port 0x1f0 irq 14 flags 0x00 2211.1Sthorpej 2221.1Sthorpej# IDE drives 2231.1Sthorpej# Flags are used only with controllers that support DMA operations 2241.1Sthorpej# and mode settings (e.g. some pciide controllers) 2251.1Sthorpej# The lowest order four bits (rightmost digit) of the flags define the PIO 2261.1Sthorpej# mode to use, the next set of four bits the DMA mode and the third set the 2271.1Sthorpej# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2281.1Sthorpej# to use, and the last bit must be 1 for this setting to be used. 2291.1Sthorpej# For DMA and UDMA, 0xf (1111) means 'disable'. 2301.1Sthorpej# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2311.1Sthorpej# (0xc=1100, 0xa=1010, 0xf=1111) 2321.1Sthorpej# 0x0000 means "use whatever the drive claims to support". 2331.24Scubewd* at atabus? drive ? flags 0x0000 2341.1Sthorpej 2351.1Sthorpej# Network Interfaces 2361.1Sthorpej 2371.1Sthorpej# PCI network interfaces 2381.66Sdyoungath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11 2391.66Sdyoung#ipw* at pci? dev ? function ? # Intel PRO/Wireless 2100 2401.66Sdyoung#iwi* at pci? dev ? function ? # Intel PRO/Wireless 2200BG 2411.1Sthorpejsip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 2421.12Sthorpejwi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 2431.13Sitojun 2441.66Sdyoung# PCI crypto coprocessors 2451.66Sdyounghifn* at pci? dev ? function ? # Hifn 7755/7811/795x 2461.66Sdyoung 2471.13Sitojun# PCMCIA network interfaces 2481.66Sdyoungawi* at pcmcia? function ? 2491.70Sdhollandwi* at pcmcia? function ? # Lucent/Intersil WaveLAN/IEEE (802.11) 2501.1Sthorpej 2511.1Sthorpej# MII/PHY support 2521.71Sdhollandnsphyter* at mii? phy ? # NS83843 PHYs 2531.1Sthorpej 2541.1Sthorpej# Pseudo-Devices 2551.1Sthorpej 2561.66Sdyoungpseudo-device crypto # opencrypto framework 2571.66Sdyoung 2581.1Sthorpej# network pseudo-devices 2591.46Srpaulopseudo-device bpfilter # Berkeley packet filter 2601.1Sthorpejpseudo-device ipfilter # IP filter (firewall) and NAT 2611.1Sthorpejpseudo-device loop # network loopback 2621.64Sispseudo-device ppp # Point-to-Point Protocol 2631.64Sispseudo-device pppoe # PPP over Ethernet (RFC 2516) 2641.47Scube#pseudo-device sl # Serial Line IP 2651.47Scube#pseudo-device strip # Starmode Radio IP (Metricom) 2661.47Scubepseudo-device tun # network tunneling over tty 2671.64Sispseudo-device tap # virtual Ethernet 2681.64Sispseudo-device gre # generic L3 over IP tunnel 2691.70Sdhollandpseudo-device gif # IPv[46] over IPv[46] tunnel (RFC 1933) 2701.70Sdhollandpseudo-device faith # IPv[46] TCP relay translation i/f 2711.47Scubepseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2721.1Sthorpejpseudo-device vlan # IEEE 802.1q encapsulation 2731.1Sthorpejpseudo-device bridge # simple inter-network bridging 2741.1Sthorpej 2751.1Sthorpej# miscellaneous pseudo-devices 2761.1Sthorpejpseudo-device pty # pseudo-terminals 2771.80Schristos#pseudo-device sequencer # MIDI sequencer 2781.1Sthorpej# rnd works; RND_COM does not on port i386 yet. 2791.1Sthorpej#options RND_COM # use "com" randomness as well (BROKEN) 2801.8Slukempseudo-device clockctl # user control of clock subsystem 2811.72Spooka#pseudo-device fss # file system snapshot device 282