CARDBUS revision 1.5
11.5Saugustss#	$NetBSD: CARDBUS,v 1.5 1999/11/14 23:21:48 augustss 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.1Shaya#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.1Shayaoptions 	NFSSERVER	# Network File System server
1081.1Shaya#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1091.1Shaya				# immutable) behave as system flags.
1101.1Shaya
1111.1Shaya# Networking options
1121.1Shaya#options 	GATEWAY		# packet forwarding
1131.1Shayaoptions 	INET		# IP + ICMP + TCP + UDP
1141.1Shaya#options 	MROUTING	# IP multicast routing
1151.1Shayaoptions 	NS		# XNS
1161.1Shaya#options 	NSIP		# XNS tunneling over IP
1171.1Shayaoptions 	ISO,TPIP	# OSI
1181.1Shayaoptions 	EON		# OSI tunneling over IP
1191.1Shayaoptions 	CCITT,LLC,HDLC	# X.25
1201.1Shayaoptions 	NETATALK	# AppleTalk networking protocols
1211.1Shaya#options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1221.1Shaya#options 	PPP_DEFLATE	# Deflate compression support for PPP
1231.1Shaya#options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1241.1Shaya#options 	PFIL_HOOKS	# pfil(9) packet filter hooks
1251.1Shaya#options 	IPFILTER_LOG	# ipmon(8) log support
1261.1Shaya
1271.1Shaya# Compatibility with 4.2BSD implementation of TCP/IP.  Not recommended.
1281.1Shaya#options 	TCP_COMPAT_42
1291.1Shaya
1301.1Shaya# These options enable verbose messages for several subsystems.
1311.1Shaya# Warning, these may compile large string tables into the kernel!
1321.1Shayaoptions 	EISAVERBOSE	# verbose EISA device autoconfig messages
1331.1Shayaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1341.1Shaya#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
1351.1Shayaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1361.1Shayaoptions 	USBVERBOSE	# verbose USB device autoconfig messages
1371.1Shaya
1381.1Shayaoptions 	NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM
1391.1Shaya
1401.1Shaya#
1411.1Shaya# wscons options
1421.1Shaya#
1431.1Shaya# builtin terminal emulations
1441.1Shaya#options 	WSEMUL_SUN		# sun terminal emulation
1451.1Shayaoptions 	WSEMUL_VT100		# VT100 / VT220 emulation
1461.1Shaya# different kernel output - see dev/wscons/wsdisplayvar.h
1471.1Shayaoptions 	WS_KERNEL_FG=WSCOL_GREEN
1481.1Shaya#options 	WS_KERNEL_BG=WSCOL_BLACK
1491.1Shaya# compatibility to other console drivers
1501.1Shayaoptions 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
1511.1Shayaoptions 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
1521.1Shayaoptions 	WSDISPLAY_COMPAT_USL		# VT handling
1531.1Shayaoptions 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
1541.1Shaya# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
1551.1Shaya#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
1561.1Shaya# allocate a number of virtual screens at autoconfiguration time
1571.1Shaya#options 	WSDISPLAY_DEFAULTSCREENS=4
1581.1Shaya
1591.1Shaya# Kernel root file system and dump configuration.
1601.1Shayaconfig		netbsd	root on ? type ?
1611.1Shaya#config		netbsd	root on sd0a type ffs
1621.1Shaya#config		netbsd	root on ? type nfs
1631.1Shaya
1641.1Shaya#
1651.1Shaya# Device configuration
1661.1Shaya#
1671.1Shaya
1681.1Shayamainbus0 at root
1691.1Shaya
1701.1Shaya#apm0	at mainbus0			# Advanced power management
1711.1Shaya
1721.1Shaya
1731.1Shaya# Basic Bus Support
1741.1Shaya
1751.1Shaya# PCI bus support
1761.1Shayapci*	at mainbus? bus ?
1771.1Shayapci*	at pchb? bus ?
1781.1Shayapci*	at ppb? bus ?
1791.1Shaya
1801.1Shaya# PCI bridges
1811.1Shayapchb*	at pci? dev ? function ?	# PCI-Host bridges
1821.1Shayapceb*	at pci? dev ? function ?	# PCI-EISA bridges
1831.1Shayapcib*	at pci? dev ? function ?	# PCI-ISA bridges
1841.1Shayappb*	at pci? dev ? function ?	# PCI-PCI bridges
1851.1Shaya# XXX 'puc's aren't really bridges, but there's no better place for them here
1861.1Shayapuc*	at pci? dev ? function ?	# PCI "universal" comm. cards
1871.1Shaya
1881.1Shaya# EISA bus support
1891.1Shayaeisa*	at mainbus?
1901.1Shayaeisa*	at pceb?
1911.1Shaya
1921.1Shaya# ISA bus support
1931.1Shayaisa*	at mainbus?
1941.1Shayaisa*	at pceb?
1951.1Shayaisa*	at pcib?
1961.1Shaya
1971.1Shaya# PCMCIA bus support
1981.1Shayapcmcia*	at pcic? controller ? socket ?
1991.1Shayapcmcia*	at tcic? controller ? socket ?
2001.1Shaya
2011.1Shaya# ISA PCMCIA controllers
2021.1Shayapcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000
2031.1Shayapcic1	at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000
2041.1Shayatcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x4000
2051.1Shaya
2061.1Shaya# PCI PCMCIA controllers
2071.1Shayapcic0	at pci? dev? function ?
2081.1Shaya
2091.1Shaya# ISA Plug-and-Play bus support
2101.1Shayaisapnp0	at isa?
2111.1Shaya
2121.1Shaya# ISA Plug-and-Play PCMCIA controllers
2131.1Shayapcic*	at isapnp?
2141.1Shaya
2151.1Shaya# CardBus bus support
2161.1Shayacardbus*	at cardslot?
2171.1Shayapcmcia*		at cardslot?
2181.1Shaya
2191.1Shayacbb*	at pci? dev? function ?
2201.1Shaya
2211.1Shayacardslot*	at cbb?	
2221.1Shaya
2231.1Shaya# Coprocessor Support
2241.1Shaya
2251.1Shaya# Math Coprocessor support
2261.1Shayanpx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
2271.1Shaya
2281.1Shaya
2291.1Shaya# Console Devices
2301.1Shaya
2311.1Shaya# ISA console.  You can only configure one of these!
2321.1Shaya#pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
2331.1Shaya#vt0	at isa? port 0x60 irq 1		# PCVT console driver
2341.1Shaya
2351.1Shaya# Keyboard layout configuration for pccons
2361.1Shaya#options 	FRENCH_KBD
2371.1Shaya#options 	FINNISH_KBD
2381.1Shaya#options 	GERMAN_KBD
2391.1Shaya#options 	NORWEGIAN_KBD
2401.1Shaya
2411.1Shaya# wscons
2421.1Shayapckbc0	at isa?			# pc keyboard controller
2431.1Shayapckbd*	at pckbc?		# PC keyboard
2441.1Shaya# "opms" should not be enabled together with "pms" or "pmsi"
2451.1Shaya#pms*		at pckbc?		# PS/2 mouse for wsmouse
2461.1Shaya#pmsi*		at pckbc?	# PS/2 "Intelli"mouse for wsmouse
2471.1Shayaopms*		at pckbc?		# backwards compatible PS/2 mouse
2481.1Shayavga0		at isa?
2491.1Shayavga*		at pci?
2501.1Shayapcdisplay0	at isa?			# CGA, MDA, EGA, HGA
2511.1Shayawsdisplay*	at vga? console ?
2521.1Shayawsdisplay*	at pcdisplay? console ?
2531.1Shayawskbd*	at pckbd? console ?
2541.1Shaya#wsmouse*	at pms?
2551.1Shaya#wsmouse*	at pmsi?
2561.1Shaya
2571.1Shayapcppi0	at isa?
2581.1Shayasysbeep0	at pcppi?
2591.1Shaya
2601.1Shaya# Serial Devices
2611.1Shaya
2621.1Shaya# PCI serial interfaces
2631.1Shayacom*	at puc? port ?			# 16x450s on "universal" comm boards
2641.1Shayacy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
2651.1Shaya
2661.1Shaya# ISA Plug-and-Play serial interfaces
2671.1Shayacom*	at isapnp?			# Modems and serial boards
2681.1Shaya
2691.1Shaya# PCMCIA serial interfaces
2701.1Shayacom*	at pcmcia? function ?		# Modems and serial cards
2711.1Shaya
2721.1Shayapcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
2731.1Shayacom*	at pcmcom? slave ?		# ...and the slave devices
2741.1Shaya
2751.1Shaya# ISA serial interfaces
2761.1Shaya#options 	COM_HAYESP		# adds Hayes ESP serial board support
2771.1Shayacom0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
2781.1Shayacom1	at isa? port 0x2f8 irq 3
2791.1Shayacom2	at isa? port 0x3e8 irq 5
2801.1Shaya#com3	at isa? port 0x2e8 irq 9
2811.1Shaya#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
2821.1Shaya#com*	at ast? slave ?
2831.1Shaya#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
2841.1Shaya#com*	at boca? slave ?
2851.1Shaya#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
2861.1Shaya#com*	at tcom? slave ?
2871.1Shaya#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
2881.1Shaya#com*	at rtfps? slave ?
2891.1Shaya#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
2901.1Shaya
2911.1Shaya
2921.1Shaya# Parallel Printer Interfaces
2931.1Shaya
2941.1Shaya# PCI parallel printer interfaces
2951.1Shayalpt*	at puc? port ?			# || ports on "universal" comm boards
2961.1Shaya
2971.1Shaya# ISA parallel printer interfaces
2981.1Shayalpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
2991.1Shayalpt1	at isa? port 0x278
3001.1Shayalpt2	at isa? port 0x3bc
3011.1Shaya
3021.1Shaya
3031.1Shaya# SCSI Controllers and Devices
3041.1Shaya
3051.1Shaya# PCI SCSI controllers
3061.1Shayaadv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
3071.1Shayaadw*	at pci? dev ? function ?	# AdvanSys 9xxUW SCSI
3081.1Shayaahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
3091.1Shayabha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
3101.1Shayaisp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
3111.1Shayancr*	at pci? dev ? function ?	# NCR 53c8xx SCSI
3121.1Shayapcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
3131.1Shaya
3141.1Shaya# EISA SCSI controllers
3151.1Shayaahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
3161.1Shayaahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
3171.1Shayabha*	at eisa? slot ?			# BusLogic 7xx SCSI
3181.1Shayauha*	at eisa? slot ?			# UltraStor 24f SCSI
3191.1Shaya
3201.1Shaya# PCMCIA SCSI controllers
3211.1Shayaaic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
3221.1Shaya
3231.1Shaya# ISA Plug-and-Play SCSI controllers
3241.1Shayaaha*	at isapnp? 			# Adaptec AHA-154[02
3251.1Shayaaic*	at isapnp?			# Adaptec AHA-1520B
3261.1Shaya
3271.1Shaya# ISA SCSI controllers
3281.1Shayaaha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
3291.1Shayaaha1	at isa? port 0x334 irq ? drq ?
3301.1Shayaahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
3311.1Shayaaic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
3321.1Shayabha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
3331.1Shayabha1	at isa? port 0x334 irq ? drq ?
3341.1Shayanca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 contoller
3351.1Shayanca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
3361.1Shayasea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
3371.1Shayauha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
3381.1Shayauha1	at isa? port 0x340 irq ? drq ?
3391.1Shayawds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
3401.1Shayawds1	at isa? port 0x358 irq 11 drq 5
3411.1Shaya
3421.1Shaya# SCSI bus support
3431.1Shayascsibus* at adv?
3441.1Shayascsibus* at adw?
3451.1Shayascsibus* at aha?
3461.1Shayascsibus* at ahb?
3471.1Shayascsibus* at ahc?
3481.1Shayascsibus* at aic?
3491.1Shayascsibus* at bha?
3501.1Shayascsibus* at isp?
3511.1Shayascsibus* at nca?
3521.1Shayascsibus* at ncr?
3531.1Shayascsibus* at pcscp?
3541.1Shayascsibus* at sea?
3551.1Shayascsibus* at uha?
3561.1Shayascsibus* at wds?
3571.1Shaya
3581.1Shaya# SCSI devices
3591.1Shayasd*	at scsibus? target ? lun ?	# SCSI disk drives
3601.1Shayast*	at scsibus? target ? lun ?	# SCSI tape drives
3611.1Shayacd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
3621.1Shayach*	at scsibus? target ? lun ?	# SCSI autochangers
3631.1Shayass*	at scsibus? target ? lun ?	# SCSI scanners
3641.1Shayauk*	at scsibus? target ? lun ?	# SCSI unknown
3651.1Shaya
3661.1Shaya
3671.1Shaya# IDE and related devices
3681.1Shaya# PCI IDE controllers - see pciide(4) for supported hardware.
3691.1Shaya# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3701.1Shaya# how to set up DMA modes for this chip. This may work, or may cause
3711.1Shaya# a machine hang with some controllers.
3721.1Shayapciide* at pci ? dev ? function ? flags 0x0000
3731.1Shaya
3741.1Shaya# ISA Plug-and-Play IDE controllers
3751.1Shayawdc*	at isapnp? 
3761.1Shaya
3771.1Shaya# PCMCIA IDE controllers
3781.1Shayawdc*	at pcmcia? function ?
3791.1Shaya
3801.1Shaya# ISA ST506, ESDI, and IDE controllers
3811.1Shayawdc0	at isa? port 0x1f0 irq 14
3821.1Shayawdc1	at isa? port 0x170 irq 15
3831.1Shaya
3841.1Shaya# IDE drives
3851.1Shaya# Flags are used only with controllers that support DMA operations
3861.1Shaya# and mode settings (e.g. some pciide controllers)
3871.1Shaya# The lowest order four bits (rightmost digit) of the flags define the PIO
3881.1Shaya# mode to use, the next set of four bits the DMA mode and the third set the
3891.1Shaya# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3901.1Shaya# to use, and the last bit must be 1 for this setting to be used.
3911.1Shaya# For DMA and UDMA, 0xf (1111) means 'disable'.
3921.1Shaya# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3931.1Shaya# (0xc=1100, 0xa=1010, 0xf=1111)
3941.1Shaya# 0x0000 means "use whatever the drive claims to support".
3951.1Shayawd*	at wdc? channel ? drive ? flags 0x0000
3961.1Shayawd*	at pciide? channel ? drive ? flags 0x0000
3971.1Shaya
3981.1Shaya# ATAPI bus support
3991.1Shayaatapibus* at wdc? channel ?
4001.1Shayaatapibus* at pciide? channel ?
4011.1Shaya
4021.1Shaya# ATAPI devices
4031.1Shaya# flags have the same meaning as for IDE drives.
4041.1Shayacd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
4051.1Shayasd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
4061.1Shayauk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
4071.1Shaya
4081.1Shaya
4091.1Shaya# Miscellaneous mass storage devices
4101.1Shaya
4111.1Shaya# ISA floppy
4121.1Shayafdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
4131.1Shaya#fdc1	at isa? port 0x370 irq ? drq ?
4141.1Shayafd*	at fdc? drive ?			# the drives themselves
4151.1Shaya# some machines need you to do this instead of fd*
4161.1Shaya#fd0	at fdc0 drive 0
4171.1Shaya
4181.1Shaya# ISA CD-ROM devices
4191.1Shaya#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
4201.1Shaya
4211.1Shaya# ISA tape devices
4221.1Shaya# note: the wt driver conflicts unpleasantly with SMC boards at the
4231.1Shaya# same I/O address. The probe reprograms their EEPROMs. Don't
4241.1Shaya# uncomment it unless you are actually using it.
4251.1Shaya#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
4261.1Shaya
4271.1Shaya
4281.1Shaya# Network Interfaces
4291.1Shaya
4301.1Shaya# PCI network interfaces
4311.1Shayade*	at pci? dev ? function ?	# DEC 21x4x-based Ethernet
4321.1Shayaen*	at pci? dev ? function ?	# ENI/Adaptec ATM
4331.1Shayaep*	at pci? dev ? function ?	# 3Com 3c59x
4341.1Shayaex*	at pci? dev ? function ?	# 3Com 90x[B]
4351.1Shayaepic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
4361.1Shayaesh*	at pci? dev ? function ?	# Essential HIPPI card
4371.1Shayafpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
4381.1Shayafxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
4391.1Shayale*	at pci? dev ? function ?	# PCnet-PCI Ethernet
4401.1Shayane*	at pci? dev ? function ?	# NE2000-compatible Ethernet
4411.1Shayatl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
4421.1Shayavr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
4431.1Shayalmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
4441.1Shaya
4451.1Shaya# EISA network interfaces
4461.1Shayaep*	at eisa? slot ?			# 3Com 3c579 Ethernet
4471.1Shayafea*	at eisa? slot ?			# DEC DEFEA FDDI
4481.1Shaya
4491.1Shaya# ISA Plug-and-Play network interfaces
4501.1Shayaep*	at isapnp?			# 3Com 3c509 Ethernet
4511.1Shayane*	at isapnp?			# NE2000-compatible Ethernet
4521.1Shayatr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
4531.1Shaya
4541.1Shaya# PCMCIA network interfaces
4551.1Shayaep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
4561.1Shayambe*	at pcmcia? function ?		# MB8696x based Ethernet
4571.1Shayane*	at pcmcia? function ?		# NE2000-compatible Ethernet
4581.1Shayasm*	at pcmcia? function ?		# Megahertz Ethernet
4591.1Shaya
4601.1Shaya# ISA network interfaces
4611.1Shayaate0	at isa? port 0x2a0 irq ?		# AT1700
4621.1Shayacs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
4631.1Shayaec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
4641.1Shayaeg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
4651.1Shayael0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
4661.1Shayaep0	at isa? port ? irq ?			# 3C509 ethernet cards
4671.1Shayaef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
4681.1Shayaai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
4691.1Shayafmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
4701.1Shayaix0	at isa? port 0x300 irq 10		# EtherExpress/16
4711.1Shayaiy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
4721.1Shayalc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
4731.1Shaya#depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
4741.1Shaya#le*	at depca?
4751.1Shayanele0	at isa? port 0x320 irq 9 drq 7		# NE2100
4761.1Shayale*	at nele?
4771.1Shayabicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
4781.1Shayale*	at bicc?
4791.1Shayane0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
4801.1Shayane1	at isa? port 0x300 irq 10
4811.1Shayasm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
4821.1Shayatr0	at isa? port 0xa20 iomem 0xd8000 irq ?  # IBM TROPIC based Token-Ring
4831.1Shayatr1	at isa? port 0xa24 iomem 0xd0000 irq ?  # IBM TROPIC based Token-Ring
4841.1Shayatr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
4851.1Shayawe0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
4861.1Shayawe1	at isa? port 0x300 iomem 0xcc000 irq 10
4871.1Shaya
4881.4Sjoda# CardBus network cards
4891.5Saugustssex*	at cardbus? dev ? function ?	# 3Com 3C575TX
4901.5Saugustssfxp*	at cardbus? dev ? function ?	# Intel i8255x
4911.1Shaya
4921.1Shaya# MII/PHY support
4931.1Shayaexphy*	at mii? phy ?			# 3Com internal PHYs
4941.1Shayaicsphy*	at mii? phy ?			# Integrated Circuit Systems ICS1890
4951.1Shayainphy*	at mii? phy ?			# Intel 82555 PHYs
4961.1Shayalxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
4971.1Shayansphy*	at mii? phy ?			# NS83840 PHYs
4981.1Shayaqsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
4991.1Shayasqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
5001.1Shayatlphy*	at mii? phy ?			# ThunderLAN PHYs
5011.1Shayaukphy*	at mii? phy ?			# generic unknown PHYs
5021.1Shaya
5031.1Shaya# USB Controller and Devices
5041.1Shaya
5051.1Shaya# PCI USB controllers
5061.1Shayauhci*	at pci?				# Universal Host Controller (Intel)
5071.1Shayaohci*	at pci?				# Open Host Controller
5081.2Saugustss
5091.2Saugustss# CardBus USB controllers
5101.5Saugustssohci*	at cardbus? dev ? function ?	# Open Host Controller
5111.1Shaya
5121.1Shaya# USB bus support
5131.1Shayausb*	at uhci?
5141.1Shayausb*	at ohci?
5151.1Shaya
5161.1Shaya# USB Hubs
5171.1Shayauhub*	at usb?
5181.1Shayauhub*	at uhub? port ? configuration ? interface ?
5191.1Shaya
5201.1Shaya# USB Mice
5211.1Shayaums*	at uhub? port ? configuration ? interface ?
5221.1Shayawsmouse*	at ums?
5231.1Shaya
5241.1Shaya# USB Keyboards
5251.1Shayaukbd*	at uhub? port ? configuration ? interface ?
5261.1Shayawskbd*	at ukbd? console ?
5271.1Shaya
5281.1Shaya# USB Generic HID devices
5291.1Shayauhid*	at uhub? port ? configuration ? interface ?
5301.1Shaya
5311.1Shaya# USB Printer
5321.1Shayaulpt*	at uhub? port ? configuration ? interface ?
5331.1Shaya
5341.1Shaya# USB Generic driver
5351.1Shayaugen*	at uhub? port ? configuration ? interface ?
5361.1Shaya
5371.1Shaya# Audio Devices
5381.1Shaya
5391.1Shaya# PCI audio devices
5401.1Shayaeap*	at pci? dev ? function ?	# Ensoniq AudioPCI
5411.1Shayasv*	at pci? dev ? function ?	# S3 SonicVibes
5421.1Shaya
5431.1Shaya# ISA Plug-and-Play audio devices
5441.1Shayaess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
5451.1Shayaguspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
5461.1Shayasb*	at isapnp?			# SoundBlaster-compatible audio
5471.1Shayawss*	at isapnp?			# Windows Sound System
5481.1Shayaym*	at isapnp?			# Yamaha OPL3-SA3 audio
5491.1Shaya
5501.1Shaya# ISA audio devices
5511.1Shaya# the "aria" probe might give false hits
5521.1Shaya#aria0	at isa? port 0x290 irq 10 		# Aria
5531.1Shayagus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
5541.1Shayapas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
5551.1Shayapss0	at isa? port 0x220 irq 7 drq 6  	# Personal Sound System
5561.1Shayasp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
5571.1Shayasb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
5581.1Shayawss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
5591.1Shaya
5601.1Shaya# OPL[23] FM syntheziers
5611.1Shaya#opl0	at isa? port 0x388	# use only if not attached to sound card
5621.1Shayaopl*	at ess?
5631.1Shayaopl*	at sb?
5641.1Shayaopl*	at sv?
5651.1Shaya
5661.1Shaya# Audio support
5671.1Shaya#audio*	at aria?
5681.1Shayaaudio*	at eap?
5691.1Shayaaudio*	at ess?
5701.1Shayaaudio*	at gus?
5711.1Shayaaudio*	at guspnp?
5721.1Shayaaudio*	at pas?
5731.1Shayaaudio*	at sb?
5741.1Shayaaudio*	at sp?
5751.1Shayaaudio*	at sv?
5761.1Shayaaudio*	at wss?
5771.1Shayaaudio*	at ym?
5781.1Shaya
5791.1Shaya# MIDI support
5801.1Shayamidi*	at pcppi?		# MIDI interface to the PC speaker
5811.1Shayamidi*	at sb?			# SB MPU401 port
5821.1Shayamidi*	at opl?			# OPL FM synth
5831.1Shaya
5841.1Shaya# The spkr driver provides a simple tone interface to the built in speaker.
5851.1Shaya#spkr0	at pcppi?		# PC speaker
5861.1Shaya
5871.1Shaya
5881.1Shaya# Mice
5891.1Shaya
5901.1Shaya# ISA busmice
5911.1Shaya#lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
5921.1Shaya#lms1	at isa? port 0x238 irq 5
5931.1Shaya#mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
5941.1Shaya#mms1	at isa? port 0x238 irq 5
5951.1Shaya#wsmouse*	at lms?
5961.1Shaya#wsmouse*	at mms?
5971.1Shaya# backwards compatible versions
5981.1Shayaolms0	at isa? port 0x23c irq 5	# Logitech bus mouse
5991.1Shayaolms1	at isa? port 0x238 irq 5
6001.1Shayaomms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
6011.1Shayaomms1	at isa? port 0x238 irq 5
6021.1Shaya#opms0	at pc? irq 12		# PS/2 auxiliary port mouse
6031.1Shaya#opms0	at vt? irq 12		# PS/2 auxiliary port mouse
6041.1Shaya
6051.1Shaya
6061.1Shaya# Joysticks
6071.1Shaya
6081.1Shaya# ISA Plug-and-Play joysticks
6091.1Shayajoy*	at isapnp?			# Game ports (usually on audio cards)
6101.1Shaya
6111.1Shaya# ISA joysticks. Probe is a little strange; add only if you have one.
6121.1Shaya#joy0	at isa? port 0x201
6131.1Shaya
6141.1Shaya
6151.1Shaya# Miscellaneous Devices
6161.1Shaya
6171.1Shaya# Planetconnect Satellite receiver driver.
6181.1Shaya#satlink0 at isa? port 0x300 drq 1
6191.1Shaya
6201.1Shaya
6211.1Shaya# Pull in optional local configuration
6221.1Shayainclude	"arch/i386/conf/GENERIC.local"
6231.1Shaya
6241.1Shaya
6251.1Shaya# Pseudo-Devices
6261.1Shaya
6271.1Shaya# disk/mass storage pseudo-devices
6281.1Shayapseudo-device	ccd		4	# concatenated/striped disk devices
6291.1Shaya#pseudo-device	raid		4	# RAIDframe disk driver
6301.1Shayapseudo-device	md		1	# memory disk device (ramdisk)
6311.1Shayapseudo-device	vnd		4	# disk-like interface to files
6321.1Shaya
6331.1Shaya# network pseudo-devices
6341.1Shayapseudo-device	bpfilter	8	# Berkeley packet filter
6351.1Shayapseudo-device	ipfilter		# IP filter (firewall) and NAT
6361.1Shayapseudo-device	loop			# network loopback
6371.1Shayapseudo-device	ppp		2	# Point-to-Point Protocol
6381.1Shayapseudo-device	sl		2	# Serial Line IP
6391.1Shayapseudo-device	strip		2	# Starmode Radio IP (Metricom)
6401.1Shayapseudo-device	tun		2	# network tunneling over tty
6411.1Shayapseudo-device	gre		2	# generic L3 over IP tunnel
6421.1Shayapseudo-device	ipip		2	# IP Encapsulation within IP (RFC 2003)
6431.1Shaya
6441.1Shaya# miscellaneous pseudo-devices
6451.1Shayapseudo-device	pty		64	# pseudo-terminals
6461.1Shayapseudo-device	tb		1	# tablet line discipline
6471.1Shayapseudo-device	sequencer	1	# MIDI sequencer
6481.1Shaya# rnd works; RND_COM does not on port i386 yet.
6491.1Shayapseudo-device	rnd			# /dev/random and in-kernel generator
6501.1Shaya#options 	RND_COM			# use "com" randomness as well (BROKEN)
6511.1Shaya
6521.1Shaya# a pseudo device needed for Coda	# also needs CODA (above)
6531.1Shayapseudo-device	vcoda		4	# coda minicache <-> venus comm.
654