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