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