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