GENERIC revision 1.36
1# $NetBSD: GENERIC,v 1.36 2002/10/05 10:42:23 chris 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/cats/conf/std.cats" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25# estimated number of users 26 27maxusers 32 28 29# Standard system options 30 31options UCONSOLE # users can use TIOCCONS (for xconsole) 32options INSECURE # disable kernel securelevel 33 34options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 35options NTP # NTP phase/frequency locked loop 36 37# CPU options 38 39# For StrongARM systems 40options CPU_SA110 # Support the SA110 core 41makeoptions COPTS="-O2 -march=armv4 -mtune=strongarm" 42 43# FPA options 44 45#options ARMFPE # ARM Ltd FPE 46 47# File systems 48 49file-system FFS # UFS 50file-system LFS # log-structured file system 51file-system MFS # memory file system 52file-system NFS # Network file system 53file-system ADOSFS # AmigaDOS-compatible file system 54file-system EXT2FS # second extended file system (linux) 55file-system CD9660 # ISO 9660 + Rock Ridge file system 56file-system MSDOSFS # MS-DOS file system 57file-system FDESC # /dev/fd 58file-system KERNFS # /kern 59file-system NULLFS # loopback file system 60file-system OVERLAY # overlay filesystem 61file-system PORTAL # portal filesystem (still experimental) 62file-system PROCFS # /proc 63file-system UMAPFS # NULLFS + uid and gid remapping 64file-system UNION # union file system 65file-system CODA # Coda File System; also needs vcode (below) 66 67# File system options 68options QUOTA # UFS quotas 69#options FFS_EI # FFS Endian Independant support 70options NFSSERVER 71options SOFTDEP # FFS soft updates support 72 73# Networking options 74 75#options GATEWAY # packet forwarding 76options INET # IP + ICMP + TCP + UDP 77options INET6 # IPV6 78#options IPSEC # IP security 79#options IPSEC_ESP # IP security (encryption part; define w/ IPSEC) 80#options IPSEC_DEBUG # debug for IP security 81#options MROUTING # IP multicast routing 82options NS # XNS 83#options NSIP # XNS tunneling over IP 84options ISO,TPIP # OSI 85#options EON # OSI tunneling over IP 86options CCITT,LLC,HDLC # X.25 87options NETATALK # AppleTalk networking 88options PFIL_HOOKS # pfil(9) packet filter hooks 89options PPP_BSDCOMP # BSD-Compress compression support for PPP 90options PPP_DEFLATE # Deflate compression support for PPP 91options PPP_FILTER # Active filter support for PPP (requires bpf) 92options IPFILTER_LOG # ipmon(8) log support 93#options IPFILTER_DEFAULT_BLOCK # block all packets by default 94#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 95 96options NFS_BOOT_BOOTP 97options NFS_BOOT_DHCP 98#options NFS_BOOT_BOOTPARAM 99 100# Compatibility options 101 102#options COMPAT_43 # 4.3BSD compatibility. 103options COMPAT_14 # NetBSD 1.4 compatibility. 104options COMPAT_13 # NetBSD 1.3 compatibility. 105#options COMPAT_12 # NetBSD 1.2 compatibility. 106#options COMPAT_11 # NetBSD 1.1 compatibility. 107#options COMPAT_10 # NetBSD 1.0 compatibility. 108#options COMPAT_09 # NetBSD 0.9 compatibility. 109#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 110 111# Shared memory options 112 113options SYSVMSG # System V-like message queues 114options SYSVSEM # System V-like semaphores 115#options SEMMNI=10 # number of semaphore identifiers 116#options SEMMNS=60 # number of semaphores in system 117#options SEMUME=10 # max number of undo entries per process 118#options SEMMNU=30 # number of undo structures in system 119options SYSVSHM # System V-like memory sharing 120#options SHMMAXPGS=1024 # 1024 pages is the default 121 122# Device options 123 124#options MEMORY_DISK_HOOKS # boottime setup of ramdisk 125#options MEMORY_DISK_ROOT_SIZE=3400 # Size in blocks 126#options MEMORY_DISK_IS_ROOT # use memory disk as root 127 128# Miscellaneous kernel options 129options KTRACE # system call tracing, a la ktrace(1) 130options IRQSTATS # manage IRQ statistics 131#options LKM # loadable kernel modules 132#options KMEMSTATS # kernel memory statistics 133options SCSIVERBOSE # Verbose SCSI errors 134options PCIVERBOSE # Verbose PCI descriptions 135options MIIVERBOSE # verbose PHY autoconfig messages 136#options PCI_CONFIG_DUMP # verbosely dump PCI config space 137options USBVERBOSE # verbose USB device autoconfig messages 138#options DDB_KEYCODE=0x40 139options PMAP_STATIC_L1S=128 140options USERCONF # userconf(4) support 141#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 142 143# wscons options 144#options WSEMUL_SUN # sun terminal emulation 145options WSEMUL_VT100 # VT100 / VT220 emulation 146# different kernel output - see dev/wscons/wsdisplayvar.h 147options WS_KERNEL_FG=WSCOL_GREEN 148options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 149options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 150options WSDISPLAY_COMPAT_USL # VT handling 151options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 152# see dev/wscons/wskbdmap_mfii.h for implemented layouts 153#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 154# the following enables some functions to get mouse console support. 155# if you want a really secure system, it may be better not to enable them, 156# see wsmoused(8), section SECURITY CONSIDERATIONS for more info. 157#options WSDISPLAY_CHARFUNCS # mouse console support 158 159# Development and Debugging options 160 161#options ARM700BUGTRACK # track the ARM700 swi bug 162#options PORTMASTER # Enable PortMaster only options 163options DIAGNOSTIC # internally consistency checks 164#options PMAP_DEBUG # Enable pmap_debug_level code 165#options IPKDB # remote kernel debugging 166options DDB # in-kernel debugger 167options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 168#makeoptions DEBUG="-g" # compile full symbol table 169options SYMTAB_SPACE=370000 170 171config netbsd root on ? type ? 172 173# The main bus device 174mainbus0 at root 175 176# The boot cpu 177cpu0 at mainbus? 178 179# Core logic 180footbridge0 at mainbus? 181 182# footbridge uart 183fcom0 at footbridge? 184 185# system clock via footbridge 186#clock* at footbridge? 187 188# time-of-day device via footbridge or RTC 189todclock0 at todservice? 190 191# PCI bus support 192# PCI bus via footbridge 193pci0 at footbridge? # PCI bus 194 195pci* at ppb? bus ? 196 197# PCI bridges 198ppb* at pci? dev ? function ? # PCI-PCI bridges 199# XXX 'puc's aren't really bridges, but there's no better place for them here 200#puc* at pci? dev ? function ? # PCI "universal" comm. cards 201 202# PCI serial interfaces 203#com* at puc? port ? # 16x50s on "universal" comm boards 204#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 205 206# PCI parallel printer interfaces 207#lpt* at puc? port ? # || ports on "universal" comm boards 208 209# PCI SCSI Controllers and Buses 210adv* at pci? dev ? function ? # AdvanSys 1200[A,B], ULTRA SCSI 211scsibus* at adv? 212#adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI 213#scsibus* at adw? 214ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI controllers 215scsibus* at ahc? 216#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 217#scsibus* at bha? 218iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 219scsibus* at iha? 220isp* at pci? dev ? function ? # Qlogic ISP 10x0 SCSI controllers 221scsibus* at isp? 222pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 223scsibus* at pcscp? 224siop* at pci? dev ? function ? # NCR 53c8xx SCSI 225scsibus* at siop? 226 227# SCSI devices 228sd* at scsibus? target ? lun ? # SCSI disk drives 229st* at scsibus? target ? lun ? # SCSI tape drives 230cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 231#ch* at scsibus? target ? lun ? # SCSI auto-changers 232#uk* at scsibus? target ? lun ? # SCSI unknown device 233#ss* at scsibus? target ? lun ? # SCSI scanner 234 235# PCI IDE Controllers and Devices 236# PCI IDE controllers - see pciide(4) for supported hardware. 237# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 238# how to set up DMA modes for this chip. This may work, or may cause 239# a machine hang with some controllers. 240pciide* at pci? dev ? function ? flags 0x0000 241 242# IDE drives 243# Flags are used only with controllers that support DMA operations 244# and mode settings (e.g. some pciide controllers) 245# The lowest order four bits (rightmost digit) of the flags define the PIO 246# mode to use, the next set of four bits the DMA mode and the third set the 247# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 248# to use, and the last bit must be 1 for this setting to be used. 249# For DMA and UDMA, 0xf (1111) means 'disable'. 250# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 251# (0xc=1100, 0xa=1010, 0xf=1111) 252# 0x0000 means "use whatever the drive claims to support". 253wd* at pciide? channel ? drive ? flags 0x0000 # the drives themselves 254 255# ATAPI bus support 256atapibus* at pciide? channel ? 257 258# ATAPI devices 259cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 260sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 261uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 262 263# PCI network interfaces 264#en* at pci? dev ? function ? # ENI/Adaptec ATM 265ep* at pci? dev ? function ? # 3C590 ethernet cards 266ex* at pci? dev ? function ? # 3Com 90x[B] 267epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 268#esh* at pci? dev ? function ? # Essential HIPPI card 269#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 270fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 271#le* at pci? dev ? function ? # PCnet-PCI Ethernet 272ne* at pci? dev ? function ? # NE2000 compat ethernet 273#ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 274sip* at pci? dev ? function ? # SiS 900 Ethernet 275#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 276tlp* at pci? dev ? function ? # DECchip 21x4x and clones 277vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 278#lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 279rtk* at pci? dev ? function ? # Realtek 8129/8139 280 281# MII/PHY support 282acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 283amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 284bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 285brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 286dmphy* at mii? phy ? # Davicom DM9101 PHYs 287exphy* at mii? phy ? # 3Com internal PHYs 288glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 289gphyter* at mii? phy ? # NS83861 Gig-E PHY 290icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 291inphy* at mii? phy ? # Intel 82555 PHYs 292iophy* at mii? phy ? # Intel 82553 PHYs 293lxtphy* at mii? phy ? # Level One LXT-970 PHYs 294makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 295nsphy* at mii? phy ? # NS83840 PHYs 296nsphyter* at mii? phy ? # NS83843 PHYs 297pnaphy* at mii? phy ? # generic HomePNA PHYs 298qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 299sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 300tlphy* at mii? phy ? # ThunderLAN PHYs 301tqphy* at mii? phy ? # TDK Semiconductor PHYs 302ukphy* at mii? phy ? # generic unknown PHYs 303urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 304 305# USB Controller and Devices 306 307# PCI USB controllers 308ohci* at pci? # Open Host Controller 309 310# USB bus support 311usb* at ohci? 312 313# USB Hubs 314uhub* at usb? 315uhub* at uhub? port ? configuration ? interface ? 316 317# USB HID device 318uhidev* at uhub? port ? configuration ? interface ? 319 320# USB Mice 321ums* at uhidev? reportid ? 322wsmouse* at ums? 323 324# USB Keyboards 325ukbd* at uhidev? reportid ? 326wskbd* at ukbd? console ? 327 328# USB Generic HID devices 329uhid* at uhidev? reportid ? 330 331# USB Printer 332ulpt* at uhub? port ? configuration ? interface ? 333 334# USB Modem 335umodem* at uhub? port ? configuration ? 336ucom* at umodem? 337 338# USB Mass Storage 339umass* at uhub? port ? configuration ? interface ? 340atapibus* at umass? channel ? 341scsibus* at umass? channel ? 342 343# USB audio 344uaudio* at uhub? port ? configuration ? 345audio* at uaudio? 346 347# USB MIDI 348umidi* at uhub? port ? configuration ? 349midi* at umidi? 350 351# USB Ethernet adapters 352aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 353cue* at uhub? port ? # CATC USB-EL1201A based adapters 354kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 355 356# Prolofic PL2301/PL2302 host-to-host adapter 357upl* at uhub? port ? 358 359# Serial adapters 360# FTDI FT8U100AX serial adapter 361uftdi* at uhub? port ? 362ucom* at uftdi? portno ? 363 364uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 365ucom* at uplcom? portno ? 366 367umct* at uhub? port ? # MCT USB-RS232 serial adapter 368ucom* at umct? portno ? 369 370# Diamond Multimedia Rio 500 371urio* at uhub? port ? 372 373# USB Handspring Visor 374uvisor* at uhub? port ? 375ucom* at uvisor? 376 377# USB scanners 378uscanner* at uhub? port ? 379 380# USB scanners that use SCSI emulation, e.g., HP5300 381usscanner* at uhub? port ? 382scsibus* at usscanner? channel ? 383 384# Y@P firmware loader 385uyap* at uhub? port ? 386 387# USB Generic driver 388ugen* at uhub? port ? 389 390# Audio Devices 391 392# PCI audio devices 393#eap* at pci? dev ? function ? # Ensoniq AudioPCI 394#sv* at pci? dev ? function ? # S3 SonicVibes 395 396# Audio support 397#audio* at eap? 398#audio* at sv? 399 400vga* at pci? 401wsdisplay* at vga? console ? 402 403# ISA bus bridging 404 405pcib* at pci? dev ? function ? # PCI-ISA bridge 406isa* at pcib? # ISA bus 407 408# ISA Plug-and-Play bus support 409isapnp0 at isa? 410 411# wscons 412pckbc0 at isa? # pc keyboard controller 413pckbd* at pckbc? # PC keyboard 414pms* at pckbc? # PS/2 mouse for wsmouse 415wskbd* at pckbd? console ? 416wsmouse* at pms? 417 418pcppi0 at isa? 419sysbeep0 at pcppi? 420 421# ISA Plug-and-Play serial interfaces 422com* at isapnp? # Modems and serial boards 423 424# ISA Plug-and-Play network interfaces 425ep* at isapnp? # 3Com 3c509 Ethernet 426 427# ISA serial interfaces 428com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 429com1 at isa? port 0x2f8 irq 3 430#com2 at isa? port 0x3e8 irq 9 431#com3 at isa? port 0x2e8 irq 10 432 433# ISA parallel printer interfaces 434lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 435lpt1 at isa? port 0x278 irq 5 436#lpt2 at isa? port 0x3bc 437 438# ISA floppy 439#fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 440#fdc1 at isa? port 0x370 irq ? drq ? 441#fd* at fdc? drive ? # the drives themselves 442 443# ISA network interface 444#ne0 at isa? port 0x280 irq 9 445#ne1 at isa? port 0x300 irq 10 446#ep* at isa? port ? irq ? 447 448# The spkr driver provides a simple tone interface to the built in speaker. 449spkr0 at pcppi? # PC speaker 450 451dsrtc0 at isa? port 0x72 # Dallas RTC 452 453# ISA Plug-and-Play audio devices 454ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio 455sb* at isapnp? # SoundBlaster-compatible audio 456wss* at isapnp? # Windows Sound System 457 458# OPL[23] FM syntheziers 459opl* at ess? 460opl* at sb? 461 462# Audio support 463audio* at ess? 464audio* at sb? 465audio* at wss? 466 467# MPU 401 UARTs 468#mpu* at sb? 469 470# MIDI support 471midi* at pcppi? # MIDI interface to the PC speaker 472midi* at sb? # SB MPU401 port 473midi* at opl? # OPL FM synth 474#midi* at mpu? # MPU 401 475 476# Joysticks 477 478# ISA Plug-and-Play joysticks 479joy* at isapnp? # Game ports (usually on audio cards) 480 481# ISA joysticks. Probe is a little strange; add only if you have one. 482#joy0 at isa? port 0x201 483 484# Pseudo-Devices 485 486# disk/mass storage pseudo-devices 487pseudo-device ccd 2 # concatenated/striped disk devices 488pseudo-device md 1 # memory disk device (ramdisk) 489pseudo-device vnd 4 # disk-like interface to files 490 491# network pseudo-devices 492pseudo-device bpfilter 4 # Berkeley packet filter 493pseudo-device ipfilter # IP filter (firewall) and NAT 494pseudo-device loop # network loopback 495pseudo-device ppp 2 # Point-to-Point Protocol 496pseudo-device pppoe # PPP over Ethernet (RFC 2516) 497pseudo-device sl 2 # Serial Line IP 498pseudo-device strip 2 # Starmode Radio IP (Metricom) 499pseudo-device tun 2 # network tunneling over tty 500pseudo-device gre 2 # generic L3 over IP tunnel 501pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 502#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 503#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 504pseudo-device vlan # IEEE 802.1q encapsulation 505pseudo-device bridge # simple inter-network bridging 506 507# miscellaneous pseudo-devices 508pseudo-device pty # pseudo-terminals 509pseudo-device tb 1 # tablet line discipline 510pseudo-device sequencer 1 # MIDI sequencer 511pseudo-device rnd # /dev/random and in-kernel generator 512#options RND_COM # use "com" randomness as well (BROKEN) 513pseudo-device clockctl # user control of clock subsystem 514 515# a pseudo device needed for Coda # also needs CODA (above) 516pseudo-device vcoda 4 # coda minicache <-> venus comm. 517 518# mouse & keyboard multiplexor pseudo-devices 519pseudo-device wsmux 520