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