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