GENERIC revision 1.184
1# $NetBSD: GENERIC,v 1.184 2004/11/12 02:23:09 jklos 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.184 $" 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# OFB_ENABLE_CACHE speeds up the console on many machines, but should 253# not be enabled on some older machines, such as the rev. A-D iMacs. 254#options OFB_ENABLE_CACHE # Speed up console 255pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 256acardide* at pci? dev ? function ? # Acard IDE controllers 257aceride* at pci? dev ? function ? # Acer Lab IDE controllers 258artsata* at pci? dev ? function ? # Intel i31244 SATA controller 259cmdide* at pci? dev ? function ? # CMD tech IDE controllers 260cypide* at pci? dev ? function ? # Cypress IDE controllers 261hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 262optiide* at pci? dev ? function ? # Opti IDE controllers 263piixide* at pci? dev ? function ? # Intel IDE controllers 264pdcide* at pci? dev ? function ? # Promise IDE controllers 265satalink* at pci? dev ? function ? # SiI SATALink controllers 266siside* at pci? dev ? function ? # SiS IDE controllers 267slide* at pci? dev ? function ? # Symphony Labs IDE controllers 268viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 269wdc* at pci? dev ? function ? # Kauai ATA 270cbb* at pci? dev ? function ? # PCI-CardBus bridge 271obio0 at pci? dev ? function ? 272#macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 273 274acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 275amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 276bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 277brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 278dmphy* at mii? phy ? # Davicom DM9101 PHYs 279exphy* at mii? phy ? # 3Com internal PHYs 280glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 281gphyter* at mii? phy ? # NS83861 Gig-E PHY 282icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 283inphy* at mii? phy ? # Intel 82555 PHYs 284iophy* at mii? phy ? # Intel 82553 PHYs 285lxtphy* at mii? phy ? # Level One LXT-970 PHYs 286makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 287nsphy* at mii? phy ? # NS83840 PHYs 288nsphyter* at mii? phy ? # NS83843 PHYs 289pnaphy* at mii? phy ? # generic HomePNA PHYs 290qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 291sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 292tlphy* at mii? phy ? # ThunderLAN PHYs 293tqphy* at mii? phy ? # TDK Semiconductor PHYs 294ukphy* at mii? phy ? # generic unknown PHYs 295urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 296 297# PCI serial interfaces 298com* at puc? port ? # 16x50s on "universal" comm boards 299cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 300#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards 301 302bktr* at pci? dev ? function ? # Brooktree video/audio capture/tuner 303radio* at bktr? 304 305bm* at obio? # bmac ethernet 306mc* at obio? # MACE ethernet 307esp* at obio? flags 0x00ff # 53c9x SCSI 308mesh* at obio? flags 0xffff # MESH SCSI 309nvram* at obio? # nvram 310adb* at obio? # Apple Desktop Bus 311apm0 at adb? # APM emulation 312aed* at adb? # ADB Event Device 313akbd* at adb? # ADB keyboard 314ams* at adb? # ADB mouse 315abtn* at adb? 316zsc* at obio? 317zstty* at zsc? channel ? 318mediabay* at obio? 319wdc* at mediabay? flags 0 320# awacs is disabled because on most systems (7300 - 9600 PowerMacs, 321# many kinds of G4s), very heavy load can cause the machine to lock 322# up. ONLY enable this if your machine is never under heavy load, or 323# you'd rather have audio than worry about occasional lockups. 324#awacs* at obio? # Apple audio device 325#ki2c* at obio? # Keywest I2C 326wi* at obio? # AirMac 327#snapper* at obio? # Snapper audio device 328 329cardslot* at cbb? 330cardbus* at cardslot? 331pcmcia* at cardslot? 332 333com* at pcmcia? function ? # Modems and serial cards 334wdc* at pcmcia? function ? # PCMCIA IDE controllers 335ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 336mbe* at pcmcia? function ? # MB8696x based Ethernet 337ne* at pcmcia? function ? # NE2000-compatible Ethernet 338awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 339wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 340atw* at cardbus? dev ? function ? # ADMtek ADM8211 (802.11) 341ex* at cardbus? dev ? function ? # 3Com 3C575TX 342tlp* at cardbus? dev ? function ? # DECchip 21143 343rtk* at cardbus? dev ? function ? # Realtek 8129/8139 344 345wsdisplay0 at ofb? console ? 346wskbd0 at akbd? console ? 347wsmouse0 at ams? 348 349# Cryptographic Devices 350 351# PCI cryptographic devices 352# (disabled, requires opencrypto framework which requires generic softints 353#hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 354#ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 355 356 357scsibus* at adv? 358scsibus* at adw? 359scsibus* at ahc? 360scsibus* at bha? 361scsibus* at iha? 362scsibus* at isp? 363scsibus* at esp? 364scsibus* at mesh? 365scsibus* at pcscp? 366scsibus* at siop? 367scsibus* at esiop? 368scsibus* at trm? 369 370sd* at scsibus? target ? lun ? # SCSI disks 371st* at scsibus? target ? lun ? # SCSI tape drives 372cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 373ch* at scsibus? target ? lun ? # SCSI autochangers 374ss* at scsibus? target ? lun ? # SCSI scanners 375uk* at scsibus? target ? lun ? # SCSI unknown 376 377wdc* at obio? flags 0x1 378atabus* at ata? 379wd* at atabus? drive ? flags 0x0000 380 381atapibus* at atapi? 382 383cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 384sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 385uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 386 387# PCI USB controllers 388ohci* at pci? dev ? function ? # Open Host Controller 389 390usb* at ohci? # USB bus support 391uhub* at usb? # USB Hubs 392uhub* at uhub? port ? configuration ? interface ? 393 394uhidev* at uhub? port ? configuration ? interface ? # USB HID device 395 396ums* at uhidev? reportid ? # USB Mice 397wsmouse* at ums? 398 399ukbd* at uhidev? reportid ? # USB Keyboards 400wskbd* at ukbd? console ? 401 402uhid* at uhidev? reportid ? # USB Generic HID 403 404ulpt* at uhub? port ? configuration ? interface ? # USB Printer 405 406umodem* at uhub? port ? configuration ? # USB Modem 407ucom* at umodem? 408 409umass* at uhub? port ? configuration ? interface ? # USB Mass Storage 410atapibus* at umass? 411scsibus* at umass? channel ? 412 413uaudio* at uhub? port ? configuration ? # USB audio 414 415# D-Link DSB-R100 USB FM radio tuner 416udsbr* at uhub? port ? 417radio* at udsbr? 418 419# USB Ethernet adapters 420aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 421axe* at uhub? port ? # ASIX AX88172 based adapters 422cue* at uhub? port ? # CATC USB-EL1201A based adapters 423kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 424url* at uhub? port ? # Realtek RTL8150L based adapters 425udav* at uhub? port ? # Davicom DM9601 based adapters 426 427uscanner* at uhub? port ? # USB scanners 428uyap* at uhub? port ? # Y@P firmware loader 429ugen* at uhub? port ? configuration ? interface ? # USB Generic driver 430 431# PCI IEEE1394 controllers 432fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 433#fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller 434fw* at fwbus? # IP over 1394 435 436# IEEE1394 nodes 437fwnode* at fwbus? idhi ? idlo ? 438sbpscsi* at fwnode? 439scsibus* at sbpscsi? 440 441# Audio Devices 442 443# PCI audio devices 444#clcs* at pci? dev ? function ? # Cirrus Logic CS4280 445#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 446eap* at pci? dev ? function ? # Ensoniq AudioPCI 447#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 448#fms* at pci? dev ? function ? # Forte Media FM801 449#sv* at pci? dev ? function ? # S3 SonicVibes 450 451# OPL[23] FM synthesizers 452#opl* at cmpci? flags 1 453#opl* at eso? 454#opl* at fms? 455 456# Audio support 457#audio* at awacs? 458#audio* at clcs? 459#audio* at cmpci? 460audio* at eap? 461#audio* at eso? 462#audio* at fms? 463#audio* at snapper? 464#audio* at sv? 465audio* at uaudio? 466 467# MPU 401 UARTs 468#mpu* at cmpci? 469#mpu* at eso? 470#mpu* at fms? 471 472# MIDI support 473midi* at eap? # 137[01] MIDI port 474#midi* at mpu? # MPU 401 475 476#pseudo-device crypto # opencrypto framework 477 # (disabled, requires generic softints) 478pseudo-device vnd 4 # disk-like interface to files 479pseudo-device ccd 4 # concatenated/striped disk devices 480#pseudo-device cgd 4 # cryptographic disk devices 481#pseudo-device raid 8 # RAIDframe disk driver 482#options RAID_AUTOCONFIG # auto-configuration of RAID components 483# Options to enable various other RAIDframe RAID types. 484# options RF_INCLUDE_EVENODD=1 485# options RF_INCLUDE_RAID5_RS=1 486# options RF_INCLUDE_PARITYLOGGING=1 487# options RF_INCLUDE_CHAINDECLUSTER=1 488# options RF_INCLUDE_INTERDECLUSTER=1 489# options RF_INCLUDE_PARITY_DECLUSTERING=1 490# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 491pseudo-device md 1 # memory disk device 492pseudo-device loop # network loopback 493pseudo-device bpfilter 8 # packet filter 494pseudo-device ipfilter # IP filter (firewall) and NAT 495pseudo-device ppp 2 # Point-to-Point Protocol 496pseudo-device pppoe # PPP over Ethernet (RFC 2516) 497pseudo-device sl 2 # Serial Line IP 498pseudo-device tun 4 # network tunneling over tty 499#pseudo-device gre 2 # generic L3 over IP tunnel 500pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 501#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 502#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 503pseudo-device vlan # IEEE 802.1q encapsulation 504pseudo-device bridge # simple inter-network bridging 505#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 506pseudo-device pty # pseudo-terminals 507pseudo-device rnd # /dev/random and in-kernel generator 508pseudo-device openfirm # /dev/openfirm 509pseudo-device wsmux # mouse and keyboard multiplexor 510pseudo-device clockctl # user control of clock subsystem 511pseudo-device ksyms # /dev/ksyms 512pseudo-device nsmb # SMB requester 513#pseudo-device pf # PF packet filter 514#pseudo-device pflog # PF log if 515