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