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