GENERIC revision 1.46
1# $NetBSD: GENERIC,v 1.46 2010/05/08 18:03:15 phx 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/sandpoint/conf/std.sandpoint" 22options PIC_I8259 23 24options INCLUDE_CONFIG_FILE # embed config file in kernel binary 25 26#ident "GENERIC-$Revision: 1.46 $" 27 28maxusers 32 29 30options ALTIVEC # Include AltiVec support 31 32#options IPKDBUSERHACK # Allow access to mapped memory via kgdb 33#options DEBUG_BY_TOOLS # Allow debugging from toolsnet 34# HMAC key to be used for debugging sessions 35#options IPKDBKEY="\"HMAC pass phrase text\"" 36#options IPKDBSECURE # Allow debugging even when securelevel > 0 37#makeoptions DEBUG="-g" 38 39#options DEBUG 40options DIAGNOSTIC 41options TRAP_PANICWAIT 42options DDB 43#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 44options KTRACE 45#options PMAPCHECK 46#options PMAPDEBUG 47#options SYMTAB_SPACE=300000 48#options USERCONF # userconf(4) support 49#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 50options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 51 52# Compatibility options 53options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 54options COMPAT_09 # NetBSD 0.9 55options COMPAT_10 # NetBSD 1.0 56options COMPAT_11 # NetBSD 1.1 57options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI 58options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI 59options COMPAT_14 # NetBSD 1.4 60options COMPAT_15 # NetBSD 1.5 61options COMPAT_16 # NetBSD 1.6 62options COMPAT_20 # NetBSD 2.0 63options COMPAT_30 # NetBSD 3.0 64options COMPAT_40 # NetBSD 4.0 65options COMPAT_50 # NetBSD 5.0 compatibility. 66options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 67#options COMPAT_386BSD_MBRPART # recognize old partition ID 68#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 69 70options COMPAT_LINUX # binary compatibility with Linux 71options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 72 73options MSGBUFSIZE=65536 74 75file-system FFS # UFS 76file-system EXT2FS # second extended file system (linux) 77#file-system LFS # log-structured file system 78file-system MFS # memory file system 79file-system NFS # Network File System client 80#file-system NTFS # Windows/NT file system (experimental) 81#file-system CD9660 # ISO 9660 + Rock Ridge file system 82#file-system MSDOSFS # MS-DOS file system 83file-system FDESC # /dev/fd 84file-system KERNFS # /kern 85file-system NULLFS # loopback file system 86#file-system OVERLAY # overlay file system 87#file-system PROCFS # /proc 88#file-system UMAPFS # NULLFS + uid and gid remapping 89#file-system UNION # union file system 90#file-system CODA # Coda File System; also needs vcoda (below) 91#file-system SMBFS # experimental - CIFS; also needs nsmb (below) 92file-system PTYFS # /dev/ptm support 93file-system TMPFS # Efficient memory file-system 94 95# File system options 96options QUOTA # UFS quotas 97#options FFS_EI # FFS Endian Independent support 98options WAPBL # File system journaling support - Experimental 99options NFSSERVER # Network File System server 100#options FFS_NO_SNAPSHOT # No FFS snapshot support 101#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 102 103options INET 104#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 105 106#options ALTQ # Manipulate network interfaces' output queues 107#options ALTQ_BLUE # Stochastic Fair Blue 108#options ALTQ_CBQ # Class-Based Queueing 109#options ALTQ_CDNR # Diffserv Traffic Conditioner 110#options ALTQ_FIFOQ # First-In First-Out Queue 111#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 112#options ALTQ_HFSC # Hierarchical Fair Service Curve 113#options ALTQ_LOCALQ # Local queueing discipline 114#options ALTQ_PRIQ # Priority Queueing 115#options ALTQ_RED # Random Early Detection 116#options ALTQ_RIO # RED with IN/OUT 117#options ALTQ_WFQ # Weighted Fair Queueing 118 119options NFS_BOOT_BOOTPARAM,NFS_BOOT_BOOTP 120 121config netbsd root on ? type ? 122 123# network psuedo-devices 124pseudo-device bpfilter # packet filter 125pseudo-device vlan # IEEE 802.1q encapsulation 126#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 127#pseudo-device bridge # simple inter-network bridging 128#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 129#pseudo-device ipfilter 130pseudo-device loop 131 132# mouse & keyboard multiplexor pseudo-devices 133#pseudo-device wsmux 134 135# 136# accept filters 137pseudo-device accf_data # "dataready" accept filter 138pseudo-device accf_http # "httpready" accept filter 139 140# miscellaneous pseudo-devices 141pseudo-device rnd # /dev/random and in-kernel generator 142pseudo-device vnd 143#options VND_COMPRESSION # compressed vnd(4) 144#pseudo-device cgd 4 # cryptographic disk devices 145pseudo-device pty 146pseudo-device clockctl # user control of clock subsystem 147pseudo-device ksyms # /dev/ksyms 148#pseudo-device pf # PF packet filter 149#pseudo-device pflog # PF log if 150 151# 152# device 153# 154options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 155 156options PCIVERBOSE # verbose PCI device messages 157#options PCI_CONFIG_DUMP # verbosely dump PCI config space 158options PCI_NETBSD_CONFIGURE # Have NetBSD configure PCI I/O & Mem 159 160mainbus0 at root 161 162cpu* at mainbus0 163pci* at mainbus0 bus ? 164 165pchb* at pci? dev ? function ? # PCI host bridge 166pcib* at pci? dev ? function ? # Winbond 83C553 PCI-ISA bridges 167 168eumb* at mainbus0 169com* at eumb? 170ociic* at eumb? 171iic* at ociic? 172 173isa* at pcib? # ISA on PCI-ISA bridge 174 175mcclock0 at isa? port 0x70 # time-of-day clock 176 177# PCI IDE controllers - see pciide(4) for supported hardware. 178#pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 179slide* at pci? dev ? function ? # 83C533 IDE controllers 180viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 181cmdide* at pci? dev ? function ? # CMD tech IDE controllers 182iteide* at pci? dev ? function ? # IT Express IDE controllers 183satalink* at pci? dev ? function ? # SiI SATALink controllers 184 185# ATA (IDE) bus support 186atabus* at ata? 187 188# IDE drives 189wd* at atabus? drive ? flags 0x0000 # the drives themselves 190 191#vga* at pci? dev ? function ? 192 193# PCI network interfaces 194fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 195tlp* at pci? dev ? function ? # DEC Tulip and similar 196re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 197skc* at pci? dev ? function ? # Marvell Yukon Gigabit Ethernet 198sk* at skc? # Marvell Yukon Gigabit Ethernet 199wm* at pci? dev ? function ? # Intel 8254x gigabit 200 201inphy* at mii? phy ? # Intel 82555 PHYs 202nsphy* at mii? phy ? # NS83840 PHYs 203rgephy* at mii? phy ? # Realtek 8169S/8110S internal PHYs 204makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 205ukphy* at mii? phy ? # generic unknown PHYs 206 207# USB Controller and Devices 208ehci* at pci? dev ? function ? # Enhanced Host Controller 209ohci* at pci? dev ? function ? # Open Host Controller 210uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 211 212# USB bus support 213usb* at ehci? 214usb* at ohci? 215usb* at uhci? 216 217# USB Hubs 218uhub* at usb? 219uhub* at uhub? port ? 220 221# USB Mass Storage 222umass* at uhub? port ? configuration ? interface ? 223wd* at umass? 224 225pckbc0 at isa? # PS/2 keyboard controller 226pckbd* at pckbc? # PC keyboard 227pms* at pckbc? # PS/2 mouse for wsmouse 228#wsdisplay* at vga? console ? 229wskbd* at pckbd? console ? 230wsmouse* at pms? mux 0 231 232attimer0 at isa? 233pcppi0 at isa? 234midi* at pcppi? # MIDI interface to the PC speaker 235#sysbeep0 at pcppi? 236 237com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 238com1 at isa? port 0x2f8 irq 3 239 240#lpt0 at isa? port 0x278 irq 7 # standard PC parallel ports 241#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 242#fd* at fdc? drive ? # the drives themselves 243 244scsibus* at umass? 245 246sd* at scsibus? target ? lun ? # SCSI disk drives 247 248# Veriexec 249# 250# a pseudo device needed for veriexec 251#pseudo-device veriexec 1 252# 253# Uncomment the fingerprint methods below that are desired. Note that 254# removing fingerprint methods will have almost no impact on the kernel 255# code size. 256# 257#options VERIFIED_EXEC_FP_RMD160 258#options VERIFIED_EXEC_FP_SHA256 259#options VERIFIED_EXEC_FP_SHA384 260#options VERIFIED_EXEC_FP_SHA512 261#options VERIFIED_EXEC_FP_SHA1 262#options VERIFIED_EXEC_FP_MD5 263