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