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