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