GENERIC revision 1.76
1# $NetBSD: GENERIC,v 1.76 2005/01/28 03:19:49 rumble 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.76 $" 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) 45options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 46 47# Enable experimental buffer queue strategy for better responsiveness under 48# high disk I/O load. Use it with caution - it's not proven to be stable yet. 49#options NEW_BUFQ_STRATEGY 50 51#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 52options COMPAT_43 53options COMPAT_09 54options COMPAT_10 55options COMPAT_12 56options COMPAT_13 57options COMPAT_14 58options COMPAT_386BSD_MBRPART # recognize old partition ID 59#options COMPAT_LINUX # Linux binary compatibility 60options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 61 62file-system FFS 63file-system MFS 64file-system NFS 65file-system CD9660 66file-system MSDOSFS 67file-system FDESC 68file-system KERNFS 69file-system NULLFS 70file-system OVERLAY 71file-system PORTAL 72file-system PROCFS 73file-system UMAPFS 74file-system UNION 75 76#options FFS_EI # FFS Endian Independant support 77options SOFTDEP # FFS soft updates support. 78#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 79#options NFSSERVER 80 81options INET 82options INET6 # IPV6 83#options IPSEC # IP security 84#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 85#options IPSEC_DEBUG # debug for IP security 86 87#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 88 89#options ALTQ # Manipulate network interfaces' output queues 90#options ALTQ_BLUE # Stochastic Fair Blue 91#options ALTQ_CBQ # Class-Based Queueing 92#options ALTQ_CDNR # Diffserv Traffic Conditioner 93#options ALTQ_FIFOQ # First-In First-Out Queue 94#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 95#options ALTQ_HFSC # Hierarchical Fair Service Curve 96#options ALTQ_LOCALQ # Local queueing discipline 97#options ALTQ_PRIQ # Priority Queueing 98#options ALTQ_RED # Random Early Detection 99#options ALTQ_RIO # RED with IN/OUT 100#options ALTQ_WFQ # Weighted Fair Queueing 101 102options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP 103 104config netbsd root on ? type ? 105 106#pseudo-device crypto # opencrypto framework 107#pseudo-device cgd 4 # cryptographic disk devices 108pseudo-device vnd 4 109pseudo-device loop 110pseudo-device bpfilter 8 # packet filter 111pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 112#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 113#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 114pseudo-device vlan # IEEE 802.1q encapsulation 115pseudo-device pppoe # PPP over Ethernet (RFC 2516) 116pseudo-device bridge # simple inter-network bridging 117#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 118pseudo-device pty # pseudo-terminals 119pseudo-device raid 8 # RAIDframe disk driver 120options RAID_AUTOCONFIG # auto-configuration of RAID components 121# Options to enable various other RAIDframe RAID types. 122# options RF_INCLUDE_EVENODD=1 123# options RF_INCLUDE_RAID5_RS=1 124# options RF_INCLUDE_PARITYLOGGING=1 125# options RF_INCLUDE_CHAINDECLUSTER=1 126# options RF_INCLUDE_INTERDECLUSTER=1 127# options RF_INCLUDE_PARITY_DECLUSTERING=1 128# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 129#pseudo-device gre 2 # generic L3 over IP tunnel 130pseudo-device wsmux 131pseudo-device clockctl # user control of clock subsystem 132 133# random number generator pseudo-device 134pseudo-device rnd # /dev/random and in-kernel generator 135#options RND_COM # use "com" randomness as well (BROKEN) 136pseudo-device ksyms # /dev/ksyms 137#pseudo-device pf # PF packet filter 138#pseudo-device pflog # PF log if 139 140# 141# device 142# 143options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 144 145options PCIVERBOSE # verbose PCI device messages 146#options PCI_CONFIG_DUMP # verbosely dump PCI config space 147options PCI_NETBSD_CONFIGURE 148 149mainbus0 at root 150 151cpu* at mainbus0 152pci0 at mainbus0 bus ? 153 154ppb* at pci? dev ? function ? # PCI-PCI bridges 155pci* at ppb? bus ? 156pchb* at pci? dev ? function ? # PCI-Host bridges 157pcib* at pci? dev ? function ? # PCI-ISA bridges 158 159isa* at pcib? # ISA on PCI-ISA bridge 160 161#pc0 at isa? port 0x60 irq 1 # generic PC console device 162 163com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 164com1 at isa? port 0x2f8 irq 3 165#com2 at isa? port 0x380 irq 16 166#com3 at isa? port 0x388 irq 17 167 168lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 169#lpt1 at isa? port 0x278 170#lpt2 at isa? port 0x3bc 171 172#lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 173#lms1 at isa? port 0x238 irq 5 174#mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 175#mms1 at isa? port 0x238 irq 5 176 177pckbc0 at isa? 178pckbd* at pckbc? 179#pms* at pckbc? 180#vga0 at isa? 181vga* at pci? 182pfb* at pci? 183wsdisplay* at vga? console ? 184wsdisplay* at pfb? console ? 185wskbd* at pckbd? console ? 186#wsmouse* at pms? mux 0 187 188# Cryptographic Devices 189 190# PCI cryptographic devices 191#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 192#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 193 194#siop* at pci? dev ? function ? # NCR 538XX SCSI controllers 195#scsibus* at siop? 196#esiop* at pci? dev ? function ? # NCR 53875 and newer SCSI controllers 197#scsibus* at esiop? 198 199#sd* at scsibus? target ? lun ? # SCSI disk drives 200#st* at scsibus? target ? lun ? # SCSI tape drives 201#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 202#ch* at scsibus? target ? lun ? # SCSI autochangers 203#ss* at scsibus? target ? lun ? # SCSI scanners 204#uk* at scsibus? target ? lun ? # SCSI unknown 205 206fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 207#fdc1 at isa? port 0x370 irq ? drq ? 208fd0 at fdc? drive 1 209#fd* at fdc? drive ? 210 211wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 212atabus* at ata? 213wd* at atabus? drive ? 214 215ne0 at isa? port 0x300 irq 5 # NE[12]000 ethernet cards 216#ipkdbif0 at ne? 217 218#wss0 at isa? port 0x530 irq 10 drq 0 # Windows Sound System 219 220#pcppi0 at isa? 221#spkr0 at pcppi? 222 223# Joystick driver. Probe is a little strange; add only if you have one. 224#joy0 at isa? port 0x201 225