GENERIC revision 1.58
1# $NetBSD: GENERIC,v 1.58 2002/10/06 02:11:55 provos Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/bebox/conf/std.bebox" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.58 $" 26 27maxusers 32 28 29#options IPKDBUSERHACK # Allow access to mapped memory via kgdb 30#options DEBUG_BY_TOOLS # Allow debugging from toolsnet 31# HMAC key to be used for debugging sessions 32#options IPKDBKEY="\"HMAC pass phrase text\"" 33#options IPKDBSECURE # Allow debugging even when securelevel > 0 34makeoptions DEBUG="-g" 35 36options DEBUG 37options DIAGNOSTIC 38options TRAP_PANICWAIT 39options DDB 40#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 41options KTRACE 42options SYSTRACE # system call vetting via systrace(1) 43options USERCONF # userconf(4) support 44#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 45 46#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 47options COMPAT_43 48options COMPAT_09 49options COMPAT_10 50options COMPAT_12 51options COMPAT_13 52options COMPAT_14 53options COMPAT_386BSD_MBRPART # recognize old partition ID 54#options COMPAT_LINUX # Linux binary compatibility 55 56file-system FFS 57file-system MFS 58file-system NFS 59file-system CD9660 60file-system MSDOSFS 61file-system FDESC 62file-system KERNFS 63file-system NULLFS 64file-system OVERLAY 65file-system PORTAL 66file-system PROCFS 67file-system UMAPFS 68file-system UNION 69 70#options FFS_EI # FFS Endian Independant support 71options SOFTDEP # FFS soft updates support. 72#options NFSSERVER 73 74options INET 75options INET6 # IPV6 76#options IPSEC # IP security 77#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 78#options IPSEC_DEBUG # debug for IP security 79 80#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 81 82options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP 83 84config netbsd root on ? type ? 85 86pseudo-device vnd 4 87pseudo-device loop 88pseudo-device bpfilter 8 # packet filter 89pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 90#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 91#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 92pseudo-device vlan # IEEE 802.1q encapsulation 93pseudo-device pppoe # PPP over Ethernet (RFC 2516) 94pseudo-device bridge # simple inter-network bridging 95pseudo-device pty # pseudo-terminals 96pseudo-device raid 8 # RAIDframe disk driver 97options RAID_AUTOCONFIG # auto-configuration of RAID components 98# Options to enable various other RAIDframe RAID types. 99# options RF_INCLUDE_EVENODD=1 100# options RF_INCLUDE_RAID5_RS=1 101# options RF_INCLUDE_PARITYLOGGING=1 102# options RF_INCLUDE_CHAINDECLUSTER=1 103# options RF_INCLUDE_INTERDECLUSTER=1 104# options RF_INCLUDE_PARITY_DECLUSTERING=1 105# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 106#pseudo-device gre 2 # generic L3 over IP tunnel 107pseudo-device wsmux 108pseudo-device clockctl # user control of clock subsystem 109 110# random number generator pseudo-device 111pseudo-device rnd # /dev/random and in-kernel generator 112#options RND_COM # use "com" randomness as well (BROKEN) 113 114# 115# device 116# 117options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 118 119options PCIVERBOSE # verbose PCI device messages 120#options PCI_CONFIG_DUMP # verbosely dump PCI config space 121options PCI_NETBSD_CONFIGURE 122 123mainbus0 at root 124 125cpu* at mainbus0 126pci0 at mainbus0 bus ? 127 128ppb* at pci? dev ? function ? # PCI-PCI bridges 129pci* at ppb? bus ? 130pchb* at pci? dev ? function ? # PCI-Host bridges 131pcib* at pci? dev ? function ? # PCI-ISA bridges 132 133isa* at pcib? # ISA on PCI-ISA bridge 134 135#pc0 at isa? port 0x60 irq 1 # generic PC console device 136 137com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 138com1 at isa? port 0x2f8 irq 3 139#com2 at isa? port 0x380 irq 16 140#com3 at isa? port 0x388 irq 17 141 142lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 143#lpt1 at isa? port 0x278 144#lpt2 at isa? port 0x3bc 145 146#lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 147#lms1 at isa? port 0x238 irq 5 148#mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 149#mms1 at isa? port 0x238 irq 5 150 151pckbc0 at isa? 152pckbd* at pckbc? 153#pms* at pckbc? 154#vga0 at isa? 155vga* at pci? 156pfb* at pci? 157wsdisplay* at vga? console ? 158wsdisplay* at pfb? console ? 159wskbd* at pckbd? console ? 160#wsmouse* at pms? mux 0 161 162#siop* at pci? dev ? function ? # NCR 538XX SCSI controllers 163#scsibus* at siop? 164 165#sd* at scsibus? target ? lun ? # SCSI disk drives 166#st* at scsibus? target ? lun ? # SCSI tape drives 167#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 168#ch* at scsibus? target ? lun ? # SCSI autochangers 169#ss* at scsibus? target ? lun ? # SCSI scanners 170#uk* at scsibus? target ? lun ? # SCSI unknown 171 172fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 173#fdc1 at isa? port 0x370 irq ? drq ? 174fd0 at fdc? drive 1 175#fd* at fdc? drive ? 176 177wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 178wd* at wdc? drive ? 179 180ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards 181#ipkdbif0 at ne? 182 183#wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System 184 185#pcppi0 at isa? 186#spkr0 at pcppi? 187 188# Joystick driver. Probe is a little strange; add only if you have one. 189#joy0 at isa? port 0x201 190