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