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