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