GENERIC revision 1.60
1# $NetBSD: GENERIC,v 1.60 2002/11/22 12:21:04 wiz 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/prep/conf/std.prep" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.60 $" 26 27maxusers 32 28 29# Platform support 30options PLATFORM_IBM_6050 # IBM Personal Power Series 830 31options PLATFORM_IBM_7248 # IBM RS/6000 7248-100/120/133 32options PLATFORM_IBM_7043_140 # IBM RS/6000 43P 7043-140 33options PLATFORM_MOTOROLA_ULMB60XA # Motorola ULMB60xA (?) 34 35options OPENPIC # OpenPIC support (7043-140) 36 37# Standard system options 38 39options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 40options NTP # NTP phase/frequency locked loop 41 42options KTRACE # system call tracing via ktrace(1) 43options SYSTRACE # system call vetting via systrace(1) 44 45options SYSVMSG # System V-like message queues 46options SYSVSEM # System V-like semaphores 47#options SEMMNI=10 # number of semaphore identifiers 48#options SEMMNS=60 # number of semaphores in system 49#options SEMUME=10 # max number of undo entries per process 50#options SEMMNU=30 # number of undo structures in system 51options SYSVSHM # System V-like memory sharing 52#options SHMMAXPGS=1024 # 1024 pages is the default 53 54options LKM # loadable kernel modules 55 56options USERCONF # userconf(4) support 57#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 58 59# Enable experimental buffer queue strategy for better responsiveness under 60# high disk I/O load. Use it with caution - it's not proven to be stable yet. 61#options NEW_BUFQ_STRATEGY 62 63# Diagnostic/debugging support options 64options DIAGNOSTIC # cheap kernel consistency checks 65#options DEBUG # expensive debugging checks/support 66#options KMEMSTATS # kernel memory statistics (vmstat -m) 67options DDB # in-kernel debugger 68#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 69#makeoptions DEBUG="-g" 70 71# Compatibility options 72options COMPAT_13 # NetBSD 1.3, 73options COMPAT_14 # NetBSD 1.4, 74options COMPAT_15 # NetBSD 1.5, 75options COMPAT_43 # and 4.3BSD 76#options COMPAT_LINUX # Linux binary compatibility 77#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 78 79# File systems 80file-system FFS # UFS 81file-system EXT2FS # second extended file system (linux) 82file-system LFS # log-structured file system 83file-system MFS # memory file system 84file-system NFS # Network File System client 85file-system NTFS # Windows/NT file system (experimental) 86file-system CD9660 # ISO 9660 + Rock Ridge file system 87file-system MSDOSFS # MS-DOS file system 88file-system FDESC # /dev/fd 89file-system KERNFS # /kern 90file-system NULLFS # loopback file system 91file-system OVERLAY # overlay file system 92file-system PORTAL # portal filesystem (still experimental) 93file-system PROCFS # /proc 94file-system UMAPFS # NULLFS + uid and gid remapping 95file-system UNION # union file system 96#file-system CODA # Coda File System; also needs vcoda (below) 97 98# File system options 99options QUOTA # UFS quotas 100options FFS_EI # FFS Endian Independant support 101options SOFTDEP # FFS soft updates support. 102options NFSSERVER # Network File System server 103#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 104 # immutable) behave as system flags. 105 106# Networking options 107#options GATEWAY # packet forwarding 108options INET # IP + ICMP + TCP + UDP 109options INET6 # IPv6 110#options IPSEC # IP security 111#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 112#options IPSEC_DEBUG # debug for IP security 113#options MROUTING # IP multicast routing 114options NETATALK # AppleTalk networking protocols 115options PPP_BSDCOMP # BSD-Compress compression support for PPP 116options PPP_DEFLATE # Deflate compression support for PPP 117options PPP_FILTER # Active filter support for PPP (requires bpf) 118options PFIL_HOOKS # pfil(9) packet filter hooks 119options IPFILTER_LOG # ipmon(8) log support 120#options IPFILTER_DEFAULT_BLOCK # block all packets by default 121#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 122 123# These options enable verbose messages for several subsystems. 124# Warning, these may compile large string tables into the kernel! 125options MIIVERBOSE # verbose PHY autoconfig messages 126options PCIVERBOSE # verbose PCI device autoconfig messages 127#options PCI_CONFIG_DUMP # verbosely dump PCI config space 128options PCMCIAVERBOSE # verbose PCMCIA configuration messages 129options SCSIVERBOSE # human readable SCSI error messages 130#options USBVERBOSE # verbose USB device autoconfig messages 131#options RESIDUAL_DATA_DUMP # verbosely dump residual data 132 133options NFS_BOOT_BOOTP 134options NFS_BOOT_BOOTPARAM 135options NFS_BOOT_DHCP 136 137# 138# wscons options 139# 140# builtin terminal emulations 141options WSEMUL_VT100 # VT100 / VT220 emulation 142# different kernel output - see dev/wscons/wsdisplayvar.h 143options WS_KERNEL_FG=WSCOL_GREEN 144#options WS_KERNEL_BG=WSCOL_BLACK 145# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 146#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 147# allocate a number of virtual screens at autoconfiguration time 148#options WSDISPLAY_DEFAULTSCREENS=4 149# use a large software cursor that doesn't blink 150options PCDISPLAY_SOFTCURSOR 151 152# Kernel root file system and dump configuration. 153config netbsd root on ? type ? 154#config netbsd root on tlp0 type nfs 155#config netbsd root on le0 type nfs 156 157 158# 159# Device configuration 160# 161 162mainbus0 at root 163cpu0 at mainbus0 164 165 166# Basic Bus Support 167 168# PCI bus support 169pci0 at mainbus0 bus ? 170pci* at pchb? bus ? 171pci* at ppb? bus ? 172 173options PCI_NETBSD_CONFIGURE 174 175# PCI bridges 176pchb* at pci? dev ? function ? # PCI-Host bridges 177ppb* at pci? dev ? function ? # PCI-PCI bridges 178pcib* at pci? dev ? function ? # PCI-ISA bridges 179 180# ISA bus support 181isa* at pcib? # ISA on PCI-ISA bridge 182 183# PCMCIA bus support 184pcmcia* at pcic? controller ? socket ? 185 186# ISA PCMCIA controllers 187pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 188 189#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14 190#options PCIC_ISA_ALLOC_IOBASE=0x0400 191#options PCIC_ISA_ALLOC_IOSIZE=0x0100 192 193# ISA Plug-and-Play bus support 194isapnp0 at isa? 195 196# on-board I/O for IBM Personal Power Series 830 IDE controller 197obio0 at mainbus0 198 199 200# Console Devices 201 202# wscons 203pckbc0 at isa? # pc keyboard controller 204pckbd* at pckbc? # PC keyboard 205pms* at pckbc? # PS/2 mouse for wsmouse 206vga* at pci? 207wsdisplay* at vga? console ? 208wskbd* at pckbd? console ? 209wsmouse* at pms? mux 0 210 211pcppi0 at isa? # PC prog. periph. interface 212isabeep0 at pcppi? # "keyboard" beep 213 214mcclock0 at isa? port 0x70 # mc146818 and compatible 215mkclock0 at isa? port 0x74 # mk48t18 and compatible 216 217 218# Serial Devices 219 220# ISA serial interfaces 221com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 222com1 at isa? port 0x2f8 irq 3 223 224# PCMCIA serial interfaces 225com* at pcmcia? function ? # Modems and serial cards 226 227pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 228com* at pcmcom? slave ? # ...and the slave devices 229 230 231# Parallel Printer Interfaces 232 233# ISA parallel printer interfaces 234lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 235 236 237# SCSI Controllers and Devices 238 239# PCI SCSI controllers 240adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 241ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 242iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 243pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 244siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 245 246# PCMCIA SCSI controllers 247aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 248 249# SCSI bus support 250scsibus* at adw? 251scsibus* at ahc? 252scsibus* at aic? 253scsibus* at iha? 254scsibus* at pcscp? 255scsibus* at siop? 256 257# SCSI devices 258sd* at scsibus? target ? lun ? # SCSI disk drives 259st* at scsibus? target ? lun ? # SCSI tape drives 260cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 261ch* at scsibus? target ? lun ? # SCSI autochangers 262ss* at scsibus? target ? lun ? # SCSI scanners 263uk* at scsibus? target ? lun ? # SCSI unknown 264 265 266# IDE and related devices 267 268# IBM Personal Power Series 830 IDE controller 269wdc0 at obio? port 0x1f0 irq 13 270wdc1 at obio? port 0x170 irq 13 271 272# ISA Plug-and-Play IDE controllers 273wdc* at isapnp? 274 275# PCMCIA IDE controllers 276wdc* at pcmcia? function ? 277 278# IDE drives 279# Flags are used only with controllers that support DMA operations 280# and mode settings (e.g. some pciide controllers) 281# The lowest order four bits (rightmost digit) of the flags define the PIO 282# mode to use, the next set of four bits the DMA mode and the third set the 283# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 284# to use, and the last bit must be 1 for this setting to be used. 285# For DMA and UDMA, 0xf (1111) means 'disable'. 286# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 287# (0xc=1100, 0xa=1010, 0xf=1111) 288# 0x0000 means "use whatever the drive claims to support". 289wd* at wdc? channel ? drive ? flags 0x0000 290 291# ATAPI bus support 292atapibus* at wdc? channel ? 293 294# ATAPI devices 295# flags have the same meaning as for IDE drives. 296cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 297sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 298uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 299 300 301# Network Interfaces 302 303# PCI network interfaces 304ep* at pci? dev ? function ? # 3Com 3c59x 305ex* at pci? dev ? function ? # 3Com 3c90x[BC] 306fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 307ne* at pci? dev ? function ? # NE2000-compatible Ethernet 308pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 309rtk* at pci? dev ? function ? # Realtek 8129/8139 310sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 311tlp* at pci? dev ? function ? # DECchip 21x4x and clones 312vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 313 314# ISA network interfaces 315ep* at isa? port ? irq ? # 3Com 3c509 Ethernet 316ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet 317ne1 at isa? port 0x300 irq 10 318we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 319 320# ISA Plug-and-Play network intefaces 321ep* at isapnp? # 3Com 3c509 Ethernet 322ne* at isapnp? # NE2000-compatible Ethernet 323 324# PCMCIA network interfaces 325ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 326ne* at pcmcia? function ? # NE2000-compatible Ethernet 327 328# MII/PHY support 329dmphy* at mii? phy ? # Davicom DM9101 PHYs 330exphy* at mii? phy ? # 3Com internal PHYs 331icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 332inphy* at mii? phy ? # Intel 82555 PHYs 333iophy* at mii? phy ? # Intel 82553 PHYs 334lxtphy* at mii? phy ? # Level One LXT-970 PHYs 335nsphy* at mii? phy ? # NS83840 PHYs 336nsphyter* at mii? phy ? # NS83843 PHYs 337qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 338sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 339tlphy* at mii? phy ? # ThunderLAN PHYs 340tqphy* at mii? phy ? # TDK Semiconductor PHYs 341ukphy* at mii? phy ? # generic unknown PHYs 342 343 344# USB Controller and Devices 345 346# PCI USB controllers 347#uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 348#ohci* at pci? dev ? function ? # Open Host Controller 349 350# USB bus support 351#usb* at uhci? 352#usb* at ohci? 353 354# USB Hubs 355#uhub* at usb? 356#uhub* at uhub? port ? configuration ? interface ? 357 358# USB HID device 359#uhidev* at uhub? port ? configuration ? interface ? 360 361# USB Mice 362#ums* at uhidev? reportid ? 363#wsmouse* at ums? mux 0 364 365# USB Keyboards 366#ukbd* at uhidev? reportid ? 367#wskbd* at ukbd? console ? mux 1 368 369# USB Generic HID devices 370#uhid* at uhidev? reportid ? 371 372# USB Printer 373#ulpt* at uhub? port ? configuration ? interface ? 374 375# USB Modem 376#umodem* at uhub? port ? configuration ? 377#ucom* at umodem? 378 379# USB Mass Storage 380#umass* at uhub? port ? configuration ? interface ? 381#scsibus* at umass? channel ? 382#atapibus* at umass? channel ? 383 384# USB audio 385#uaudio* at uhub? port ? configuration ? 386 387# USB Ethernet adapters 388#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 389#cue* at uhub? port ? # CATC USB-EL1201A based adapters 390#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 391 392# Prolofic PL2301/PL2302 host-to-host adapter 393#upl* at uhub? port ? 394 395# Serial adapters 396#uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 397#ucom* at uftdi? portno ? 398 399#umct* at uhub? port ? # MCT USB-RS232 serial adapter 400#ucom* at umct? portno ? 401 402#uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 403#ucom* at uplcom? portno ? 404 405#uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 406#ucom* at uvscom? portno ? 407 408# Diamond Multimedia Rio 500 409#urio* at uhub? port ? 410 411# USB Handspring Visor 412#uvisor* at uhub? port ? 413#ucom* at uvisor? 414 415# Y@P firmware loader 416#uyap* at uhub? port ? 417 418# USB Generic driver 419#ugen* at uhub? port ? 420 421# USB scanners 422#uscanner* at uhub? port ? 423 424 425# Audio device 426 427# ISA Plug-and-Play audio devices 428#wss* at isapnp? # CS4232 429 430# Audio support 431#audio* at uaudio? 432#audio* at wss? 433 434# MIDI support 435midi* at pcppi? # MIDI interface to the PC speaker 436 437# The spkr driver provides a simple tone interface to the built in speaker. 438spkr0 at pcppi? # PC speaker 439 440 441# Joysticks 442 443# ISA Plug-and-Play joysticks 444joy* at isapnp? # Game ports (usually on audio cards) 445 446# ISA joysticks. Probe is a little strange; add only if you have one. 447#joy0 at isa? port 0x201 448 449 450# Pseudo-Devices 451 452# disk/mass storage pseudo-devices 453pseudo-device ccd 4 # concatenated/striped disk devices 454#pseudo-device cgd 4 # cryptographic disk devices 455#pseudo-device raid 8 # RAIDframe disk driver 456#options RAID_AUTOCONFIG # auto-configuration of RAID components 457# Options to enable various other RAIDframe RAID types. 458# options RF_INCLUDE_EVENODD=1 459# options RF_INCLUDE_RAID5_RS=1 460# options RF_INCLUDE_PARITYLOGGING=1 461# options RF_INCLUDE_CHAINDECLUSTER=1 462# options RF_INCLUDE_INTERDECLUSTER=1 463# options RF_INCLUDE_PARITY_DECLUSTERING=1 464# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 465pseudo-device md 1 # memory disk device (ramdisk) 466pseudo-device vnd 4 # disk-like interface to files 467 468# network pseudo-devices 469pseudo-device loop # network loopback 470pseudo-device bpfilter 8 # Berkeley packet filter 471pseudo-device ipfilter # IP filter (firewall) and NAT 472pseudo-device ppp 2 # Point-to-Point Protocol 473pseudo-device pppoe # PPP over Ethernet (RFC 2516) 474pseudo-device sl 2 # Serial Line IP 475pseudo-device strip 2 # Starmode Radio IP (Metricom) 476pseudo-device tun 2 # network tunneling over tty 477pseudo-device gre 2 # generic L3 over IP tunnel 478pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 479#pseudo-device faith 2 # IPv[46] tcp relay translation i/f 480#pseudo-device stf 2 # 6to4 IPv6 over IPv4 encapsulation 481pseudo-device vlan # IEEE 802.1q encapsulation 482pseudo-device bridge # simple inter-network bridging 483 484# miscellaneous pseudo-devices 485pseudo-device pty # pseudo-terminals 486pseudo-device tb 1 # tablet line discipline 487pseudo-device sequencer 1 # MIDI sequencer 488pseudo-device rnd # /dev/random and in-kernel generator 489#options RND_COM # use "com" randomness as well 490pseudo-device clockctl # user control of clock subsystem 491 492# a pseudo device needed for Coda # also needs CODA (above) 493#pseudo-device vcoda 4 # coda minicache <-> venus comm. 494 495# wscons pseudo-devices 496pseudo-device wsmux # mouse & keyboard multiplexor 497pseudo-device wsfont 498