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