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