NET4501 revision 1.59
1# $NetBSD: NET4501,v 1.59 2008/01/07 08:39:07 martti Exp $ 2# 3# NET4501 -- kernel configuration for a Soekris Engineering net4501 4# single-board computer. 5# 6# http://www.soekris.com/ 7# 8 9include "arch/i386/conf/std.i386" 10 11#options INCLUDE_CONFIG_FILE # embed config file in kernel binary 12 13#ident "NET4501-$Revision: 1.59 $" 14 15maxusers 32 # estimated number of users 16 17# AMD Elan SC520's timer runs at a different frequency 18options TIMER_FREQ=1189200 19 20makeoptions CPUFLAGS="-march=i486 -mtune=i486" 21makeoptions COPTS="-Os" 22 23# CPU-related options. 24#options MATH_EMULATE # floating point emulation 25#options VM86 # virtual 8086 emulation 26#options USER_LDT # user-settable LDT; used by WINE 27 28#options MTRR # memory-type range register syscall support 29#options PERFCTRS # performance-monitoring counters support 30 31# delay between "rebooting ..." message and hardware reset, in milliseconds 32#options CPURESET_DELAY=2000 33 34# This option allows you to force a serial console at the specified 35# I/O address. see console(4) for details. 36#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 37# you don't want the option below ON iff you are using the 38# serial console option of the new boot strap code. 39#options CONS_OVERRIDE # Always use above! independent of boot info 40 41# The following options override the memory sizes passed in from the boot 42# block. Use them *only* if the boot block is unable to determine the correct 43# values. Note that the BIOS may *correctly* report less than 640k of base 44# memory if the extended BIOS data area is located at the top of base memory 45# (as is the case on most recent systems). 46#options REALBASEMEM=639 # size of base memory (in KB) 47#options REALEXTMEM=15360 # size of extended memory (in KB) 48 49# Standard system options 50 51options INSECURE # disable kernel security levels 52 53options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 54options NTP # NTP phase/frequency locked loop 55 56options KTRACE # system call tracing via ktrace(1) 57 58options SYSVMSG # System V-like message queues 59options SYSVSEM # System V-like semaphores 60#options SEMMNI=10 # number of semaphore identifiers 61#options SEMMNS=60 # number of semaphores in system 62#options SEMUME=10 # max number of undo entries per process 63#options SEMMNU=30 # number of undo structures in system 64options SYSVSHM # System V-like memory sharing 65#options SHMMAXPGS=2048 # 2048 pages is the default 66 67options LKM # loadable kernel modules 68 69options USERCONF # userconf(4) support 70#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 71#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 72 73# Diagnostic/debugging support options 74#options DIAGNOSTIC # expensive kernel consistency checks 75#options DEBUG # expensive debugging checks/support 76#options KMEMSTATS # kernel memory statistics (vmstat -m) 77options DDB # in-kernel debugger 78#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 79options DDB_HISTORY_SIZE=512 # enable history editing in DDB 80#options KGDB # remote debugger 81#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 82#makeoptions DEBUG="-g" # compile full symbol table 83 84# Compatibility options 85options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 86options COMPAT_09 # NetBSD 0.9 87options COMPAT_10 # NetBSD 1.0 88options COMPAT_11 # NetBSD 1.1 89options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI 90options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI 91options COMPAT_14 # NetBSD 1.4 92options COMPAT_15 # NetBSD 1.5 93options COMPAT_16 # NetBSD 1.6 94options COMPAT_20 # NetBSD 2.0 95options COMPAT_30 # NetBSD 3.0 compatibility. 96options COMPAT_40 # NetBSD 4.0 97options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 98options COMPAT_386BSD_MBRPART # recognize old partition ID 99#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 100 101#options COMPAT_SVR4 # binary compatibility with SVR4 102#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 103#options COMPAT_LINUX # binary compatibility with Linux 104#options COMPAT_FREEBSD # binary compatibility with FreeBSD 105#options COMPAT_MACH # binary compatibility with Mach binaries 106#options EXEC_MACHO # exec MACH-O binaries 107#options COMPAT_PECOFF # kernel support to run Win32 apps 108options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 109 110# File systems 111file-system FFS # UFS 112#file-system EXT2FS # second extended file system (linux) 113#file-system LFS # log-structured file system 114file-system MFS # memory file system 115file-system NFS # Network File System client 116#file-system NTFS # Windows/NT file system (experimental) 117#file-system CD9660 # ISO 9660 + Rock Ridge file system 118#file-system MSDOSFS # MS-DOS file system 119file-system FDESC # /dev/fd 120file-system KERNFS # /kern 121#file-system NULLFS # loopback file system 122#file-system OVERLAY # overlay file system 123#file-system PORTAL # portal filesystem (still experimental) 124file-system PROCFS # /proc 125#file-system UMAPFS # NULLFS + uid and gid remapping 126#file-system UNION # union file system 127#file-system CODA # Coda File System; also needs vcoda (below) 128file-system PTYFS # /dev/pts/N support 129#file-system TMPFS # Efficient memory file-system 130 131# File system options 132#options QUOTA # UFS quotas 133#options FFS_EI # FFS Endian Independent support 134options SOFTDEP # FFS soft updates support. 135#options FFS_NO_SNAPSHOT # No FFS snapshot support 136#options NFSSERVER # Network File System server 137#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 138 # immutable) behave as system flags. 139 140# Networking options 141options GATEWAY # packet forwarding 142options INET # IP + ICMP + TCP + UDP 143options INET6 # IPV6 144#options IPSEC # IP security 145#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 146#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 147#options IPSEC_DEBUG # debug for IP security 148options MROUTING # IP multicast routing 149options PIM # Protocol Independent Multicast 150#options ISO,TPIP # OSI 151#options EON # OSI tunneling over IP 152#options NETATALK # AppleTalk networking protocols 153#options PPP_BSDCOMP # BSD-Compress compression support for PPP 154#options PPP_DEFLATE # Deflate compression support for PPP 155#options PPP_FILTER # Active filter support for PPP (requires bpf) 156options PFIL_HOOKS # pfil(9) packet filter hooks 157#options IPFILTER_LOG # ipmon(8) log support 158#options IPFILTER_LOOKUP # ippool(8) support 159#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 160 161# These options enable verbose messages for several subsystems. 162# Warning, these may compile large string tables into the kernel! 163#options MIIVERBOSE # verbose PHY autoconfig messages 164#options PCIVERBOSE # verbose PCI device autoconfig messages 165#options PCI_CONFIG_DUMP # verbosely dump PCI config space 166 167options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 168 169# Kernel root file system and dump configuration. 170config netbsd root on ? type ? 171#config netbsd root on sd0a type ffs 172#config netbsd root on ? type nfs 173 174# 175# Device configuration 176# 177 178mainbus0 at root 179cpu0 at mainbus0 180 181# Basic Bus Support 182 183# PCI bus support 184pci* at mainbus? bus ? 185 186# Configure PCI using BIOS information 187#options PCIBIOS # PCI BIOS support 188#options PCIBIOSVERBOSE # PCI BIOS verbose info 189#options PCI_ADDR_FIXUP # fixup PCI I/O addresses 190#options PCI_BUS_FIXUP # fixup PCI bus numbering 191#options PCI_INTR_FIXUP # fixup PCI interrupt routing 192#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 193#options PCIBIOS_INTR_GUESS # see pcibios(4) 194#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 195 196# PCI bridges 197elansc* at pci? dev ? function ? # Elan SC520 System Controller 198gpio* at elansc? 199#gpioow* at gpio? offset 6 mask 0x1 # 1-wire bus bitbanging via gpio 200#onewire* at gpioow? 201 202# 1-Wire devices 203#owtemp* at onewire? # Temperature sensors 204 205# ISA bus support 206isa0 at mainbus? 207 208# CardBus bridge support 209cbb* at pci? dev ? function ? 210cardslot* at cbb? 211 212# CardBus bus support 213cardbus* at cardslot? 214pcmcia* at cardslot? 215 216# Cardbus NICs 217ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11 218atw* at cardbus? function ? # ADMtek ADM8211 (802.11) 219 220# Coprocessor Support 221 222# Math Coprocessor support 223npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 224 225# ISA serial interfaces 226com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 227com1 at isa? port 0x2f8 irq 3 228 229# IDE and related devices 230 231# ATA (IDE) bus support 232atabus* at ata? 233 234# ISA ST506, ESDI, and IDE controllers 235# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 236# fall back to 16bits I/O if 32bits I/O are not functional). 237# Some controllers pass the initial 32bit test, but will fail later. 238wdc0 at isa? port 0x1f0 irq 14 flags 0x00 239 240# IDE drives 241# Flags are used only with controllers that support DMA operations 242# and mode settings (e.g. some pciide controllers) 243# The lowest order four bits (rightmost digit) of the flags define the PIO 244# mode to use, the next set of four bits the DMA mode and the third set the 245# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 246# to use, and the last bit must be 1 for this setting to be used. 247# For DMA and UDMA, 0xf (1111) means 'disable'. 248# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 249# (0xc=1100, 0xa=1010, 0xf=1111) 250# 0x0000 means "use whatever the drive claims to support". 251wd* at atabus? drive ? flags 0x0000 252 253# Network Interfaces 254 255# PCI network interfaces 256sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 257wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 258 259# PCMCIA network interfaces 260wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 261 262# MII/PHY support 263nsphyter* at mii? phy ? # NS83843 PHYs 264 265# Pseudo-Devices 266 267# network pseudo-devices 268pseudo-device bpfilter # Berkeley packet filter 269pseudo-device ipfilter # IP filter (firewall) and NAT 270pseudo-device loop # network loopback 271#pseudo-device ppp # Point-to-Point Protocol 272#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 273#pseudo-device sl # Serial Line IP 274#pseudo-device strip # Starmode Radio IP (Metricom) 275pseudo-device tun # network tunneling over tty 276#pseudo-device tap # virtual Ethernet 277#pseudo-device gre # generic L3 over IP tunnel 278pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 279pseudo-device faith # IPv[46] tcp relay translation i/f 280pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 281pseudo-device vlan # IEEE 802.1q encapsulation 282pseudo-device bridge # simple inter-network bridging 283 284# miscellaneous pseudo-devices 285pseudo-device pty # pseudo-terminals 286#pseudo-device sequencer 1 # MIDI sequencer 287# rnd works; RND_COM does not on port i386 yet. 288pseudo-device rnd # /dev/random and in-kernel generator 289#options RND_COM # use "com" randomness as well (BROKEN) 290pseudo-device clockctl # user control of clock subsystem 291#pseudo-device fss 4 # file system snapshot device 292