GENERIC revision 1.183
1# $NetBSD: GENERIC,v 1.183 2004/11/10 17:54:05 christos 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/macppc/conf/std.macppc" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.183 $" 26 27maxusers 32 28 29options ALTIVEC # Include AltiVec support 30 31# Standard system options 32options INSECURE # disable kernel security levels 33 34options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 35options NTP # NTP phase/frequency locked loop 36options KTRACE # system call tracing via ktrace(1) 37options SYSTRACE # system call vetting via systrace(1) 38 39options SYSVMSG # System V message queues 40options SYSVSEM # System V semaphores 41#options SEMMNI=10 # number of semaphore identifiers 42#options SEMMNS=60 # number of semaphores in system 43#options SEMUME=10 # max number of undo entries per process 44#options SEMMNU=30 # number of undo structures in system 45options SYSVSHM # System V shared memory 46#options SHMMAXPGS=1024 # 1024 pages is the default 47options P1003_1B_SEMAPHORE # p1003.1b semaphore support 48 49options LKM # loadable kernel modules 50 51options USERCONF # userconf(4) support 52#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 53options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 54 55# Enable experimental buffer queue strategy for better responsiveness under 56# high disk I/O load. Use it with caution - it's not proven to be stable yet. 57#options NEW_BUFQ_STRATEGY 58 59# Diagnostic/debugging support options 60options DIAGNOSTIC # cheap kernel consistency checks 61#options DEBUG # expensive debugging checks/support 62options ZS_CONSOLE_ABORT# allow break to get into DDB on serial 63options DDB # in-kernel debugger 64#options DDB_ONPANIC=0 # don't go into ddb on panic. 65options DDB_HISTORY_SIZE=512 # enable history editing in DDB 66#options TRAP_PANICWAIT 67 68#makeoptions DEBUG="-g" # compile full symbol table 69 70# Compatibility options 71options COMPAT_09 # NetBSD 0.9, 72options COMPAT_10 # NetBSD 1.0, 73options COMPAT_11 # NetBSD 1.1, 74options COMPAT_12 # NetBSD 1.2, 75options COMPAT_13 # NetBSD 1.3, 76options COMPAT_14 # NetBSD 1.4, 77options COMPAT_16 # NetBSD 1.6, 78options COMPAT_43 # and 4.3BSD 79#options COMPAT_386BSD_MBRPART # recognize old partition ID 80options COMPAT_LINUX # Linux binary compatibility 81#options COMPAT_DARWIN # Darwin binary compatibility (experimental) 82#options COMPAT_MACH # Mach compatibility, needed for COMPAT_DARWIN 83#options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH 84#options DEBUG_DARWIN # COMPAT_DARWIN debugging 85#options DEBUG_MACH # COMPAT_MACH debugging 86#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 87options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 88 89# File systems 90file-system FFS # UFS 91file-system EXT2FS # second extended file system (linux) 92file-system LFS # log-structured file system 93file-system MFS # memory file system 94file-system NFS # Network File System client 95file-system CD9660 # ISO 9660 + Rock Ridge file system 96file-system MSDOSFS # MS-DOS file system 97file-system FDESC # /dev/fd 98file-system KERNFS # /kern 99file-system NULLFS # loopback file system 100file-system OVERLAY # overlay file system 101file-system PORTAL # portal filesystem (still experimental) 102file-system PROCFS # /proc 103file-system UMAPFS # NULLFS + uid and gid remapping 104file-system UNION # union file system 105file-system SMBFS # CIFS; also needs nsmb (below) 106 107# File system options 108options QUOTA # UFS quotas 109#options FFS_EI # FFS Endian Independant support 110options SOFTDEP # FFS soft updates support. 111options NFSSERVER # Network File System server 112#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 113 # immutable) behave as system flags. 114options APPLE_UFS # Apple UFS support in FFS 115 116options NFS_BOOT_DHCP # Support DHCP NFS root 117 118# Networking options 119#options GATEWAY # packet forwarding 120options INET # IP + ICMP + TCP + UDP 121options INET6 # IPV6 122#options IPSEC # IP security 123#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 124#options IPSEC_DEBUG # debug for IP security 125#options MROUTING # IP multicast routing 126#options PIM # Protocol Independent Multicast 127#options NS # XNS 128#options NSIP # XNS tunneling over IP 129#options ISO,TPIP # OSI 130#options EON # OSI tunneling over IP 131#options CCITT,LLC,HDLC # X.25 132options NETATALK # AppleTalk networking protocols 133options PPP_BSDCOMP # BSD-Compress compression support for PPP 134options PPP_DEFLATE # Deflate compression support for PPP 135options PPP_FILTER # Active filter support for PPP (requires bpf) 136options PFIL_HOOKS # pfil(9) packet filter hooks 137options IPFILTER_LOG # ipmon(8) log support 138#options IPFILTER_DEFAULT_BLOCK # block all packets by default 139#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 140 141#options ALTQ # Manipulate network interfaces' output queues 142#options ALTQ_BLUE # Stochastic Fair Blue 143#options ALTQ_CBQ # Class-Based Queueing 144#options ALTQ_CDNR # Diffserv Traffic Conditioner 145#options ALTQ_FIFOQ # First-In First-Out Queue 146#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 147#options ALTQ_HFSC # Hierarchical Fair Service Curve 148#options ALTQ_LOCALQ # Local queueing discipline 149#options ALTQ_PRIQ # Priority Queueing 150#options ALTQ_RED # Random Early Detection 151#options ALTQ_RIO # RED with IN/OUT 152#options ALTQ_WFQ # Weighted Fair Queueing 153 154# These options enable verbose messages for several subsystems. 155# Warning, these may compile large string tables into the kernel! 156options PCIVERBOSE # verbose PCI device autoconfig messages 157options MIIVERBOSE # verbose PHY autoconfig messages 158#options PCI_CONFIG_DUMP # verbosely dump PCI config space 159options SCSIVERBOSE # human readable SCSI error messages 160options USBVERBOSE # verbose USB device autoconfig messages 161 162# wscons options 163#options WSEMUL_SUN # sun terminal emulation 164options WSEMUL_VT100 # VT100 / VT220 emulation 165#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 166options FONT_GALLANT12x22 167 168# Optional Mac keyboard tweaks 169 170# Tweak the keyboard driver to treat the caps lock key on an ADB 171# keyboard as a control key; requires special remapping because of 172# ADB's strange emulation of a mechanically-locked key. 173#options CAPS_IS_CONTROL 174 175# On Mac laptops, several function keys double as "hot keys" 176# (brightness, volume, eject) when the Fn modifier is held down. Mac 177# OS X likes to reprogram the keyboard controller to send hot key 178# events when Fn is not held down and send function key events when it 179# is. This option transforms the non-keyboard "button" events back 180# into function key events. 181#options FORCE_FUNCTION_KEYS 182 183# Kernel root file system and dump configuration. 184config netbsd root on ? type ? 185 186# 187# Device configuration 188# 189 190mainbus* at root 191 192cpu* at mainbus? 193bandit* at mainbus? 194grackle* at mainbus? 195uninorth* at mainbus? 196 197pci* at bandit? bus ? 198pci* at grackle? bus ? 199pci* at uninorth? bus ? 200pci* at ppb? bus ? 201 202pchb* at pci? dev ? function ? # PCI-Host bridges 203ppb* at pci? dev ? function ? # PCI-PCI bridges 204# XXX 'puc's aren't really bridges, but there's no better place for them here 205puc* at pci? dev ? function ? # PCI "universal" comm. cards 206lpt* at puc? port ? # || ports on > "universal" comm boards 207 208# PCI Network devices 209an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 210atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11) 211bge* at pci? dev ? function ? # Broadcom 570x Gigabit Ethernet 212ep* at pci? dev ? function ? # 3Com 3c59x 213epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 214ex* at pci? dev ? function ? # 3Com 90x[BC] 215fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA) Controller 216fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 217gem* at pci? dev ? function ? # gmac ethernet 218#gm* at pci? dev ? function ? # gmac ethernet (old) 219gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 220le* at pci? dev ? function ? # PCnet-PCI Ethernet 221lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 222mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 223ne* at pci? dev ? function ? # NE2000-compatible Ethernet 224pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 225re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 226rtk* at pci? dev ? function ? # Realtek 8129/8139 227sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 228sip* at pci? dev ? function ? # SiS 900/7016 Ethernet 229ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 230stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 231#ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 232tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 233tlp* at pci? dev ? function ? # DECchip 21x4x and clones 234vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 235wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 236wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 237 238# PCI SCSI controllers 239adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 240adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 241ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI 242bha* at pci? dev ? function ? # BusLogic 9xx SCSI 243esiop* at pci? dev ? function ? # NCR 53c8xx SCSI (enhanced) 244iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 245isp* at pci? dev ? function ? # Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan 246pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI 247siop* at pci? dev ? function ? # NCR 53c8xx SCSI 248trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI 249 250# Other PCI devices 251ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 252#options OFB_ENABLE_CACHE # Speed up console 253pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 254acardide* at pci? dev ? function ? # Acard IDE controllers 255aceride* at pci? dev ? function ? # Acer Lab IDE controllers 256artsata* at pci? dev ? function ? # Intel i31244 SATA controller 257cmdide* at pci? dev ? function ? # CMD tech IDE controllers 258cypide* at pci? dev ? function ? # Cypress IDE controllers 259hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 260optiide* at pci? dev ? function ? # Opti IDE controllers 261piixide* at pci? dev ? function ? # Intel IDE controllers 262pdcide* at pci? dev ? function ? # Promise IDE controllers 263satalink* at pci? dev ? function ? # SiI SATALink controllers 264siside* at pci? dev ? function ? # SiS IDE controllers 265slide* at pci? dev ? function ? # Symphony Labs IDE controllers 266viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 267wdc* at pci? dev ? function ? # Kauai ATA 268cbb* at pci? dev ? function ? # PCI-CardBus bridge 269obio0 at pci? dev ? function ? 270#macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 271 272acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 273amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 274bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 275brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 276dmphy* at mii? phy ? # Davicom DM9101 PHYs 277exphy* at mii? phy ? # 3Com internal PHYs 278glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 279gphyter* at mii? phy ? # NS83861 Gig-E PHY 280icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 281inphy* at mii? phy ? # Intel 82555 PHYs 282iophy* at mii? phy ? # Intel 82553 PHYs 283lxtphy* at mii? phy ? # Level One LXT-970 PHYs 284makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 285nsphy* at mii? phy ? # NS83840 PHYs 286nsphyter* at mii? phy ? # NS83843 PHYs 287pnaphy* at mii? phy ? # generic HomePNA PHYs 288qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 289sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 290tlphy* at mii? phy ? # ThunderLAN PHYs 291tqphy* at mii? phy ? # TDK Semiconductor PHYs 292ukphy* at mii? phy ? # generic unknown PHYs 293urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 294 295# PCI serial interfaces 296com* at puc? port ? # 16x50s on "universal" comm boards 297cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 298#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards 299 300bktr* at pci? dev ? function ? # Brooktree video/audio capture/tuner 301radio* at bktr? 302 303bm* at obio? # bmac ethernet 304mc* at obio? # MACE ethernet 305esp* at obio? flags 0x00ff # 53c9x SCSI 306mesh* at obio? flags 0xffff # MESH SCSI 307nvram* at obio? # nvram 308adb* at obio? # Apple Desktop Bus 309apm0 at adb? # APM emulation 310aed* at adb? # ADB Event Device 311akbd* at adb? # ADB keyboard 312ams* at adb? # ADB mouse 313abtn* at adb? 314zsc* at obio? 315zstty* at zsc? channel ? 316mediabay* at obio? 317wdc* at mediabay? flags 0 318# awacs is disabled because on some systems--e.g., a 350MHz G4 GigE-- 319# it may generate interrupt storms, rendering the machine unusable. 320# If you uncomment this, you'll also want to uncomment "audio* at awacs?" 321# below. 322#awacs* at obio? # Apple audio device 323#ki2c* at obio? # Keywest I2C 324wi* at obio? # AirMac 325#snapper* at obio? # Snapper audio device 326 327cardslot* at cbb? 328cardbus* at cardslot? 329pcmcia* at cardslot? 330 331com* at pcmcia? function ? # Modems and serial cards 332wdc* at pcmcia? function ? # PCMCIA IDE controllers 333ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 334mbe* at pcmcia? function ? # MB8696x based Ethernet 335ne* at pcmcia? function ? # NE2000-compatible Ethernet 336awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 337wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 338atw* at cardbus? dev ? function ? # ADMtek ADM8211 (802.11) 339ex* at cardbus? dev ? function ? # 3Com 3C575TX 340tlp* at cardbus? dev ? function ? # DECchip 21143 341rtk* at cardbus? dev ? function ? # Realtek 8129/8139 342 343wsdisplay0 at ofb? console ? 344wskbd0 at akbd? console ? 345wsmouse0 at ams? 346 347# Cryptographic Devices 348 349# PCI cryptographic devices 350# (disabled, requires opencrypto framework which requires generic softints 351#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 352#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 353 354 355scsibus* at adv? 356scsibus* at adw? 357scsibus* at ahc? 358scsibus* at bha? 359scsibus* at iha? 360scsibus* at isp? 361scsibus* at esp? 362scsibus* at mesh? 363scsibus* at pcscp? 364scsibus* at siop? 365scsibus* at esiop? 366scsibus* at trm? 367 368sd* at scsibus? target ? lun ? # SCSI disks 369st* at scsibus? target ? lun ? # SCSI tape drives 370cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 371ch* at scsibus? target ? lun ? # SCSI autochangers 372ss* at scsibus? target ? lun ? # SCSI scanners 373uk* at scsibus? target ? lun ? # SCSI unknown 374 375wdc* at obio? flags 0x1 376atabus* at ata? 377wd* at atabus? drive ? flags 0x0000 378 379atapibus* at atapi? 380 381cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 382sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 383uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 384 385# PCI USB controllers 386ohci* at pci? dev ? function ? # Open Host Controller 387 388usb* at ohci? # USB bus support 389uhub* at usb? # USB Hubs 390uhub* at uhub? port ? configuration ? interface ? 391 392uhidev* at uhub? port ? configuration ? interface ? # USB HID device 393 394ums* at uhidev? reportid ? # USB Mice 395wsmouse* at ums? 396 397ukbd* at uhidev? reportid ? # USB Keyboards 398wskbd* at ukbd? console ? 399 400uhid* at uhidev? reportid ? # USB Generic HID 401 402ulpt* at uhub? port ? configuration ? interface ? # USB Printer 403 404umodem* at uhub? port ? configuration ? # USB Modem 405ucom* at umodem? 406 407umass* at uhub? port ? configuration ? interface ? # USB Mass Storage 408atapibus* at umass? 409scsibus* at umass? channel ? 410 411uaudio* at uhub? port ? configuration ? # USB audio 412 413# D-Link DSB-R100 USB FM radio tuner 414udsbr* at uhub? port ? 415radio* at udsbr? 416 417# USB Ethernet adapters 418aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 419axe* at uhub? port ? # ASIX AX88172 based adapters 420cue* at uhub? port ? # CATC USB-EL1201A based adapters 421kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 422url* at uhub? port ? # Realtek RTL8150L based adapters 423udav* at uhub? port ? # Davicom DM9601 based adapters 424 425uscanner* at uhub? port ? # USB scanners 426uyap* at uhub? port ? # Y@P firmware loader 427ugen* at uhub? port ? configuration ? interface ? # USB Generic driver 428 429# PCI IEEE1394 controllers 430fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 431#fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller 432fw* at fwbus? # IP over 1394 433 434# IEEE1394 nodes 435fwnode* at fwbus? idhi ? idlo ? 436sbpscsi* at fwnode? 437scsibus* at sbpscsi? 438 439# Audio Devices 440 441# PCI audio devices 442#clcs* at pci? dev ? function ? # Cirrus Logic CS4280 443#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 444eap* at pci? dev ? function ? # Ensoniq AudioPCI 445#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 446#fms* at pci? dev ? function ? # Forte Media FM801 447#sv* at pci? dev ? function ? # S3 SonicVibes 448 449# OPL[23] FM synthesizers 450#opl* at cmpci? flags 1 451#opl* at eso? 452#opl* at fms? 453 454# Audio support 455#audio* at awacs? 456#audio* at clcs? 457#audio* at cmpci? 458audio* at eap? 459#audio* at eso? 460#audio* at fms? 461#audio* at snapper? 462#audio* at sv? 463audio* at uaudio? 464 465# MPU 401 UARTs 466#mpu* at cmpci? 467#mpu* at eso? 468#mpu* at fms? 469 470# MIDI support 471midi* at eap? # 137[01] MIDI port 472#midi* at mpu? # MPU 401 473 474#pseudo-device crypto # opencrypto framework 475 # (disabled, requires generic softints) 476pseudo-device vnd 4 # disk-like interface to files 477pseudo-device ccd 4 # concatenated/striped disk devices 478#pseudo-device cgd 4 # cryptographic disk devices 479#pseudo-device raid 8 # RAIDframe disk driver 480#options RAID_AUTOCONFIG # auto-configuration of RAID components 481# Options to enable various other RAIDframe RAID types. 482# options RF_INCLUDE_EVENODD=1 483# options RF_INCLUDE_RAID5_RS=1 484# options RF_INCLUDE_PARITYLOGGING=1 485# options RF_INCLUDE_CHAINDECLUSTER=1 486# options RF_INCLUDE_INTERDECLUSTER=1 487# options RF_INCLUDE_PARITY_DECLUSTERING=1 488# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 489pseudo-device md 1 # memory disk device 490pseudo-device loop # network loopback 491pseudo-device bpfilter 8 # packet filter 492pseudo-device ipfilter # IP filter (firewall) and NAT 493pseudo-device ppp 2 # Point-to-Point Protocol 494pseudo-device pppoe # PPP over Ethernet (RFC 2516) 495pseudo-device sl 2 # Serial Line IP 496pseudo-device tun 4 # network tunneling over tty 497#pseudo-device gre 2 # generic L3 over IP tunnel 498pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 499#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 500#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 501pseudo-device vlan # IEEE 802.1q encapsulation 502pseudo-device bridge # simple inter-network bridging 503#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 504pseudo-device pty # pseudo-terminals 505pseudo-device rnd # /dev/random and in-kernel generator 506pseudo-device openfirm # /dev/openfirm 507pseudo-device wsmux # mouse and keyboard multiplexor 508pseudo-device clockctl # user control of clock subsystem 509pseudo-device ksyms # /dev/ksyms 510pseudo-device nsmb # SMB requester 511#pseudo-device pf # PF packet filter 512#pseudo-device pflog # PF log if 513