CARDBUS revision 1.12
11.12Scgd#	$NetBSD: CARDBUS,v 1.12 2000/03/22 00:58:20 cgd Exp $
21.1Shaya#
31.1Shaya#	CARDBUS -- GENERIC + CardBus support
41.1Shaya#
51.1Shaya
61.1Shayainclude "arch/i386/conf/std.i386"
71.1Shaya
81.1Shayamaxusers	32		# estimated number of users
91.1Shaya
101.1Shaya# CPU support.  At least one is REQUIRED.
111.1Shayaoptions 	I386_CPU
121.1Shayaoptions 	I486_CPU
131.1Shayaoptions 	I586_CPU
141.1Shayaoptions 	I686_CPU
151.1Shaya
161.1Shaya# CPU-related options.
171.1Shayaoptions 	MATH_EMULATE	# floating point emulation
181.1Shaya#options 	VM86		# virtual 8086 emulation
191.1Shayaoptions 	USER_LDT	# user-settable LDT; used by WINE
201.1Shaya# eliminate delay no-ops in I/O; recommended on all but very old machines
211.1Shaya#options 	DUMMY_NOPS
221.1Shaya
231.1Shaya# delay between "rebooting ..." message and hardware reset, in milliseconds
241.1Shaya#options 	CPURESET_DELAY=2000
251.1Shaya
261.1Shaya# Misc. i386-specific options
271.1Shayaoptions 	XSERVER		# X server support in console drivers
281.1Shaya#options 	XSERVER_DDB	# PF12 gets you into DDB when X is running
291.1Shaya
301.1Shaya# This option allows you to force a serial console at the specified
311.1Shaya# I/O address.   see console(4) for details.
321.1Shaya#options 	"CONSDEVNAME=\"com\"",CONADDR=0x2f8,CONSPEED=57600
331.1Shaya#	you don't want the option below ON iff you are using the
341.1Shaya#	serial console option of the new boot strap code.
351.11Sitojun#options 	CONS_OVERRIDE	# Always use above! independent of boot info
361.1Shaya
371.1Shaya# The following options override the memory sizes passed in from the boot
381.1Shaya# block.  Use them *only* if the boot block is unable to determine the correct
391.1Shaya# values.  Note that the BIOS may *correctly* report less than 640k of base
401.1Shaya# memory if the extended BIOS data area is located at the top of base memory
411.1Shaya# (as is the case on most recent systems).
421.1Shaya#options 	REALBASEMEM=639		# size of base memory (in KB)
431.1Shaya#options 	REALEXTMEM=15360	# size of extended memory (in KB)
441.1Shaya
451.1Shaya# Standard system options
461.1Shaya
471.1Shayaoptions 	UCONSOLE	# users can use TIOCCONS (for xconsole)
481.1Shayaoptions 	INSECURE	# disable kernel security levels
491.1Shaya
501.1Shayaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
511.1Shayaoptions 	NTP		# NTP phase/frequency locked loop
521.1Shaya
531.1Shayaoptions 	KTRACE		# system call tracing via ktrace(1)
541.1Shaya
551.1Shayaoptions 	SYSVMSG		# System V-like message queues
561.1Shayaoptions 	SYSVSEM		# System V-like semaphores
571.1Shayaoptions 	SYSVSHM		# System V-like memory sharing
581.1Shaya#options 	SHMMAXPGS=1024	# 1024 pages is the default
591.1Shaya
601.1Shayaoptions 	LKM		# loadable kernel modules
611.1Shaya
621.1Shaya# Diagnostic/debugging support options
631.1Shayaoptions 	DIAGNOSTIC	# cheap kernel consistency checks
641.1Shaya#options 	DEBUG		# expensive debugging checks/support
651.1Shaya#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
661.1Shayaoptions 	DDB		# in-kernel debugger
671.1Shaya#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
681.1Shaya#options 	KGDB		# remote debugger
691.1Shaya#options 	"KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600
701.1Shaya#makeoptions	DEBUG="-g"	# compile full symbol table
711.1Shaya
721.1Shaya# Compatibility options
731.1Shayaoptions 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
741.1Shayaoptions 	COMPAT_09	# NetBSD 0.9,
751.1Shayaoptions 	COMPAT_10	# NetBSD 1.0,
761.1Shayaoptions 	COMPAT_11	# NetBSD 1.1,
771.1Shayaoptions 	COMPAT_12	# NetBSD 1.2,
781.1Shayaoptions 	COMPAT_13	# NetBSD 1.3,
791.1Shayaoptions 	COMPAT_43	# and 4.3BSD
801.1Shayaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
811.1Shaya
821.1Shayaoptions 	COMPAT_SVR4	# binary compatibility with SVR4
831.1Shayaoptions 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
841.1Shayaoptions 	COMPAT_LINUX	# binary compatibility with Linux
851.1Shayaoptions 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
861.1Shaya
871.1Shaya# File systems
881.1Shayafile-system 	FFS		# UFS
891.1Shayafile-system 	EXT2FS		# second extended file system (linux)
901.1Shayafile-system 	LFS		# log-structured file system
911.1Shayafile-system 	MFS		# memory file system
921.1Shayafile-system 	NFS		# Network File System client
931.1Shayafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
941.1Shayafile-system 	MSDOSFS		# MS-DOS file system
951.1Shayafile-system 	FDESC		# /dev/fd
961.1Shayafile-system 	KERNFS		# /kern
971.1Shayafile-system 	NULLFS		# loopback file system
981.1Shayafile-system 	PORTAL		# portal filesystem (still experimental)
991.1Shayafile-system 	PROCFS		# /proc
1001.1Shayafile-system 	UMAPFS		# NULLFS + uid and gid remapping
1011.1Shayafile-system 	UNION		# union file system
1021.1Shayafile-system	CODA		# Coda File System; also needs vcoda (below)
1031.1Shaya
1041.1Shaya# File system options
1051.1Shayaoptions 	QUOTA		# UFS quotas
1061.1Shaya#options 	FFS_EI		# FFS Endian Independant support
1071.6Sjun#options 	SOFTDEP         # FFS soft updates support.
1081.1Shayaoptions 	NFSSERVER	# Network File System server
1091.1Shaya#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1101.1Shaya				# immutable) behave as system flags.
1111.1Shaya
1121.1Shaya# Networking options
1131.1Shaya#options 	GATEWAY		# packet forwarding
1141.1Shayaoptions 	INET		# IP + ICMP + TCP + UDP
1151.1Shaya#options 	MROUTING	# IP multicast routing
1161.1Shayaoptions 	NS		# XNS
1171.1Shaya#options 	NSIP		# XNS tunneling over IP
1181.1Shayaoptions 	ISO,TPIP	# OSI
1191.1Shayaoptions 	EON		# OSI tunneling over IP
1201.1Shayaoptions 	CCITT,LLC,HDLC	# X.25
1211.1Shayaoptions 	NETATALK	# AppleTalk networking protocols
1221.1Shaya#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1231.1Shaya#options 	PPP_DEFLATE	# Deflate compression support for PPP
1241.1Shaya#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1251.1Shaya#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1261.1Shaya#options 	IPFILTER_LOG	# ipmon(8) log support
1271.1Shaya
1281.1Shaya# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1291.1Shaya#options 	TCP_COMPAT_42
1301.1Shaya
1311.1Shaya# These options enable verbose messages for several subsystems.
1321.1Shaya# Warning, these may compile large string tables into the kernel!
1331.1Shayaoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1341.1Shayaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1351.12Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1361.1Shaya#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1371.1Shayaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1381.1Shayaoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1391.1Shaya
1401.1Shayaoptions 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
1411.1Shaya
1421.1Shaya#
1431.1Shaya# wscons options
1441.1Shaya#
1451.1Shaya# builtin terminal emulations
1461.1Shaya#options 	WSEMUL_SUN		# sun terminal emulation
1471.1Shayaoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1481.1Shaya# different kernel output - see dev/wscons/wsdisplayvar.h
1491.1Shayaoptions 	WS_KERNEL_FG=WSCOL_GREEN
1501.1Shaya#options 	WS_KERNEL_BG=WSCOL_BLACK
1511.1Shaya# compatibility to other console drivers
1521.1Shayaoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1531.1Shayaoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1541.1Shayaoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1551.1Shayaoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1561.1Shaya# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
1571.1Shaya#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1581.1Shaya# allocate a number of virtual screens at autoconfiguration time
1591.1Shaya#options 	WSDISPLAY_DEFAULTSCREENS=4
1601.1Shaya
1611.1Shaya# Kernel root file system and dump configuration.
1621.1Shayaconfig		netbsd	root on ? type ?
1631.1Shaya#config		netbsd	root on sd0a type ffs
1641.1Shaya#config		netbsd	root on ? type nfs
1651.1Shaya
1661.1Shaya#
1671.1Shaya# Device configuration
1681.1Shaya#
1691.1Shaya
1701.1Shayamainbus0 at root
1711.1Shaya
1721.1Shaya#apm0	at mainbus0			# Advanced power management
1731.1Shaya
1741.1Shaya
1751.1Shaya# Basic Bus Support
1761.1Shaya
1771.1Shaya# PCI bus support
1781.1Shayapci*	at mainbus? bus ?
1791.1Shayapci*	at pchb? bus ?
1801.1Shayapci*	at ppb? bus ?
1811.1Shaya
1821.1Shaya# PCI bridges
1831.1Shayapchb*	at pci? dev ? function ?	# PCI-Host bridges
1841.1Shayapceb*	at pci? dev ? function ?	# PCI-EISA bridges
1851.1Shayapcib*	at pci? dev ? function ?	# PCI-ISA bridges
1861.1Shayappb*	at pci? dev ? function ?	# PCI-PCI bridges
1871.1Shaya# XXX 'puc's aren't really bridges, but there's no better place for them here
1881.1Shayapuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1891.1Shaya
1901.1Shaya# EISA bus support
1911.1Shayaeisa*	at mainbus?
1921.1Shayaeisa*	at pceb?
1931.1Shaya
1941.1Shaya# ISA bus support
1951.1Shayaisa*	at mainbus?
1961.1Shayaisa*	at pceb?
1971.1Shayaisa*	at pcib?
1981.1Shaya
1991.1Shaya# PCMCIA bus support
2001.1Shayapcmcia*	at pcic? controller ? socket ?
2011.1Shayapcmcia*	at tcic? controller ? socket ?
2021.1Shaya
2031.1Shaya# ISA PCMCIA controllers
2041.1Shayapcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
2051.1Shayapcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
2061.1Shayatcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x4000
2071.1Shaya
2081.1Shaya# PCI PCMCIA controllers
2091.1Shayapcic0	at pci? dev? function ?
2101.1Shaya
2111.1Shaya# ISA Plug-and-Play bus support
2121.1Shayaisapnp0	at isa?
2131.1Shaya
2141.1Shaya# ISA Plug-and-Play PCMCIA controllers
2151.1Shayapcic*	at isapnp?
2161.1Shaya
2171.1Shaya# CardBus bus support
2181.1Shayacardbus*	at cardslot?
2191.1Shayapcmcia*		at cardslot?
2201.1Shaya
2211.1Shayacbb*	at pci? dev? function ?
2221.1Shaya
2231.1Shayacardslot*	at cbb?	
2241.1Shaya
2251.1Shaya# Coprocessor Support
2261.1Shaya
2271.1Shaya# Math Coprocessor support
2281.1Shayanpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2291.1Shaya
2301.1Shaya
2311.1Shaya# Console Devices
2321.1Shaya
2331.1Shaya# ISA console.  You can only configure one of these!
2341.1Shaya#pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2351.1Shaya#vt0	at isa? port 0x60 irq 1		# PCVT console driver
2361.1Shaya
2371.1Shaya# Keyboard layout configuration for pccons
2381.1Shaya#options 	FRENCH_KBD
2391.1Shaya#options 	FINNISH_KBD
2401.1Shaya#options 	GERMAN_KBD
2411.1Shaya#options 	NORWEGIAN_KBD
2421.1Shaya
2431.1Shaya# wscons
2441.1Shayapckbc0	at isa?			# pc keyboard controller
2451.1Shayapckbd*	at pckbc?		# PC keyboard
2461.1Shaya# "opms" should not be enabled together with "pms" or "pmsi"
2471.1Shaya#pms*		at pckbc?		# PS/2 mouse for wsmouse
2481.1Shaya#pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
2491.1Shayaopms*		at pckbc?		# backwards compatible PS/2 mouse
2501.1Shayavga0		at isa?
2511.1Shayavga*		at pci?
2521.1Shayapcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2531.1Shayawsdisplay*	at vga? console ?
2541.1Shayawsdisplay*	at pcdisplay? console ?
2551.1Shayawskbd*	at pckbd? console ?
2561.1Shaya#wsmouse*	at pms?
2571.1Shaya#wsmouse*	at pmsi?
2581.1Shaya
2591.1Shayapcppi0	at isa?
2601.1Shayasysbeep0	at pcppi?
2611.1Shaya
2621.1Shaya# Serial Devices
2631.1Shaya
2641.1Shaya# PCI serial interfaces
2651.8Ssorencom*	at puc? port ?			# 16x50s on "universal" comm boards
2661.1Shayacy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
2671.1Shaya
2681.1Shaya# ISA Plug-and-Play serial interfaces
2691.1Shayacom*	at isapnp?			# Modems and serial boards
2701.1Shaya
2711.1Shaya# PCMCIA serial interfaces
2721.1Shayacom*	at pcmcia? function ?		# Modems and serial cards
2731.1Shaya
2741.1Shayapcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2751.1Shayacom*	at pcmcom? slave ?		# ...and the slave devices
2761.1Shaya
2771.1Shaya# ISA serial interfaces
2781.1Shaya#options 	COM_HAYESP		# adds Hayes ESP serial board support
2791.1Shayacom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2801.1Shayacom1	at isa? port 0x2f8 irq 3
2811.1Shayacom2	at isa? port 0x3e8 irq 5
2821.1Shaya#com3	at isa? port 0x2e8 irq 9
2831.1Shaya#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2841.1Shaya#com*	at ast? slave ?
2851.1Shaya#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2861.1Shaya#com*	at boca? slave ?
2871.1Shaya#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
2881.1Shaya#com*	at tcom? slave ?
2891.1Shaya#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2901.1Shaya#com*	at rtfps? slave ?
2911.1Shaya#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2921.1Shaya
2931.1Shaya
2941.1Shaya# Parallel Printer Interfaces
2951.1Shaya
2961.1Shaya# PCI parallel printer interfaces
2971.1Shayalpt*	at puc? port ?			# || ports on "universal" comm boards
2981.1Shaya
2991.1Shaya# ISA parallel printer interfaces
3001.1Shayalpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
3011.1Shayalpt1	at isa? port 0x278
3021.1Shayalpt2	at isa? port 0x3bc
3031.1Shaya
3041.1Shaya
3051.1Shaya# SCSI Controllers and Devices
3061.1Shaya
3071.1Shaya# PCI SCSI controllers
3081.1Shayaadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
3091.1Shayaadw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
3101.1Shayaahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
3111.1Shayabha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
3121.1Shayaisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
3131.1Shayancr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
3141.1Shayapcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
3151.1Shaya
3161.1Shaya# EISA SCSI controllers
3171.1Shayaahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
3181.1Shayaahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
3191.1Shayabha*	at eisa? slot ?			# BusLogic 7xx SCSI
3201.1Shayauha*	at eisa? slot ?			# UltraStor 24f SCSI
3211.1Shaya
3221.1Shaya# PCMCIA SCSI controllers
3231.1Shayaaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3241.1Shaya
3251.1Shaya# ISA Plug-and-Play SCSI controllers
3261.1Shayaaha*	at isapnp? 			# Adaptec AHA-154[02
3271.1Shayaaic*	at isapnp?			# Adaptec AHA-1520B
3281.1Shaya
3291.1Shaya# ISA SCSI controllers
3301.1Shayaaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
3311.1Shayaaha1	at isa? port 0x334 irq ? drq ?
3321.1Shayaahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
3331.1Shayaaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
3341.1Shayabha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
3351.1Shayabha1	at isa? port 0x334 irq ? drq ?
3361.1Shayanca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 contoller
3371.1Shayanca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
3381.1Shayasea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
3391.1Shayauha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
3401.1Shayauha1	at isa? port 0x340 irq ? drq ?
3411.1Shayawds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
3421.1Shayawds1	at isa? port 0x358 irq 11 drq 5
3431.1Shaya
3441.1Shaya# SCSI bus support
3451.1Shayascsibus* at adv?
3461.1Shayascsibus* at adw?
3471.1Shayascsibus* at aha?
3481.1Shayascsibus* at ahb?
3491.1Shayascsibus* at ahc?
3501.1Shayascsibus* at aic?
3511.1Shayascsibus* at bha?
3521.1Shayascsibus* at isp?
3531.1Shayascsibus* at nca?
3541.1Shayascsibus* at ncr?
3551.1Shayascsibus* at pcscp?
3561.1Shayascsibus* at sea?
3571.1Shayascsibus* at uha?
3581.1Shayascsibus* at wds?
3591.1Shaya
3601.1Shaya# SCSI devices
3611.1Shayasd*	at scsibus? target ? lun ?	# SCSI disk drives
3621.1Shayast*	at scsibus? target ? lun ?	# SCSI tape drives
3631.1Shayacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3641.1Shayach*	at scsibus? target ? lun ?	# SCSI autochangers
3651.1Shayass*	at scsibus? target ? lun ?	# SCSI scanners
3661.1Shayauk*	at scsibus? target ? lun ?	# SCSI unknown
3671.1Shaya
3681.1Shaya
3691.1Shaya# IDE and related devices
3701.1Shaya# PCI IDE controllers - see pciide(4) for supported hardware.
3711.1Shaya# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3721.1Shaya# how to set up DMA modes for this chip. This may work, or may cause
3731.1Shaya# a machine hang with some controllers.
3741.1Shayapciide* at pci ? dev ? function ? flags 0x0000
3751.1Shaya
3761.1Shaya# ISA Plug-and-Play IDE controllers
3771.1Shayawdc*	at isapnp? 
3781.1Shaya
3791.1Shaya# PCMCIA IDE controllers
3801.1Shayawdc*	at pcmcia? function ?
3811.1Shaya
3821.1Shaya# ISA ST506, ESDI, and IDE controllers
3831.1Shayawdc0	at isa? port 0x1f0 irq 14
3841.1Shayawdc1	at isa? port 0x170 irq 15
3851.1Shaya
3861.1Shaya# IDE drives
3871.1Shaya# Flags are used only with controllers that support DMA operations
3881.1Shaya# and mode settings (e.g. some pciide controllers)
3891.1Shaya# The lowest order four bits (rightmost digit) of the flags define the PIO
3901.1Shaya# mode to use, the next set of four bits the DMA mode and the third set the
3911.1Shaya# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3921.1Shaya# to use, and the last bit must be 1 for this setting to be used.
3931.1Shaya# For DMA and UDMA, 0xf (1111) means 'disable'.
3941.1Shaya# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3951.1Shaya# (0xc=1100, 0xa=1010, 0xf=1111)
3961.1Shaya# 0x0000 means "use whatever the drive claims to support".
3971.1Shayawd*	at wdc? channel ? drive ? flags 0x0000
3981.1Shayawd*	at pciide? channel ? drive ? flags 0x0000
3991.1Shaya
4001.1Shaya# ATAPI bus support
4011.1Shayaatapibus* at wdc? channel ?
4021.1Shayaatapibus* at pciide? channel ?
4031.1Shaya
4041.1Shaya# ATAPI devices
4051.1Shaya# flags have the same meaning as for IDE drives.
4061.1Shayacd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
4071.1Shayasd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
4081.1Shayauk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
4091.1Shaya
4101.1Shaya
4111.1Shaya# Miscellaneous mass storage devices
4121.1Shaya
4131.1Shaya# ISA floppy
4141.1Shayafdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
4151.1Shaya#fdc1	at isa? port 0x370 irq ? drq ?
4161.1Shayafd*	at fdc? drive ?			# the drives themselves
4171.1Shaya# some machines need you to do this instead of fd*
4181.1Shaya#fd0	at fdc0 drive 0
4191.1Shaya
4201.1Shaya# ISA CD-ROM devices
4211.1Shaya#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
4221.1Shaya
4231.1Shaya# ISA tape devices
4241.1Shaya# note: the wt driver conflicts unpleasantly with SMC boards at the
4251.1Shaya# same I/O address. The probe reprograms their EEPROMs. Don't
4261.1Shaya# uncomment it unless you are actually using it.
4271.1Shaya#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
4281.1Shaya
4291.1Shaya
4301.1Shaya# Network Interfaces
4311.1Shaya
4321.1Shaya# PCI network interfaces
4331.1Shayade*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
4341.1Shayaen*	at pci? dev ? function ?	# ENI/Adaptec ATM
4351.1Shayaep*	at pci? dev ? function ?	# 3Com 3c59x
4361.1Shayaex*	at pci? dev ? function ?	# 3Com 90x[B]
4371.1Shayaepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4381.1Shayaesh*	at pci? dev ? function ?	# Essential HIPPI card
4391.1Shayafpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4401.1Shayafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4411.1Shayale*	at pci? dev ? function ?	# PCnet-PCI Ethernet
4421.1Shayane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
4431.1Shayatl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
4441.1Shayavr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
4451.1Shayalmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
4461.1Shaya
4471.1Shaya# EISA network interfaces
4481.1Shayaep*	at eisa? slot ?			# 3Com 3c579 Ethernet
4491.1Shayafea*	at eisa? slot ?			# DEC DEFEA FDDI
4501.1Shaya
4511.1Shaya# ISA Plug-and-Play network interfaces
4521.1Shayaep*	at isapnp?			# 3Com 3c509 Ethernet
4531.1Shayane*	at isapnp?			# NE2000-compatible Ethernet
4541.1Shayatr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
4551.1Shaya
4561.1Shaya# PCMCIA network interfaces
4571.1Shayaep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4581.1Shayambe*	at pcmcia? function ?		# MB8696x based Ethernet
4591.1Shayane*	at pcmcia? function ?		# NE2000-compatible Ethernet
4601.1Shayasm*	at pcmcia? function ?		# Megahertz Ethernet
4611.1Shaya
4621.1Shaya# ISA network interfaces
4631.1Shayaate0	at isa? port 0x2a0 irq ?		# AT1700
4641.1Shayacs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
4651.1Shayaec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
4661.1Shayaeg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
4671.1Shayael0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
4681.1Shayaep0	at isa? port ? irq ?			# 3C509 ethernet cards
4691.1Shayaef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
4701.1Shayaai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
4711.1Shayafmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
4721.1Shayaix0	at isa? port 0x300 irq 10		# EtherExpress/16
4731.1Shayaiy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
4741.1Shayalc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
4751.1Shaya#depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
4761.1Shaya#le*	at depca?
4771.1Shayanele0	at isa? port 0x320 irq 9 drq 7		# NE2100
4781.1Shayale*	at nele?
4791.1Shayabicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
4801.1Shayale*	at bicc?
4811.1Shayane0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
4821.1Shayane1	at isa? port 0x300 irq 10
4831.1Shayasm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
4841.1Shayatr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
4851.1Shayatr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
4861.1Shayatr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
4871.1Shayawe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
4881.1Shayawe1	at isa? port 0x300 iomem 0xcc000 irq 10
4891.1Shaya
4901.4Sjoda# CardBus network cards
4911.5Saugustssex*	at cardbus? dev ? function ?	# 3Com 3C575TX
4921.5Saugustssfxp*	at cardbus? dev ? function ?	# Intel i8255x
4931.7Sthorpejtlp*	at cardbus? dev ? function ?	# DECchip 21143
4941.10Sthorpej
4951.10Sthorpej# CardBus SCSI cards
4961.10Sthorpejahc*	at cardbus? dev ? function ?	# Adaptec ADP-1480
4971.1Shaya
4981.1Shaya# MII/PHY support
4991.1Shayaexphy*	at mii? phy ?			# 3Com internal PHYs
5001.1Shayaicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
5011.1Shayainphy*	at mii? phy ?			# Intel 82555 PHYs
5021.1Shayalxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
5031.1Shayansphy*	at mii? phy ?			# NS83840 PHYs
5041.7Sthorpejnsphyter* at mii? phy ?			# NS83843 PHYs
5051.1Shayaqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
5061.1Shayasqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5071.1Shayatlphy*	at mii? phy ?			# ThunderLAN PHYs
5081.1Shayaukphy*	at mii? phy ?			# generic unknown PHYs
5091.1Shaya
5101.1Shaya# USB Controller and Devices
5111.1Shaya
5121.1Shaya# PCI USB controllers
5131.1Shayauhci*	at pci?				# Universal Host Controller (Intel)
5141.1Shayaohci*	at pci?				# Open Host Controller
5151.2Saugustss
5161.2Saugustss# CardBus USB controllers
5171.5Saugustssohci*	at cardbus? dev ? function ?	# Open Host Controller
5181.1Shaya
5191.1Shaya# USB bus support
5201.1Shayausb*	at uhci?
5211.1Shayausb*	at ohci?
5221.1Shaya
5231.1Shaya# USB Hubs
5241.1Shayauhub*	at usb?
5251.1Shayauhub*	at uhub? port ? configuration ? interface ?
5261.1Shaya
5271.1Shaya# USB Mice
5281.1Shayaums*	at uhub? port ? configuration ? interface ?
5291.1Shayawsmouse*	at ums?
5301.1Shaya
5311.1Shaya# USB Keyboards
5321.1Shayaukbd*	at uhub? port ? configuration ? interface ?
5331.1Shayawskbd*	at ukbd? console ?
5341.1Shaya
5351.1Shaya# USB Generic HID devices
5361.1Shayauhid*	at uhub? port ? configuration ? interface ?
5371.1Shaya
5381.1Shaya# USB Printer
5391.1Shayaulpt*	at uhub? port ? configuration ? interface ?
5401.9Saugustss
5411.9Saugustss# USB Ethernet adapters
5421.9Saugustssaue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
5431.9Saugustsscue*	at uhub? port ?		# CATC USB-EL1201A based adapters
5441.9Saugustsskue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
5451.1Shaya
5461.1Shaya# USB Generic driver
5471.1Shayaugen*	at uhub? port ? configuration ? interface ?
5481.1Shaya
5491.1Shaya# Audio Devices
5501.1Shaya
5511.1Shaya# PCI audio devices
5521.1Shayaeap*	at pci? dev ? function ?	# Ensoniq AudioPCI
5531.1Shayasv*	at pci? dev ? function ?	# S3 SonicVibes
5541.1Shaya
5551.1Shaya# ISA Plug-and-Play audio devices
5561.1Shayaess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
5571.1Shayaguspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
5581.1Shayasb*	at isapnp?			# SoundBlaster-compatible audio
5591.1Shayawss*	at isapnp?			# Windows Sound System
5601.1Shayaym*	at isapnp?			# Yamaha OPL3-SA3 audio
5611.1Shaya
5621.1Shaya# ISA audio devices
5631.1Shaya# the "aria" probe might give false hits
5641.1Shaya#aria0	at isa? port 0x290 irq 10 		# Aria
5651.1Shayagus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
5661.1Shayapas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
5671.1Shayapss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
5681.1Shayasp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
5691.1Shayasb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
5701.1Shayawss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
5711.1Shaya
5721.1Shaya# OPL[23] FM syntheziers
5731.1Shaya#opl0	at isa? port 0x388	# use only if not attached to sound card
5741.1Shayaopl*	at ess?
5751.1Shayaopl*	at sb?
5761.1Shayaopl*	at sv?
5771.1Shaya
5781.1Shaya# Audio support
5791.1Shaya#audio*	at aria?
5801.1Shayaaudio*	at eap?
5811.1Shayaaudio*	at ess?
5821.1Shayaaudio*	at gus?
5831.1Shayaaudio*	at guspnp?
5841.1Shayaaudio*	at pas?
5851.1Shayaaudio*	at sb?
5861.1Shayaaudio*	at sp?
5871.1Shayaaudio*	at sv?
5881.1Shayaaudio*	at wss?
5891.1Shayaaudio*	at ym?
5901.1Shaya
5911.1Shaya# MIDI support
5921.1Shayamidi*	at pcppi?		# MIDI interface to the PC speaker
5931.1Shayamidi*	at sb?			# SB MPU401 port
5941.1Shayamidi*	at opl?			# OPL FM synth
5951.1Shaya
5961.1Shaya# The spkr driver provides a simple tone interface to the built in speaker.
5971.1Shaya#spkr0	at pcppi?		# PC speaker
5981.1Shaya
5991.1Shaya
6001.1Shaya# Mice
6011.1Shaya
6021.1Shaya# ISA busmice
6031.1Shaya#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6041.1Shaya#lms1	at isa? port 0x238 irq 5
6051.1Shaya#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6061.1Shaya#mms1	at isa? port 0x238 irq 5
6071.1Shaya#wsmouse*	at lms?
6081.1Shaya#wsmouse*	at mms?
6091.1Shaya# backwards compatible versions
6101.1Shayaolms0	at isa? port 0x23c irq 5	# Logitech bus mouse
6111.1Shayaolms1	at isa? port 0x238 irq 5
6121.1Shayaomms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6131.1Shayaomms1	at isa? port 0x238 irq 5
6141.1Shaya#opms0	at pc? irq 12		# PS/2 auxiliary port mouse
6151.1Shaya#opms0	at vt? irq 12		# PS/2 auxiliary port mouse
6161.1Shaya
6171.1Shaya
6181.1Shaya# Joysticks
6191.1Shaya
6201.1Shaya# ISA Plug-and-Play joysticks
6211.1Shayajoy*	at isapnp?			# Game ports (usually on audio cards)
6221.1Shaya
6231.1Shaya# ISA joysticks. Probe is a little strange; add only if you have one.
6241.1Shaya#joy0	at isa? port 0x201
6251.1Shaya
6261.1Shaya
6271.1Shaya# Miscellaneous Devices
6281.1Shaya
6291.1Shaya# Planetconnect Satellite receiver driver.
6301.1Shaya#satlink0 at isa? port 0x300 drq 1
6311.1Shaya
6321.1Shaya
6331.1Shaya# Pull in optional local configuration
6341.1Shayainclude	"arch/i386/conf/GENERIC.local"
6351.1Shaya
6361.1Shaya
6371.1Shaya# Pseudo-Devices
6381.1Shaya
6391.1Shaya# disk/mass storage pseudo-devices
6401.1Shayapseudo-device	ccd		4	# concatenated/striped disk devices
6411.1Shaya#pseudo-device	raid		4	# RAIDframe disk driver
6421.1Shayapseudo-device	md		1	# memory disk device (ramdisk)
6431.1Shayapseudo-device	vnd		4	# disk-like interface to files
6441.1Shaya
6451.1Shaya# network pseudo-devices
6461.1Shayapseudo-device	bpfilter	8	# Berkeley packet filter
6471.1Shayapseudo-device	ipfilter		# IP filter (firewall) and NAT
6481.1Shayapseudo-device	loop			# network loopback
6491.1Shayapseudo-device	ppp		2	# Point-to-Point Protocol
6501.1Shayapseudo-device	sl		2	# Serial Line IP
6511.1Shayapseudo-device	strip		2	# Starmode Radio IP (Metricom)
6521.1Shayapseudo-device	tun		2	# network tunneling over tty
6531.1Shayapseudo-device	gre		2	# generic L3 over IP tunnel
6541.1Shayapseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
6551.1Shaya
6561.1Shaya# miscellaneous pseudo-devices
6571.1Shayapseudo-device	pty		64	# pseudo-terminals
6581.1Shayapseudo-device	tb		1	# tablet line discipline
6591.1Shayapseudo-device	sequencer	1	# MIDI sequencer
6601.1Shaya# rnd works; RND_COM does not on port i386 yet.
6611.1Shayapseudo-device	rnd			# /dev/random and in-kernel generator
6621.1Shaya#options 	RND_COM			# use "com" randomness as well (BROKEN)
6631.1Shaya
6641.1Shaya# a pseudo device needed for Coda	# also needs CODA (above)
6651.1Shayapseudo-device	vcoda		4	# coda minicache <-> venus comm.
666