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