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