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