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