NET4501 revision 1.5
11.5Sgmcgarry# $NetBSD: NET4501,v 1.5 2002/04/12 08:11:04 gmcgarry 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.1Sthorpej# 81.1Sthorpej 91.1Sthorpejinclude "arch/i386/conf/std.i386" 101.1Sthorpej 111.5Sgmcgarry#ident "NET4501-$Revision: 1.5 $" 121.1Sthorpej 131.1Sthorpejmaxusers 32 # estimated number of users 141.1Sthorpej 151.1Sthorpej# CPU support. At least one is REQUIRED. 161.1Sthorpej#options I386_CPU 171.1Sthorpejoptions I486_CPU 181.1Sthorpej#options I586_CPU 191.1Sthorpej#options I686_CPU 201.3Sthorpej 211.3Sthorpejmakeoptions COPTS="-Os -mcpu=i486" 221.3Sthorpejoptions VNODE_OP_NOINLINE 231.1Sthorpej 241.1Sthorpej# CPU-related options. 251.1Sthorpej#options MATH_EMULATE # floating point emulation 261.1Sthorpej#options VM86 # virtual 8086 emulation 271.1Sthorpej#options USER_LDT # user-settable LDT; used by WINE 281.1Sthorpej# eliminate delay no-ops in I/O; recommended on all but very old machines 291.1Sthorpejoptions DUMMY_NOPS 301.1Sthorpej 311.1Sthorpej#options MTRR # memory-type range register syscall support 321.1Sthorpej 331.1Sthorpej# delay between "rebooting ..." message and hardware reset, in milliseconds 341.1Sthorpej#options CPURESET_DELAY=2000 351.1Sthorpej 361.1Sthorpej# This option allows you to force a serial console at the specified 371.1Sthorpej# I/O address. see console(4) for details. 381.1Sthorpej#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 391.1Sthorpej# you don't want the option below ON iff you are using the 401.1Sthorpej# serial console option of the new boot strap code. 411.1Sthorpej#options CONS_OVERRIDE # Always use above! independent of boot info 421.1Sthorpej 431.1Sthorpej# The following options override the memory sizes passed in from the boot 441.1Sthorpej# block. Use them *only* if the boot block is unable to determine the correct 451.1Sthorpej# values. Note that the BIOS may *correctly* report less than 640k of base 461.1Sthorpej# memory if the extended BIOS data area is located at the top of base memory 471.1Sthorpej# (as is the case on most recent systems). 481.1Sthorpej#options REALBASEMEM=639 # size of base memory (in KB) 491.1Sthorpej#options REALEXTMEM=15360 # size of extended memory (in KB) 501.1Sthorpej 511.1Sthorpej# Standard system options 521.1Sthorpej 531.1Sthorpejoptions UCONSOLE # users can use TIOCCONS (for xconsole) 541.1Sthorpejoptions INSECURE # disable kernel security levels 551.1Sthorpej 561.1Sthorpejoptions RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 571.1Sthorpejoptions NTP # NTP phase/frequency locked loop 581.1Sthorpej 591.1Sthorpejoptions KTRACE # system call tracing via ktrace(1) 601.1Sthorpej 611.1Sthorpejoptions SYSVMSG # System V-like message queues 621.1Sthorpejoptions SYSVSEM # System V-like semaphores 631.1Sthorpej#options SEMMNI=10 # number of semaphore identifiers 641.1Sthorpej#options SEMMNS=60 # number of semaphores in system 651.1Sthorpej#options SEMUME=10 # max number of undo entries per process 661.1Sthorpej#options SEMMNU=30 # number of undo structures in system 671.1Sthorpejoptions SYSVSHM # System V-like memory sharing 681.1Sthorpej#options SHMMAXPGS=1024 # 1024 pages is the default 691.1Sthorpej 701.1Sthorpejoptions LKM # loadable kernel modules 711.1Sthorpej 721.5Sgmcgarry#options USERCONF # userconf(4) support 731.1Sthorpej#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 741.1Sthorpej 751.1Sthorpej# Diagnostic/debugging support options 761.1Sthorpej#options DIAGNOSTIC # expensive kernel consistency checks 771.1Sthorpej#options DEBUG # expensive debugging checks/support 781.1Sthorpej#options KMEMSTATS # kernel memory statistics (vmstat -m) 791.1Sthorpejoptions DDB # in-kernel debugger 801.1Sthorpejoptions DDB_HISTORY_SIZE=512 # enable history editing in DDB 811.1Sthorpej#options KGDB # remote debugger 821.1Sthorpej#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 831.1Sthorpej#makeoptions DEBUG="-g" # compile full symbol table 841.1Sthorpej 851.1Sthorpej# Compatibility options 861.1Sthorpejoptions COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 871.1Sthorpejoptions COMPAT_09 # NetBSD 0.9, 881.1Sthorpejoptions COMPAT_10 # NetBSD 1.0, 891.1Sthorpejoptions COMPAT_11 # NetBSD 1.1, 901.1Sthorpejoptions COMPAT_12 # NetBSD 1.2, 911.1Sthorpejoptions COMPAT_13 # NetBSD 1.3, 921.1Sthorpejoptions COMPAT_14 # NetBSD 1.4, 931.1Sthorpejoptions COMPAT_15 # NetBSD 1.5, 941.1Sthorpejoptions COMPAT_43 # and 4.3BSD 951.1Sthorpejoptions COMPAT_386BSD_MBRPART # recognize old partition ID 961.1Sthorpej#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 971.1Sthorpej 981.1Sthorpej#options COMPAT_SVR4 # binary compatibility with SVR4 991.1Sthorpej#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 1001.1Sthorpej#options COMPAT_LINUX # binary compatibility with Linux 1011.1Sthorpej#options COMPAT_FREEBSD # binary compatibility with FreeBSD 1021.1Sthorpej#options COMPAT_MACH # binary compatibility with Mach binaries 1031.1Sthorpej#options EXEC_MACHO # exec MACH-O binaries 1041.1Sthorpej#options COMPAT_PECOFF # kernel support to run Win32 apps 1051.1Sthorpej 1061.1Sthorpej# File systems 1071.1Sthorpejfile-system FFS # UFS 1081.1Sthorpej#file-system EXT2FS # second extended file system (linux) 1091.1Sthorpej#file-system LFS # log-structured file system 1101.1Sthorpejfile-system MFS # memory file system 1111.1Sthorpejfile-system NFS # Network File System client 1121.1Sthorpej#file-system NTFS # Windows/NT file system (experimental) 1131.1Sthorpej#file-system CD9660 # ISO 9660 + Rock Ridge file system 1141.1Sthorpej#file-system MSDOSFS # MS-DOS file system 1151.1Sthorpejfile-system FDESC # /dev/fd 1161.1Sthorpejfile-system KERNFS # /kern 1171.1Sthorpej#file-system NULLFS # loopback file system 1181.1Sthorpej#file-system OVERLAY # overlay file system 1191.1Sthorpej#file-system PORTAL # portal filesystem (still experimental) 1201.1Sthorpejfile-system PROCFS # /proc 1211.1Sthorpej#file-system UMAPFS # NULLFS + uid and gid remapping 1221.1Sthorpej#file-system UNION # union file system 1231.1Sthorpej#file-system CODA # Coda File System; also needs vcoda (below) 1241.1Sthorpej 1251.1Sthorpej# File system options 1261.1Sthorpej#options QUOTA # UFS quotas 1271.1Sthorpej#options FFS_EI # FFS Endian Independent support 1281.1Sthorpejoptions SOFTDEP # FFS soft updates support. 1291.1Sthorpej#options NFSSERVER # Network File System server 1301.1Sthorpej#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 1311.1Sthorpej # immutable) behave as system flags. 1321.1Sthorpej 1331.1Sthorpej# Networking options 1341.2Sthorpejoptions GATEWAY # packet forwarding 1351.1Sthorpejoptions INET # IP + ICMP + TCP + UDP 1361.1Sthorpejoptions INET6 # IPV6 1371.1Sthorpej#options IPSEC # IP security 1381.1Sthorpej#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1391.1Sthorpej#options IPSEC_DEBUG # debug for IP security 1401.1Sthorpejoptions MROUTING # IP multicast routing 1411.1Sthorpej#options NS # XNS 1421.1Sthorpej#options NSIP # XNS tunneling over IP 1431.1Sthorpej#options ISO,TPIP # OSI 1441.1Sthorpej#options EON # OSI tunneling over IP 1451.1Sthorpej#options CCITT,LLC,HDLC # X.25 1461.1Sthorpej#options NETATALK # AppleTalk networking protocols 1471.1Sthorpej#options PPP_BSDCOMP # BSD-Compress compression support for PPP 1481.1Sthorpej#options PPP_DEFLATE # Deflate compression support for PPP 1491.1Sthorpej#options PPP_FILTER # Active filter support for PPP (requires bpf) 1501.1Sthorpejoptions PFIL_HOOKS # pfil(9) packet filter hooks 1511.1Sthorpej#options IPFILTER_LOG # ipmon(8) log support 1521.1Sthorpej#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1531.1Sthorpej 1541.1Sthorpej# These options enable verbose messages for several subsystems. 1551.1Sthorpej# Warning, these may compile large string tables into the kernel! 1561.1Sthorpej#options MIIVERBOSE # verbose PHY autoconfig messages 1571.1Sthorpej#options PCIVERBOSE # verbose PCI device autoconfig messages 1581.1Sthorpej#options PCI_CONFIG_DUMP # verbosely dump PCI config space 1591.1Sthorpej 1601.1Sthorpejoptions NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 1611.1Sthorpej 1621.1Sthorpej# Kernel root file system and dump configuration. 1631.1Sthorpejconfig netbsd root on ? type ? 1641.1Sthorpej#config netbsd root on sd0a type ffs 1651.1Sthorpej#config netbsd root on ? type nfs 1661.1Sthorpej 1671.1Sthorpej# 1681.1Sthorpej# Device configuration 1691.1Sthorpej# 1701.1Sthorpej 1711.1Sthorpejmainbus0 at root 1721.1Sthorpej 1731.1Sthorpej# Basic Bus Support 1741.1Sthorpej 1751.1Sthorpej# PCI bus support 1761.1Sthorpejpci* at mainbus? bus ? 1771.1Sthorpejpci* at pchb? bus ? 1781.1Sthorpej 1791.1Sthorpej# Configure PCI using BIOS information 1801.1Sthorpej#options PCIBIOS # PCI BIOS support 1811.1Sthorpej#options PCIBIOSVERBOSE # PCI BIOS verbose info 1821.1Sthorpej#options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses 1831.1Sthorpej#options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering 1841.1Sthorpej#options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing 1851.1Sthorpej#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 1861.1Sthorpej#options PCIBIOS_INTR_GUESS # see pcibios(4) 1871.1Sthorpej#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 1881.1Sthorpej 1891.1Sthorpej# PCI bridges 1901.1Sthorpejpchb* at pci? dev ? function ? # PCI-Host bridges 1911.1Sthorpej 1921.1Sthorpej# ISA bus support 1931.1Sthorpejisa0 at mainbus? 1941.1Sthorpej 1951.1Sthorpej# Coprocessor Support 1961.1Sthorpej 1971.1Sthorpej# Math Coprocessor support 1981.1Sthorpejnpx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 1991.1Sthorpej 2001.1Sthorpej# ISA serial interfaces 2011.1Sthorpejcom0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 2021.1Sthorpejcom1 at isa? port 0x2f8 irq 3 2031.1Sthorpej 2041.1Sthorpej# IDE and related devices 2051.1Sthorpej 2061.1Sthorpej# ISA ST506, ESDI, and IDE controllers 2071.1Sthorpej# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 2081.1Sthorpej# fall back to 16bits I/O if 32bits I/O are not functional). 2091.1Sthorpej# Some controllers pass the initial 32bit test, but will fail later. 2101.1Sthorpejwdc0 at isa? port 0x1f0 irq 14 flags 0x00 2111.1Sthorpej 2121.1Sthorpej# IDE drives 2131.1Sthorpej# Flags are used only with controllers that support DMA operations 2141.1Sthorpej# and mode settings (e.g. some pciide controllers) 2151.1Sthorpej# The lowest order four bits (rightmost digit) of the flags define the PIO 2161.1Sthorpej# mode to use, the next set of four bits the DMA mode and the third set the 2171.1Sthorpej# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 2181.1Sthorpej# to use, and the last bit must be 1 for this setting to be used. 2191.1Sthorpej# For DMA and UDMA, 0xf (1111) means 'disable'. 2201.1Sthorpej# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 2211.1Sthorpej# (0xc=1100, 0xa=1010, 0xf=1111) 2221.1Sthorpej# 0x0000 means "use whatever the drive claims to support". 2231.1Sthorpejwd* at wdc? channel ? drive ? flags 0x0000 2241.1Sthorpej 2251.1Sthorpej# Network Interfaces 2261.1Sthorpej 2271.1Sthorpej# PCI network interfaces 2281.1Sthorpejsip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 2291.1Sthorpej 2301.1Sthorpej# MII/PHY support 2311.1Sthorpejnsphyter* at mii? phy ? # NS83843 PHYs 2321.1Sthorpej 2331.1Sthorpej# Pseudo-Devices 2341.1Sthorpej 2351.1Sthorpej# network pseudo-devices 2361.1Sthorpejpseudo-device bpfilter 16 # Berkeley packet filter 2371.1Sthorpejpseudo-device ipfilter # IP filter (firewall) and NAT 2381.1Sthorpejpseudo-device loop # network loopback 2391.1Sthorpej#pseudo-device ppp 2 # Point-to-Point Protocol 2401.1Sthorpej#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 2411.1Sthorpej#pseudo-device sl 2 # Serial Line IP 2421.1Sthorpej#pseudo-device strip 2 # Starmode Radio IP (Metricom) 2431.1Sthorpejpseudo-device tun 2 # network tunneling over tty 2441.1Sthorpej#pseudo-device gre 2 # generic L3 over IP tunnel 2451.1Sthorpejpseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 2461.1Sthorpejpseudo-device faith 1 # IPv[46] tcp relay translation i/f 2471.1Sthorpejpseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 2481.1Sthorpejpseudo-device vlan # IEEE 802.1q encapsulation 2491.1Sthorpejpseudo-device bridge # simple inter-network bridging 2501.1Sthorpej 2511.1Sthorpej# miscellaneous pseudo-devices 2521.1Sthorpejpseudo-device pty # pseudo-terminals 2531.1Sthorpej#pseudo-device tb 1 # tablet line discipline 2541.1Sthorpej#pseudo-device sequencer 1 # MIDI sequencer 2551.1Sthorpej# rnd works; RND_COM does not on port i386 yet. 2561.1Sthorpejpseudo-device rnd # /dev/random and in-kernel generator 2571.1Sthorpej#options RND_COM # use "com" randomness as well (BROKEN) 258