GENERIC revision 1.24
1# $NetBSD: GENERIC,v 1.24 2001/06/30 11:00:36 darcy Exp $ 2# 3# GENERIC -- everything that's currently supported 4# 5 6include "arch/prep/conf/std.prep" 7 8#ident "GENERIC-$Revision: 1.24 $" 9 10maxusers 32 11 12# Standard system options 13 14options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 15options NTP # NTP phase/frequency locked loop 16 17options KTRACE # system call tracing via ktrace(1) 18 19options SYSVMSG # System V-like message queues 20options SYSVSEM # System V-like semaphores 21#options SEMMNI=10 # number of semaphore identifiers 22#options SEMMNS=60 # number of semaphores in system 23#options SEMUME=10 # max number of undo entries per process 24#options SEMMNU=30 # number of undo structures in system 25options SYSVSHM # System V-like memory sharing 26#options SHMMAXPGS=1024 # 1024 pages is the default 27 28options LKM # loadable kernel modules 29 30# Diagnostic/debugging support options 31options DIAGNOSTIC # cheap kernel consistency checks 32#options DEBUG # expensive debugging checks/support 33#options KMEMSTATS # kernel memory statistics (vmstat -m) 34options DDB # in-kernel debugger 35#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 36#makeoptions DEBUG="-g" 37 38# Compatibility options 39options COMPAT_13 # NetBSD 1.3, 40options COMPAT_14 # NetBSD 1.4, 41options COMPAT_43 # and 4.3BSD 42#options COMPAT_LINUX # Linux binary compatibility (experimental) 43 44# File systems 45file-system FFS # UFS 46file-system EXT2FS # second extended file system (linux) 47file-system LFS # log-structured file system 48file-system MFS # memory file system 49file-system NFS # Network File System client 50file-system NTFS # Windows/NT file system (experimental) 51file-system CD9660 # ISO 9660 + Rock Ridge file system 52file-system MSDOSFS # MS-DOS file system 53file-system FDESC # /dev/fd 54file-system KERNFS # /kern 55file-system NULLFS # loopback file system 56file-system OVERLAY # overlay file system 57file-system PORTAL # portal filesystem (still experimental) 58file-system PROCFS # /proc 59file-system UMAPFS # NULLFS + uid and gid remapping 60file-system UNION # union file system 61#file-system CODA # Coda File System; also needs vcoda (below) 62 63# File system options 64options QUOTA # UFS quotas 65options FFS_EI # FFS Endian Independant support 66options SOFTDEP # FFS soft updates support. 67options NFSSERVER # Network File System server 68#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 69 # immutable) behave as system flags. 70 71# Networking options 72#options GATEWAY # packet forwarding 73options INET # IP + ICMP + TCP + UDP 74options INET6 # IPv6 75#options IPSEC # IP security 76#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 77#options IPSEC_DEBUG # debug for IP security 78#options MROUTING # IP multicast routing 79options NETATALK # AppleTalk networking protocols 80options PPP_BSDCOMP # BSD-Compress compression support for PPP 81options PPP_DEFLATE # Deflate compression support for PPP 82options PPP_FILTER # Active filter support for PPP (requires bpf) 83options PFIL_HOOKS # pfil(9) packet filter hooks 84options IPFILTER_LOG # ipmon(8) log support 85 86# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 87#options TCP_COMPAT_42 88 89# These options enable verbose messages for several subsystems. 90# Warning, these may compile large string tables into the kernel! 91options MIIVERBOSE # verbose PHY autoconfig messages 92options PCIVERBOSE # verbose PCI device autoconfig messages 93#options PCI_CONFIG_DUMP # verbosely dump PCI config space 94options PCMCIAVERBOSE # verbose PCMCIA configuration messages 95options SCSIVERBOSE # human readable SCSI error messages 96#options USBVERBOSE # verbose USB device autoconfig messages 97 98options NFS_BOOT_BOOTP 99options NFS_BOOT_BOOTPARAM 100options NFS_BOOT_DHCP 101 102# 103# wscons options 104# 105# builtin terminal emulations 106options WSEMUL_VT100 # VT100 / VT220 emulation 107# different kernel output - see dev/wscons/wsdisplayvar.h 108options WS_KERNEL_FG=WSCOL_GREEN 109#options WS_KERNEL_BG=WSCOL_BLACK 110# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 111#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 112# allocate a number of virtual screens at autoconfiguration time 113#options WSDISPLAY_DEFAULTSCREENS=4 114# use a large software cursor that doesn't blink 115options PCDISPLAY_SOFTCURSOR 116 117# Kernel root file system and dump configuration. 118config netbsd root on ? type ? 119#config netbsd root on de0 type nfs 120#config netbsd root on le0 type nfs 121 122 123# 124# Device configuration 125# 126 127mainbus0 at root 128cpu0 at mainbus0 129 130 131# Basic Bus Support 132 133# PCI bus support 134pci0 at mainbus0 bus ? 135pci* at pchb? bus ? 136pci* at ppb? bus ? 137 138options PCI_NETBSD_CONFIGURE 139 140# PCI bridges 141pchb* at pci? dev ? function ? # PCI-Host bridges 142ppb* at pci? dev ? function ? # PCI-PCI bridges 143pcib* at pci? dev ? function ? # PCI-ISA bridges 144 145# ISA bus support 146isa* at pcib? # ISA on PCI-ISA bridge 147 148# PCMCIA bus support 149pcmcia* at pcic? controller ? socket ? 150 151# ISA PCMCIA controllers 152pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 153 154#options PCIC_ISA_INTR_ALLOC_MASK=0x4a00 # free irq 9,11,14 155#options PCIC_ISA_ALLOC_IOBASE=0x0400 156#options PCIC_ISA_ALLOC_IOSIZE=0x0100 157 158# ISA Plug-and-Play bus support 159isapnp0 at isa? 160 161# Console Devices 162 163# ISA console. 164#pc0 at isa? port 0x60 irq 1 # generic PC console device 165 166# Keyboard layout configuration for pccons 167#options FRENCH_KBD 168#options FINNISH_KBD 169#options GERMAN_KBD 170#options NORWEGIAN_KBD 171 172# wscons 173pckbc0 at isa? # pc keyboard controller 174pckbd* at pckbc? # PC keyboard 175pms* at pckbc? # PS/2 mouse for wsmouse 176pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse 177vga* at pci? 178wsdisplay* at vga? console ? 179wskbd* at pckbd? console ? 180wsmouse* at pms? mux 0 181wsmouse* at pmsi? mux 0 182 183pcppi0 at isa? # PC prog. periph. interface 184isabeep0 at pcppi? # "keyboard" beep 185 186mcclock0 at isa? port 0x70 # mc146818 and compatible 187 188 189# Serial Devices 190 191# ISA serial interfaces 192com0 at isa? port 0x3f8 irq 4 # standard PC serial ports 193com1 at isa? port 0x2f8 irq 3 194 195# PCMCIA serial interfaces 196com* at pcmcia? function ? # Modems and serial cards 197 198pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 199com* at pcmcom? slave ? # ...and the slave devices 200 201 202# Parallel Printer Interfaces 203 204# ISA parallel printer interfaces 205lpt0 at isa? port 0x3bc irq 7 # standard PC parallel ports 206 207 208# SCSI Controllers and Devices 209 210# PCI SCSI controllers 211ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 212iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 213pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 214siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 215 216# PCMCIA SCSI controllers 217aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 218 219# SCSI bus support 220scsibus* at ahc? 221scsibus* at aic? 222scsibus* at iha? 223scsibus* at pcscp? 224scsibus* at siop? 225 226# SCSI devices 227sd* at scsibus? target ? lun ? # SCSI disk drives 228st* at scsibus? target ? lun ? # SCSI tape drives 229cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 230ch* at scsibus? target ? lun ? # SCSI autochangers 231ss* at scsibus? target ? lun ? # SCSI scanners 232uk* at scsibus? target ? lun ? # SCSI unknown 233 234 235# IDE and related devices 236 237# PCMCIA IDE controllers 238wdc* at pcmcia? function ? 239 240# IDE drives 241# Flags are used only with controllers that support DMA operations 242# and mode settings (e.g. some pciide controllers) 243# The lowest order four bits (rightmost digit) of the flags define the PIO 244# mode to use, the next set of four bits the DMA mode and the third set the 245# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 246# to use, and the last bit must be 1 for this setting to be used. 247# For DMA and UDMA, 0xf (1111) means 'disable'. 248# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 249# (0xc=1100, 0xa=1010, 0xf=1111) 250# 0x0000 means "use whatever the drive claims to support". 251wd* at wdc? channel ? drive ? flags 0x0000 252 253# ATAPI bus support 254atapibus* at wdc? channel ? 255 256# ATAPI devices 257# flags have the same meaning as for IDE drives. 258cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 259sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 260uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 261 262 263# Network Interfaces 264 265# PCI network interfaces 266de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 267ep* at pci? dev ? function ? # 3Com 3c59x 268fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 269#le* at pci? dev ? function ? # PCnet-PCI Ethernet 270ne* at pci? dev ? function ? # NE2000-compatible Ethernet 271rtk* at pci? dev ? function ? # Realtek 8129/8139 272vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 273 274# ISA network interfaces 275ep* at isa? port ? irq ? # 3Com 3c509 Ethernet 276ne0 at isa? port 0x280 irq 9 # NE2000-compatible Ethernet 277ne1 at isa? port 0x300 irq 10 278we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 279 280# ISA Plug-and-Play network intefaces 281ep* at isapnp? # 3Com 3c509 Ethernet 282ne* at isapnp? # NE2000-compatible Ethernet 283 284# PCMCIA network interfaces 285ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 286ne* at pcmcia? function ? # NE2000-compatible Ethernet 287 288mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 289com* at mhzc? 290sm* at mhzc? 291 292# MII/PHY support 293dmphy* at mii? phy ? # Davicom DM9101 PHYs 294exphy* at mii? phy ? # 3Com internal PHYs 295icsphy* at mii? phy ? # Integrated Circuit Systems ICS1890 296inphy* at mii? phy ? # Intel 82555 PHYs 297iophy* at mii? phy ? # Intel 82553 PHYs 298lxtphy* at mii? phy ? # Level One LXT-970 PHYs 299nsphy* at mii? phy ? # NS83840 PHYs 300nsphyter* at mii? phy ? # NS83843 PHYs 301qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 302sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 303tlphy* at mii? phy ? # ThunderLAN PHYs 304tqphy* at mii? phy ? # TDK Semiconductor PHYs 305ukphy* at mii? phy ? # generic unknown PHYs 306 307 308# USB Controller and Devices 309 310# PCI USB controllers 311#uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 312#ohci* at pci? dev ? function ? # Open Host Controller 313 314# USB bus support 315#usb* at uhci? 316#usb* at ohci? 317 318# USB Hubs 319#uhub* at usb? 320#uhub* at uhub? port ? configuration ? interface ? 321 322# USB Mice 323#ums* at uhub? port ? configuration ? interface ? 324#wsmouse* at ums? mux 0 325 326# USB Keyboards 327#ukbd* at uhub? port ? configuration ? interface ? 328#wskbd* at ukbd? console ? mux 1 329 330# USB Generic HID devices 331#uhid* at uhub? port ? configuration ? interface ? 332 333# USB Printer 334#ulpt* at uhub? port ? configuration ? interface ? 335 336# USB Modem 337#umodem* at uhub? port ? configuration ? 338#ucom* at umodem? 339 340# USB Mass Storage 341#umass* at uhub? port ? configuration ? interface ? 342#scsibus* at umass? channel ? 343#atapibus* at umass? channel ? 344 345# USB audio 346#uaudio* at uhub? port ? configuration ? 347 348# USB Ethernet adapters 349#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 350#cue* at uhub? port ? # CATC USB-EL1201A based adapters 351#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 352 353# Prolofic PL2301/PL2302 host-to-host adapter 354#upl* at uhub? port ? 355 356# Serial adapters 357# FTDI FT8U100AX serial adapter 358#uftdi* at uhub? port ? 359#ucom* at uftdi? portno ? 360 361# Diamond Multimedia Rio 500 362#urio* at uhub? port ? 363 364# USB Handspring Visor 365#uvisor* at uhub? port ? 366#ucom* at uvisor? 367 368# Y@P firmware loader 369#uyap* at uhub? port ? 370 371# USB Generic driver 372#ugen* at uhub? port ? 373 374# USB scanners 375#uscanner* at uhub? port ? 376 377 378# Audio device 379 380# ISA Plug-and-Play audio devices 381#wss* at isapnp? # CS4232 382 383# Audio support 384#audio* at uaudio? 385#audio* at wss? 386 387# MIDI support 388midi* at pcppi? # MIDI interface to the PC speaker 389 390# The spkr driver provides a simple tone interface to the built in speaker. 391spkr0 at pcppi? # PC speaker 392 393# Joysticks 394 395# ISA joysticks. Probe is a little strange; add only if you have one. 396joy0 at isa? port 0x201 397 398 399# Pseudo-Devices 400 401# disk/mass storage pseudo-devices 402pseudo-device ccd 4 # concatenated/striped disk devices 403#pseudo-device raid 4 # RAIDframe disk driver 404#options RAID_AUTOCONFIG # auto-configuration of RAID components 405pseudo-device md 1 # memory disk device (ramdisk) 406pseudo-device vnd 4 # disk-like interface to files 407 408# network pseudo-devices 409pseudo-device loop # network loopback 410pseudo-device bpfilter 8 # Berkeley packet filter 411pseudo-device ipfilter # IP filter (firewall) and NAT 412pseudo-device ppp 2 # Point-to-Point Protocol 413pseudo-device sl 2 # Serial Line IP 414pseudo-device strip 2 # Starmode Radio IP (Metricom) 415pseudo-device tun 2 # network tunneling over tty 416pseudo-device gre 2 # generic L3 over IP tunnel 417pseudo-device ipip 2 # IP Encapsulation within IP (RFC 2003) 418pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 419#pseudo-device faith 2 # IPv[46] tcp relay translation i/f 420#pseudo-device stf 2 # 6to4 IPv6 over IPv4 encapsulation 421pseudo-device vlan # IEEE 802.1q encapsulation 422 423# miscellaneous pseudo-devices 424pseudo-device pty # pseudo-terminals 425pseudo-device tb 1 # tablet line discipline 426pseudo-device sequencer 1 # MIDI sequencer 427pseudo-device rnd # /dev/random and in-kernel generator 428#options RND_COM # use "com" randomness as well 429 430# a pseudo device needed for Coda # also needs CODA (above) 431#pseudo-device vcoda 4 # coda minicache <-> venus comm. 432 433# mouse & keyboard multiplexor pseudo-devices 434pseudo-device wsmux 2 435