GENERIC revision 1.150
1# $NetBSD: GENERIC,v 1.150 2003/01/12 00:50:29 matt 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.150 $" 26 27maxusers 32 28 29options ALTIVEC # Include AltiVec support 30 31# Standard system options 32#options UCONSOLE # users can use TIOCCONS (for xconsole) 33#options INSECURE # disable kernel security levels 34 35options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 36options NTP # NTP phase/frequency locked loop 37options KTRACE # system call tracing via ktrace(1) 38options SYSTRACE # system call vetting via systrace(1) 39 40options SYSVMSG # System V message queues 41options SYSVSEM # System V semaphores 42#options SEMMNI=10 # number of semaphore identifiers 43#options SEMMNS=60 # number of semaphores in system 44#options SEMUME=10 # max number of undo entries per process 45#options SEMMNU=30 # number of undo structures in system 46options SYSVSHM # System V shared memory 47#options SHMMAXPGS=1024 # 1024 pages is the default 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_43 # and 4.3BSD 77#options COMPAT_386BSD_MBRPART # recognize old partition ID 78options COMPAT_LINUX # Linux binary compatibility 79options COMPAT_MACH # Mach binary compatibility (experimental) 80options EXEC_MACHO # Mach-O binary support, needed for COMPAT_MACH 81#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 82 83# File systems 84file-system FFS # UFS 85file-system EXT2FS # second extended file system (linux) 86file-system LFS # log-structured file system 87file-system MFS # memory file system 88file-system NFS # Network File System client 89file-system CD9660 # ISO 9660 + Rock Ridge file system 90file-system MSDOSFS # MS-DOS file system 91file-system FDESC # /dev/fd 92file-system KERNFS # /kern 93file-system NULLFS # loopback file system 94file-system OVERLAY # overlay file system 95file-system PORTAL # portal filesystem (still experimental) 96file-system PROCFS # /proc 97file-system UMAPFS # NULLFS + uid and gid remapping 98file-system UNION # union file system 99 100# File system options 101options QUOTA # UFS quotas 102#options FFS_EI # FFS Endian Independant support 103options SOFTDEP # FFS soft updates support. 104options NFSSERVER # Network File System server 105#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 106 # immutable) behave as system flags. 107options APPLE_UFS # Apple UFS support in FFS 108 109options NFS_BOOT_DHCP # Support DHCP NFS root 110 111# Networking options 112#options GATEWAY # packet forwarding 113options INET # IP + ICMP + TCP + UDP 114options INET6 # IPV6 115#options IPSEC # IP security 116#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 117#options IPSEC_DEBUG # debug for IP security 118#options MROUTING # IP multicast routing 119#options NS # XNS 120#options NSIP # XNS tunneling over IP 121#options ISO,TPIP # OSI 122#options EON # OSI tunneling over IP 123#options CCITT,LLC,HDLC # X.25 124options NETATALK # AppleTalk networking protocols 125options PPP_BSDCOMP # BSD-Compress compression support for PPP 126options PPP_DEFLATE # Deflate compression support for PPP 127options PPP_FILTER # Active filter support for PPP (requires bpf) 128options PFIL_HOOKS # pfil(9) packet filter hooks 129options IPFILTER_LOG # ipmon(8) log support 130#options IPFILTER_DEFAULT_BLOCK # block all packets by default 131#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 132 133# These options enable verbose messages for several subsystems. 134# Warning, these may compile large string tables into the kernel! 135options PCIVERBOSE # verbose PCI device autoconfig messages 136options MIIVERBOSE # verbose PHY autoconfig messages 137#options PCI_CONFIG_DUMP # verbosely dump PCI config space 138options SCSIVERBOSE # human readable SCSI error messages 139options USBVERBOSE # verbose USB device autoconfig messages 140 141# wscons options 142#options WSEMUL_SUN # sun terminal emulation 143options WSEMUL_VT100 # VT100 / VT220 emulation 144#options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 145options FONT_GALLANT12x22 146 147# Kernel root file system and dump configuration. 148config netbsd root on ? type ? 149 150# 151# Device configuration 152# 153 154mainbus* at root 155 156cpu* at mainbus? 157bandit* at mainbus? 158grackle* at mainbus? 159uninorth* at mainbus? 160 161pci* at bandit? bus ? 162pci* at grackle? bus ? 163pci* at uninorth? bus ? 164pci* at ppb? bus ? 165 166pchb* at pci? dev ? function ? # PCI-Host bridges 167ppb* at pci? dev ? function ? # PCI-PCI bridges 168# XXX 'puc's aren't really bridges, but there's no better place for them here 169puc* at pci? dev ? function ? # PCI "universal" comm. cards 170 171# PCI Network devices 172an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 173bge* at pci? dev ? function ? # Broadcom 570x Gigabit Ethernet 174ep* at pci? dev ? function ? # 3Com 3c59x 175epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 176ex* at pci? dev ? function ? # 3Com 90x[BC] 177fpa* at pci? dev ? function ? # DEC PCI FDDI (DEFPA) Controller 178fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 179gem* at pci? dev ? function ? # gmac ethernet 180#gm* at pci? dev ? function ? # gmac ethernet (old) 181gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 182le* at pci? dev ? function ? # PCnet-PCI Ethernet 183lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 184mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 185ne* at pci? dev ? function ? # NE2000-compatible Ethernet 186pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 187rtk* at pci? dev ? function ? # Realtek 8129/8139 188sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 189sip* at pci? dev ? function ? # SiS 900/7016 Ethernet 190ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 191stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 192#ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 193tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 194tlp* at pci? dev ? function ? # DECchip 21x4x and clones 195vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 196wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 197wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 198 199# PCI SCSI controllers 200adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 201adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 202ahc* at pci? dev ? function ? # Adaptec 294x, aic78x0 SCSI 203bha* at pci? dev ? function ? # BusLogic 9xx SCSI 204esiop* at pci? dev ? function ? # NCR 53c8xx SCSI (enhanced) 205iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 206isp* at pci? dev ? function ? # Qlogic ISP 10x0/2xx0 SCSI/Fibre Chan 207pcscp* at pci? dev ? function ? # AMD Am53c974 PCscsi-PCI SCSI 208siop* at pci? dev ? function ? # NCR 53c8xx SCSI 209trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI 210 211# Other PCI devices 212ofb* at pci? dev ? function ? # Generic Open Firmware Framebuffer 213#options OFB_ENABLE_CACHE # Speed up console 214pciide* at pci? dev ? function ? 215cbb* at pci? dev ? function ? # PCI-CardBus bridge 216obio0 at pci? dev ? function ? 217#macofcons0 at pci? dev ? function ? # OpenFirmware console (for debugging) 218 219acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 220amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 221bmtphy* at mii? phy ? # Broadcom BCM5201/BCM5202 PHYs 222brgphy* at mii? phy ? # Broadcom BCM5400 PHYs 223dmphy* at mii? phy ? # Davicom DM9101 PHYs 224exphy* at mii? phy ? # 3Com internal PHYs 225glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 226gphyter* at mii? phy ? # NS83861 Gig-E PHY 227icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 228inphy* at mii? phy ? # Intel 82555 PHYs 229iophy* at mii? phy ? # Intel 82553 PHYs 230lxtphy* at mii? phy ? # Level One LXT-970 PHYs 231makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 232nsphy* at mii? phy ? # NS83840 PHYs 233nsphyter* at mii? phy ? # NS83843 PHYs 234pnaphy* at mii? phy ? # generic HomePNA PHYs 235qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 236sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 237tlphy* at mii? phy ? # ThunderLAN PHYs 238tqphy* at mii? phy ? # TDK Semiconductor PHYs 239ukphy* at mii? phy ? # generic unknown PHYs 240urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 241 242# PCI serial interfaces 243com* at puc? port ? # 16x50s on "universal" comm boards 244cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 245#cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards 246 247bm* at obio? # bmac ethernet 248mc* at obio? # MACE ethernet 249esp* at obio? flags 0x00ff # 53c9x SCSI 250mesh* at obio? flags 0xffff # MESH SCSI 251nvram* at obio? # nvram 252adb* at obio? # Apple Desktop Bus 253apm0 at adb? # APM emulation 254aed* at adb? # ADB Event Device 255akbd* at adb? # ADB keyboard 256ams* at adb? # ADB mouse 257abtn* at adb? 258zsc* at obio? 259zstty* at zsc? channel ? 260mediabay* at obio? 261wdc* at mediabay? flags 0 262# awacs is disabled because on some systems--e.g., a 350MHz G4 GigE-- 263# it may generate interrupt storms, rendering the machine unusable. 264# If you uncomment this, you'll also want to uncomment "audio* at awacs?" 265# below. 266#awacs* at obio? # Apple audio device 267wi* at obio? # AirMac 268 269cardslot* at cbb? 270cardbus* at cardslot? 271pcmcia* at cardslot? 272 273com* at pcmcia? function ? # Modems and serial cards 274wdc* at pcmcia? function ? # PCMCIA IDE controllers 275ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 276mbe* at pcmcia? function ? # MB8696x based Ethernet 277ne* at pcmcia? function ? # NE2000-compatible Ethernet 278awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 279wi* at pcmcia? function ? # Lucent WaveLan IEEE (802.11) 280ex* at cardbus? dev ? function ? # 3Com 3C575TX 281tlp* at cardbus? dev ? function ? # DECchip 21143 282rtk* at cardbus? dev ? function ? # Realtek 8129/8139 283 284wsdisplay0 at ofb? console ? 285wskbd0 at akbd? console ? 286wsmouse0 at ams? 287 288scsibus* at adv? 289scsibus* at adw? 290scsibus* at ahc? 291scsibus* at bha? 292scsibus* at iha? 293scsibus* at isp? 294scsibus* at esp? 295scsibus* at mesh? 296scsibus* at pcscp? 297scsibus* at siop? 298scsibus* at trm? 299 300sd* at scsibus? target ? lun ? # SCSI disks 301st* at scsibus? target ? lun ? # SCSI tape drives 302cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 303ch* at scsibus? target ? lun ? # SCSI autochangers 304ss* at scsibus? target ? lun ? # SCSI scanners 305uk* at scsibus? target ? lun ? # SCSI unknown 306 307wdc* at obio? flags 0x1 308wd* at pciide? channel ? drive ? 309wd* at wdc? channel ? drive ? flags 0x0000 310 311atapibus* at pciide? channel ? 312atapibus* at wdc? channel ? 313 314cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 315sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 316uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 317 318# PCI USB controllers 319ohci* at pci? dev ? function ? # Open Host Controller 320 321usb* at ohci? # USB bus support 322uhub* at usb? # USB Hubs 323uhub* at uhub? port ? configuration ? interface ? 324 325uhidev* at uhub? port ? configuration ? interface ? # USB HID device 326 327ums* at uhidev? reportid ? # USB Mice 328wsmouse* at ums? 329 330ukbd* at uhidev? reportid ? # USB Keyboards 331wskbd* at ukbd? console ? 332 333uhid* at uhidev? reportid ? # USB Generic HID 334 335ulpt* at uhub? port ? configuration ? interface ? # USB Printer 336 337umodem* at uhub? port ? configuration ? # USB Modem 338ucom* at umodem? 339 340umass* at uhub? port ? configuration ? interface ? # USB Mass Storage 341atapibus* at umass? channel ? 342scsibus* at umass? channel ? 343 344uaudio* at uhub? port ? configuration ? # USB audio 345 346# USB Ethernet adapters 347aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 348cue* at uhub? port ? # CATC USB-EL1201A based adapters 349kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 350 351uscanner* at uhub? port ? # USB scanners 352uyap* at uhub? port ? # Y@P firmware loader 353ugen* at uhub? port ? configuration ? interface ? # USB Generic driver 354 355# PCI IEEE1394 controllers 356fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 357#fwlynx* at pci? dev ? function ? # IEEE1394 TI Lynx Controller 358fw* at fwbus? # IP over 1394 359 360# IEEE1394 nodes 361#fwnode* at fwbus? idhi ? idlo ? 362#sbpscsi* at fwnode? 363#scsibus* at sbpscsi? 364 365# Audio Devices 366 367# PCI audio devices 368#clcs* at pci? dev ? function ? # Cirrus Logic CS4280 369#cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 370eap* at pci? dev ? function ? # Ensoniq AudioPCI 371#eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 372#fms* at pci? dev ? function ? # Forte Media FM801 373#sv* at pci? dev ? function ? # S3 SonicVibes 374 375# OPL[23] FM synthesizers 376#opl* at cmpci? flags 1 377#opl* at eso? 378#opl* at fms? 379 380# Audio support 381#audio* at awacs? 382#audio* at clcs? 383#audio* at cmpci? 384audio* at eap? 385#audio* at eso? 386#audio* at fms? 387#audio* at sv? 388audio* at uaudio? 389 390# MPU 401 UARTs 391#mpu* at cmpci? 392#mpu* at eso? 393#mpu* at fms? 394 395# MIDI support 396midi* at eap? # 137[01] MIDI port 397#midi* at mpu? # MPU 401 398 399pseudo-device vnd 4 # disk-like interface to files 400pseudo-device ccd 4 # concatenated/striped disk devices 401#pseudo-device cgd 4 # cryptographic disk devices 402#pseudo-device raid 8 # RAIDframe disk driver 403#options RAID_AUTOCONFIG # auto-configuration of RAID components 404# Options to enable various other RAIDframe RAID types. 405# options RF_INCLUDE_EVENODD=1 406# options RF_INCLUDE_RAID5_RS=1 407# options RF_INCLUDE_PARITYLOGGING=1 408# options RF_INCLUDE_CHAINDECLUSTER=1 409# options RF_INCLUDE_INTERDECLUSTER=1 410# options RF_INCLUDE_PARITY_DECLUSTERING=1 411# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 412pseudo-device md 1 # memory disk device 413pseudo-device loop # network loopback 414pseudo-device bpfilter 8 # packet filter 415pseudo-device ipfilter # IP filter (firewall) and NAT 416pseudo-device ppp 2 # Point-to-Point Protocol 417pseudo-device pppoe # PPP over Ethernet (RFC 2516) 418pseudo-device sl 2 # Serial Line IP 419pseudo-device tun 4 # network tunneling over tty 420#pseudo-device gre 2 # generic L3 over IP tunnel 421pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 422#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 423#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 424pseudo-device vlan # IEEE 802.1q encapsulation 425pseudo-device bridge # simple inter-network bridging 426pseudo-device pty # pseudo-terminals 427pseudo-device rnd # /dev/random and in-kernel generator 428pseudo-device openfirm # /dev/openfirm 429pseudo-device wsmux # mouse and keyboard multiplexor 430pseudo-device clockctl # user control of clock subsystem 431