NET4501 revision 1.5
1# $NetBSD: NET4501,v 1.5 2002/04/12 08:11:04 gmcgarry 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#ident "NET4501-$Revision: 1.5 $" 12 13maxusers 32 # estimated number of users 14 15# CPU support. At least one is REQUIRED. 16#options I386_CPU 17options I486_CPU 18#options I586_CPU 19#options I686_CPU 20 21makeoptions COPTS="-Os -mcpu=i486" 22options VNODE_OP_NOINLINE 23 24# CPU-related options. 25#options MATH_EMULATE # floating point emulation 26#options VM86 # virtual 8086 emulation 27#options USER_LDT # user-settable LDT; used by WINE 28# eliminate delay no-ops in I/O; recommended on all but very old machines 29options DUMMY_NOPS 30 31#options MTRR # memory-type range register syscall support 32 33# delay between "rebooting ..." message and hardware reset, in milliseconds 34#options CPURESET_DELAY=2000 35 36# This option allows you to force a serial console at the specified 37# I/O address. see console(4) for details. 38#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 39# you don't want the option below ON iff you are using the 40# serial console option of the new boot strap code. 41#options CONS_OVERRIDE # Always use above! independent of boot info 42 43# The following options override the memory sizes passed in from the boot 44# block. Use them *only* if the boot block is unable to determine the correct 45# values. Note that the BIOS may *correctly* report less than 640k of base 46# memory if the extended BIOS data area is located at the top of base memory 47# (as is the case on most recent systems). 48#options REALBASEMEM=639 # size of base memory (in KB) 49#options REALEXTMEM=15360 # size of extended memory (in KB) 50 51# Standard system options 52 53options UCONSOLE # users can use TIOCCONS (for xconsole) 54options INSECURE # disable kernel security levels 55 56options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 57options NTP # NTP phase/frequency locked loop 58 59options KTRACE # system call tracing via ktrace(1) 60 61options SYSVMSG # System V-like message queues 62options SYSVSEM # System V-like semaphores 63#options SEMMNI=10 # number of semaphore identifiers 64#options SEMMNS=60 # number of semaphores in system 65#options SEMUME=10 # max number of undo entries per process 66#options SEMMNU=30 # number of undo structures in system 67options SYSVSHM # System V-like memory sharing 68#options SHMMAXPGS=1024 # 1024 pages is the default 69 70options LKM # loadable kernel modules 71 72#options USERCONF # userconf(4) support 73#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 74 75# Diagnostic/debugging support options 76#options DIAGNOSTIC # expensive kernel consistency checks 77#options DEBUG # expensive debugging checks/support 78#options KMEMSTATS # kernel memory statistics (vmstat -m) 79options DDB # in-kernel debugger 80options DDB_HISTORY_SIZE=512 # enable history editing in DDB 81#options KGDB # remote debugger 82#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 83#makeoptions DEBUG="-g" # compile full symbol table 84 85# Compatibility options 86options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 87options COMPAT_09 # NetBSD 0.9, 88options COMPAT_10 # NetBSD 1.0, 89options COMPAT_11 # NetBSD 1.1, 90options COMPAT_12 # NetBSD 1.2, 91options COMPAT_13 # NetBSD 1.3, 92options COMPAT_14 # NetBSD 1.4, 93options COMPAT_15 # NetBSD 1.5, 94options COMPAT_43 # and 4.3BSD 95options COMPAT_386BSD_MBRPART # recognize old partition ID 96#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 97 98#options COMPAT_SVR4 # binary compatibility with SVR4 99#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 100#options COMPAT_LINUX # binary compatibility with Linux 101#options COMPAT_FREEBSD # binary compatibility with FreeBSD 102#options COMPAT_MACH # binary compatibility with Mach binaries 103#options EXEC_MACHO # exec MACH-O binaries 104#options COMPAT_PECOFF # kernel support to run Win32 apps 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) 124 125# File system options 126#options QUOTA # UFS quotas 127#options FFS_EI # FFS Endian Independent support 128options SOFTDEP # FFS soft updates support. 129#options NFSSERVER # Network File System server 130#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 131 # immutable) behave as system flags. 132 133# Networking options 134options GATEWAY # packet forwarding 135options INET # IP + ICMP + TCP + UDP 136options INET6 # IPV6 137#options IPSEC # IP security 138#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 139#options IPSEC_DEBUG # debug for IP security 140options MROUTING # IP multicast routing 141#options NS # XNS 142#options NSIP # XNS tunneling over IP 143#options ISO,TPIP # OSI 144#options EON # OSI tunneling over IP 145#options CCITT,LLC,HDLC # X.25 146#options NETATALK # AppleTalk networking protocols 147#options PPP_BSDCOMP # BSD-Compress compression support for PPP 148#options PPP_DEFLATE # Deflate compression support for PPP 149#options PPP_FILTER # Active filter support for PPP (requires bpf) 150options PFIL_HOOKS # pfil(9) packet filter hooks 151#options IPFILTER_LOG # ipmon(8) log support 152#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 153 154# These options enable verbose messages for several subsystems. 155# Warning, these may compile large string tables into the kernel! 156#options MIIVERBOSE # verbose PHY autoconfig messages 157#options PCIVERBOSE # verbose PCI device autoconfig messages 158#options PCI_CONFIG_DUMP # verbosely dump PCI config space 159 160options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 161 162# Kernel root file system and dump configuration. 163config netbsd root on ? type ? 164#config netbsd root on sd0a type ffs 165#config netbsd root on ? type nfs 166 167# 168# Device configuration 169# 170 171mainbus0 at root 172 173# Basic Bus Support 174 175# PCI bus support 176pci* at mainbus? bus ? 177pci* at pchb? bus ? 178 179# Configure PCI using BIOS information 180#options PCIBIOS # PCI BIOS support 181#options PCIBIOSVERBOSE # PCI BIOS verbose info 182#options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses 183#options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering 184#options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing 185#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 186#options PCIBIOS_INTR_GUESS # see pcibios(4) 187#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 188 189# PCI bridges 190pchb* at pci? dev ? function ? # PCI-Host bridges 191 192# ISA bus support 193isa0 at mainbus? 194 195# Coprocessor Support 196 197# Math Coprocessor support 198npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 199 200# ISA serial interfaces 201com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 202com1 at isa? port 0x2f8 irq 3 203 204# IDE and related devices 205 206# ISA ST506, ESDI, and IDE controllers 207# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 208# fall back to 16bits I/O if 32bits I/O are not functional). 209# Some controllers pass the initial 32bit test, but will fail later. 210wdc0 at isa? port 0x1f0 irq 14 flags 0x00 211 212# IDE drives 213# Flags are used only with controllers that support DMA operations 214# and mode settings (e.g. some pciide controllers) 215# The lowest order four bits (rightmost digit) of the flags define the PIO 216# mode to use, the next set of four bits the DMA mode and the third set the 217# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 218# to use, and the last bit must be 1 for this setting to be used. 219# For DMA and UDMA, 0xf (1111) means 'disable'. 220# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 221# (0xc=1100, 0xa=1010, 0xf=1111) 222# 0x0000 means "use whatever the drive claims to support". 223wd* at wdc? channel ? drive ? flags 0x0000 224 225# Network Interfaces 226 227# PCI network interfaces 228sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 229 230# MII/PHY support 231nsphyter* at mii? phy ? # NS83843 PHYs 232 233# Pseudo-Devices 234 235# network pseudo-devices 236pseudo-device bpfilter 16 # Berkeley packet filter 237pseudo-device ipfilter # IP filter (firewall) and NAT 238pseudo-device loop # network loopback 239#pseudo-device ppp 2 # Point-to-Point Protocol 240#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 241#pseudo-device sl 2 # Serial Line IP 242#pseudo-device strip 2 # Starmode Radio IP (Metricom) 243pseudo-device tun 2 # network tunneling over tty 244#pseudo-device gre 2 # generic L3 over IP tunnel 245pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 246pseudo-device faith 1 # IPv[46] tcp relay translation i/f 247pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 248pseudo-device vlan # IEEE 802.1q encapsulation 249pseudo-device bridge # simple inter-network bridging 250 251# miscellaneous pseudo-devices 252pseudo-device pty # pseudo-terminals 253#pseudo-device tb 1 # tablet line discipline 254#pseudo-device sequencer 1 # MIDI sequencer 255# rnd works; RND_COM does not on port i386 yet. 256pseudo-device rnd # /dev/random and in-kernel generator 257#options RND_COM # use "com" randomness as well (BROKEN) 258