1# $NetBSD: NET4501,v 1.6 2002/04/25 15:06:30 atatat 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.6 $" 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 23makeoptions COPTS="-Os -mcpu=i486" 24options VNODE_OP_NOINLINE 25 26# CPU-related options. 27#options MATH_EMULATE # floating point emulation 28#options VM86 # virtual 8086 emulation 29#options USER_LDT # user-settable LDT; used by WINE 30# eliminate delay no-ops in I/O; recommended on all but very old machines 31options DUMMY_NOPS 32 33#options MTRR # memory-type range register syscall support 34 35# delay between "rebooting ..." message and hardware reset, in milliseconds 36#options CPURESET_DELAY=2000 37 38# This option allows you to force a serial console at the specified 39# I/O address. see console(4) for details. 40#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 41# you don't want the option below ON iff you are using the 42# serial console option of the new boot strap code. 43#options CONS_OVERRIDE # Always use above! independent of boot info 44 45# The following options override the memory sizes passed in from the boot 46# block. Use them *only* if the boot block is unable to determine the correct 47# values. Note that the BIOS may *correctly* report less than 640k of base 48# memory if the extended BIOS data area is located at the top of base memory 49# (as is the case on most recent systems). 50#options REALBASEMEM=639 # size of base memory (in KB) 51#options REALEXTMEM=15360 # size of extended memory (in KB) 52 53# Standard system options 54 55options UCONSOLE # users can use TIOCCONS (for xconsole) 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=1024 # 1024 pages is the default 71 72options LKM # loadable kernel modules 73 74#options USERCONF # userconf(4) support 75#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 76 77# Diagnostic/debugging support options 78#options DIAGNOSTIC # expensive kernel consistency checks 79#options DEBUG # expensive debugging checks/support 80#options KMEMSTATS # kernel memory statistics (vmstat -m) 81options DDB # in-kernel debugger 82options DDB_HISTORY_SIZE=512 # enable history editing in DDB 83#options KGDB # remote debugger 84#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 85#makeoptions DEBUG="-g" # compile full symbol table 86 87# Compatibility options 88options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 89options COMPAT_09 # NetBSD 0.9, 90options COMPAT_10 # NetBSD 1.0, 91options COMPAT_11 # NetBSD 1.1, 92options COMPAT_12 # NetBSD 1.2, 93options COMPAT_13 # NetBSD 1.3, 94options COMPAT_14 # NetBSD 1.4, 95options COMPAT_15 # NetBSD 1.5, 96options COMPAT_43 # and 4.3BSD 97options COMPAT_386BSD_MBRPART # recognize old partition ID 98#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 99 100#options COMPAT_SVR4 # binary compatibility with SVR4 101#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 102#options COMPAT_LINUX # binary compatibility with Linux 103#options COMPAT_FREEBSD # binary compatibility with FreeBSD 104#options COMPAT_MACH # binary compatibility with Mach binaries 105#options EXEC_MACHO # exec MACH-O binaries 106#options COMPAT_PECOFF # kernel support to run Win32 apps 107 108# File systems 109file-system FFS # UFS 110#file-system EXT2FS # second extended file system (linux) 111#file-system LFS # log-structured file system 112file-system MFS # memory file system 113file-system NFS # Network File System client 114#file-system NTFS # Windows/NT file system (experimental) 115#file-system CD9660 # ISO 9660 + Rock Ridge file system 116#file-system MSDOSFS # MS-DOS file system 117file-system FDESC # /dev/fd 118file-system KERNFS # /kern 119#file-system NULLFS # loopback file system 120#file-system OVERLAY # overlay file system 121#file-system PORTAL # portal filesystem (still experimental) 122file-system PROCFS # /proc 123#file-system UMAPFS # NULLFS + uid and gid remapping 124#file-system UNION # union file system 125#file-system CODA # Coda File System; also needs vcoda (below) 126 127# File system options 128#options QUOTA # UFS quotas 129#options FFS_EI # FFS Endian Independent support 130options SOFTDEP # FFS soft updates 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_DEBUG # debug for IP security 142options MROUTING # IP multicast routing 143#options NS # XNS 144#options NSIP # XNS tunneling over IP 145#options ISO,TPIP # OSI 146#options EON # OSI tunneling over IP 147#options CCITT,LLC,HDLC # X.25 148#options NETATALK # AppleTalk networking protocols 149#options PPP_BSDCOMP # BSD-Compress compression support for PPP 150#options PPP_DEFLATE # Deflate compression support for PPP 151#options PPP_FILTER # Active filter support for PPP (requires bpf) 152options PFIL_HOOKS # pfil(9) packet filter hooks 153#options IPFILTER_LOG # ipmon(8) log 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 173mainbus0 at root 174 175# Basic Bus Support 176 177# PCI bus support 178pci* at mainbus? bus ? 179pci* at pchb? bus ? 180 181# Configure PCI using BIOS information 182#options PCIBIOS # PCI BIOS support 183#options PCIBIOSVERBOSE # PCI BIOS verbose info 184#options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses 185#options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering 186#options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing 187#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 188#options PCIBIOS_INTR_GUESS # see pcibios(4) 189#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 190 191# PCI bridges 192pchb* at pci? dev ? function ? # PCI-Host bridges 193 194# ISA bus support 195isa0 at mainbus? 196 197# Coprocessor Support 198 199# Math Coprocessor support 200npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 201 202# ISA serial interfaces 203com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 204com1 at isa? port 0x2f8 irq 3 205 206# IDE and related devices 207 208# ISA ST506, ESDI, and IDE controllers 209# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 210# fall back to 16bits I/O if 32bits I/O are not functional). 211# Some controllers pass the initial 32bit test, but will fail later. 212wdc0 at isa? port 0x1f0 irq 14 flags 0x00 213 214# IDE drives 215# Flags are used only with controllers that support DMA operations 216# and mode settings (e.g. some pciide controllers) 217# The lowest order four bits (rightmost digit) of the flags define the PIO 218# mode to use, the next set of four bits the DMA mode and the third set the 219# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 220# to use, and the last bit must be 1 for this setting to be used. 221# For DMA and UDMA, 0xf (1111) means 'disable'. 222# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 223# (0xc=1100, 0xa=1010, 0xf=1111) 224# 0x0000 means "use whatever the drive claims to support". 225wd* at wdc? channel ? drive ? flags 0x0000 226 227# Network Interfaces 228 229# PCI network interfaces 230sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 231 232# MII/PHY support 233nsphyter* at mii? phy ? # NS83843 PHYs 234 235# Pseudo-Devices 236 237# network pseudo-devices 238pseudo-device bpfilter 16 # Berkeley packet filter 239pseudo-device ipfilter # IP filter (firewall) and NAT 240pseudo-device loop # network loopback 241#pseudo-device ppp 2 # Point-to-Point Protocol 242#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 243#pseudo-device sl 2 # Serial Line IP 244#pseudo-device strip 2 # Starmode Radio IP (Metricom) 245pseudo-device tun 2 # network tunneling over tty 246#pseudo-device gre 2 # generic L3 over IP tunnel 247pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 248pseudo-device faith 1 # IPv[46] tcp relay translation i/f 249pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 250pseudo-device vlan # IEEE 802.1q encapsulation 251pseudo-device bridge # simple inter-network bridging 252 253# miscellaneous pseudo-devices 254pseudo-device pty # pseudo-terminals 255#pseudo-device tb 1 # tablet line discipline 256#pseudo-device sequencer 1 # MIDI sequencer 257# rnd works; RND_COM does not on port i386 yet. 258pseudo-device rnd # /dev/random and in-kernel generator 259#options RND_COM # use "com" randomness as well (BROKEN) 260