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