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