GENERIC revision 1.102
11.102Sabs# $NetBSD: GENERIC,v 1.102 2004/06/26 07:32:05 abs Exp $
21.1Sjonathan#
31.58Sgmcgarry# GENERIC machine description file
41.58Sgmcgarry# 
51.58Sgmcgarry# This machine description file is used to generate the default NetBSD
61.58Sgmcgarry# kernel.  The generic kernel does not include all options, subsystems
71.58Sgmcgarry# and device drivers, but should be useful for most applications.
81.1Sjonathan#
91.58Sgmcgarry# The machine description file can be customised for your specific
101.58Sgmcgarry# machine to reduce the kernel size and improve its performance.
111.58Sgmcgarry#
121.58Sgmcgarry# For further information on compiling NetBSD kernels, see the config(8)
131.58Sgmcgarry# man page.
141.58Sgmcgarry#
151.58Sgmcgarry# For further information on hardware support for this architecture, see
161.58Sgmcgarry# the intro(4) man page.  For further information about kernel options
171.58Sgmcgarry# for this architecture, see the options(4) man page.  For an explanation
181.58Sgmcgarry# of each device driver in this file see the section 4 man page for the
191.58Sgmcgarry# device.
201.1Sjonathan
211.23Ssodainclude		"arch/arc/conf/std.arc"
221.24Ssoda
231.68Satatatoptions 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
241.68Satatat
251.102Sabs#ident		"GENERIC-$Revision: 1.102 $"
261.1Sjonathan
271.27Ssodamaxusers	32		# estimated number of users
281.27Ssoda
291.45Ssoda# Platform support
301.86Stsutsuioptions 	PLATFORM_ACER_PICA_61		# PICA, NEC ImageRISCstation
311.87Stsutsuioptions 	PLATFORM_DESKTECH_ARCSTATION_I	# DeskStation rPC44
321.87Stsutsuioptions 	PLATFORM_DESKTECH_TYNE		# DeskStation Tyne
331.45Ssodaoptions 	PLATFORM_MICROSOFT_JAZZ		# MIPS Magnum
341.77Stsutsuioptions 	PLATFORM_NEC_J96A		# NEC Express 5800/240 EISA R4K
351.45Ssodaoptions 	PLATFORM_NEC_JC94		# NEC Express 5800/230 PCI R4K
361.45Ssodaoptions 	PLATFORM_NEC_R94		# NEC RISCstation 2200 EISA
371.56Slukemoptions 	PLATFORM_NEC_R96	# NEC Express RISCserver, RISCserver 2200
381.45Ssodaoptions 	PLATFORM_NEC_RAX94		# NEC RISCstation 2200 PCI
391.45Ssodaoptions 	PLATFORM_NEC_RD94		# NEC RISCstation 2250
401.45Ssodaoptions 	PLATFORM_SNI_RM200PCI
411.45Ssoda
421.27Ssoda# Standard system options
431.1Sjonathan
441.23Ssodaoptions 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
451.27Ssodaoptions 	NTP		# NTP phase/frequency locked loop
461.1Sjonathan
471.27Ssodaoptions 	KTRACE		# system call tracing via ktrace(1)
481.73Sprovosoptions 	SYSTRACE	# system call vetting via systrace(1)
491.1Sjonathan
501.10Slukemoptions 	SYSVMSG		# System V-like message queues
511.10Slukemoptions 	SYSVSEM		# System V-like semaphores
521.56Slukem#options 	SEMMNI=10	# number of semaphore identifiers
531.56Slukem#options 	SEMMNS=60	# number of semaphores in system
541.56Slukem#options 	SEMUME=10	# max number of undo entries per process
551.56Slukem#options 	SEMMNU=30	# number of undo structures in system
561.10Slukemoptions 	SYSVSHM		# System V-like memory sharing
571.27Ssoda#options 	SHMMAXPGS=1024	# 1024 pages is the default
581.27Ssoda
591.27Ssodaoptions 	LKM		# loadable kernel modules
601.61Sjdolecek
611.70Slukemoptions 	USERCONF	# userconf(4) support
621.81Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
631.75Sjunyoung
641.76Swiz# Enable experimental buffer queue strategy for better responsiveness under 
651.75Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
661.75Sjunyoung#options 	NEW_BUFQ_STRATEGY
671.27Ssoda
681.27Ssoda# Diagnostic/debugging support options
691.55Slukemoptions 	DIAGNOSTIC		# cheap kernel consistency checks
701.55Slukem#options 	DEBUG			# expensive debugging checks/support
711.55Slukem#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
721.55Slukemoptions 	DDB			# in-kernel debugger
731.27Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
741.55Slukem#options 	KGDB			# remote gdb
751.55Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
761.55Slukem#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
771.55Slukem#makeoptions	DEBUG="-g"		# compile full symbol table
781.81Stsutsuioptions 	SYMTAB_SPACE=262144
791.27Ssoda
801.27Ssoda# Compatibility options
811.47Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
821.27Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
831.27Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
841.27Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
851.27Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
861.27Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
871.92Stsutsuioptions 	COMPAT_16	# NetBSD 1.6,
881.27Ssodaoptions 	COMPAT_43	# and 4.3BSD
891.27Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
901.27Ssoda
911.27Ssoda# mipsel specific
921.27Ssodaoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
931.27Ssodaoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
941.1Sjonathan
951.27Ssoda# File systems
961.6Sthorpejfile-system 	FFS		# fast filesystem
971.27Ssodafile-system 	EXT2FS		# second extended file system (linux)
981.27Ssodafile-system 	LFS		# log-structured file system
991.27Ssodafile-system 	MFS		# memory file system
1001.27Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
1011.23Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1021.27Ssodafile-system 	MSDOSFS		# MS-DOS file system
1031.27Ssodafile-system 	NFS		# Network File System client
1041.27Ssodafile-system 	FDESC		# /dev/fd
1051.27Ssodafile-system 	KERNFS		# /kern
1061.27Ssodafile-system 	NULLFS		# loopback file system
1071.27Ssodafile-system 	OVERLAY		# overlay file system
1081.27Ssodafile-system 	PORTAL		# portal filesystem (still experimental)
1091.27Ssodafile-system 	PROCFS		# /proc
1101.27Ssodafile-system 	UMAPFS		# NULLFS + uid and gid remapping
1111.27Ssodafile-system 	UNION		# union file system
1121.27Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
1131.6Sthorpej
1141.27Ssoda# File system options
1151.10Slukemoptions 	QUOTA		# FFS quotas
1161.27Ssoda#options 	FFS_EI		# FFS Endian Independent support
1171.34Sfvdloptions 	SOFTDEP		# FFS soft updates support.
1181.27Ssodaoptions 	NFSSERVER	# Network File System server
1191.27Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1201.27Ssoda				# immutable) behave as system flags.
1211.20Sitojun
1221.1Sjonathan# Networking options
1231.23Ssoda#options 	GATEWAY		# IP packet forwarding
1241.27Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
1251.27Ssodaoptions 	INET6		# IPV6
1261.20Sitojun#options 	IPSEC		# IP security
1271.20Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1281.20Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1291.27Ssoda#options 	MROUTING	# IP multicast routing
1301.27Ssodaoptions 	NS		# XNS
1311.27Ssoda#options 	NSIP		# XNS tunneling over IP
1321.27Ssodaoptions 	ISO,TPIP	# OSI networking
1331.36Ssommerfe#options 	EON		# OSI tunneling over IP
1341.27Ssodaoptions 	CCITT,LLC,HDLC	# X.25
1351.27Ssodaoptions 	NETATALK	# AppleTalk networking protocols
1361.27Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1371.27Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1381.27Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1391.27Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1401.27Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1411.72Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1421.47Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1431.27Ssoda
1441.102Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1451.102Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1461.102Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1471.102Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1481.102Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1491.102Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1501.102Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1511.102Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1521.102Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1531.102Sabs#options 	ALTQ_RED	# Random Early Detection
1541.102Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1551.102Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1561.102Sabs
1571.27Ssoda# These options enable verbose messages for several subsystems.
1581.27Ssoda# Warning, these may compile large string tables into the kernel!
1591.27Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1601.79Stsutsuioptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1611.31Ssodaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1621.28Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1631.27Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1641.37Sur
1651.37Sur# wscons terminal emulation
1661.37Suroptions 	WSEMUL_VT100	# VT100 emulation
1671.23Ssoda
1681.25Ssoda# Kernel root file system and dump configuration.
1691.27Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1701.27Ssodaconfig		netbsd	root on ? type ?
1711.27Ssoda#config		netbsd	root on sd0a type ffs
1721.27Ssoda#config		netbsd	root on ? type nfs
1731.1Sjonathan
1741.23Ssoda#
1751.27Ssoda# Device configuration
1761.23Ssoda#
1771.27Ssoda
1781.1Sjonathanmainbus0	at root
1791.1Sjonathancpu*		at mainbus0
1801.1Sjonathan
1811.41Sur#### Jazz-Internal bus devices
1821.23Ssoda
1831.45Ssoda# PLATFORM_ACER_PICA_61
1841.45Ssoda# PLATFORM_MICROSOFT_JAZZ
1851.77Stsutsui# PLATFORM_NEC_J96A
1861.45Ssoda# PLATFORM_NEC_JC94
1871.45Ssoda# PLATFORM_NEC_R94
1881.45Ssoda# PLATFORM_NEC_R96
1891.45Ssoda# PLATFORM_NEC_RAX94
1901.45Ssoda# PLATFORM_NEC_RD94
1911.45Ssodajazzio*		at mainbus0	# Jazz-Internal bus host bridge.
1921.45Ssoda
1931.45Ssodatimer0		at jazzio?
1941.45Ssodamcclock0 	at jazzio?
1951.41Sur#pc0		at jazzio?
1961.41Sur#opms0		at jazzio?
1971.41Survga0		at jazzio?	# Jazz localbus VGA
1981.41Surpckbc0		at jazzio?	# PC keyboard controller
1991.41Surcom0		at jazzio?
2001.41Surcom1		at jazzio?
2011.41Surlpt0		at jazzio?
2021.41Sursn0		at jazzio?
2031.1Sjonathan
2041.41Surfdc0		at jazzio?
2051.1Sjonathanfd*		at fdc? drive ?
2061.1Sjonathan
2071.85Stsutsuiasc0		at jazzio? flags 0x000000	# NCR53C9x SCSI
2081.83Stsutsuiosiop*		at jazzio? flags 0x00000	# NCR53C710 SCSI
2091.83Stsutsuioosiop* 	at jazzio?			# NCR53C700 SCSI
2101.33Ssoda
2111.27Ssoda#### ISA bus devices
2121.23Ssoda
2131.45Ssoda# PLATFORM_ACER_PICA_61
2141.45Ssoda# PLATFORM_MICROSOFT_JAZZ
2151.77Stsutsui# PLATFORM_NEC_J96A
2161.45Ssoda# PLATFORM_NEC_R94
2171.45Ssoda# PLATFORM_NEC_R96
2181.45Ssodajazzisabr*	at mainbus0	# Jazz-(E)ISA bus bridge.
2191.45Ssodaisa*		at jazzisabr?
2201.45Ssoda
2211.45Ssoda# PLATFORM_DESKTECH_ARCSTATION_I
2221.87Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
2231.45Ssodaisa*		at arcsisabr?
2241.45Ssoda
2251.45Ssoda# PLATFORM_DESKTECH_TYNE
2261.87Stsutsuityneisabr*	at mainbus0	# DeskStation Tyne ISA host bridge.
2271.45Ssodaisa*		at tyneisabr?
2281.45Ssoda
2291.27Ssoda#isadma0 	at isa?
2301.23Ssoda
2311.90Stsutsuiisapnp0 	at isa?
2321.90Stsutsui
2331.45Ssodatimer0		at isa? port 0x40 irq 0
2341.45Ssodamcclock0 	at isa? port 0x70
2351.23Ssoda
2361.88Stsutsui#pc0		at isa? irq 1			# generic PC console device
2371.88Stsutsui#opms0		at isa? irq 12			# PS/2 auxiliary port mouse
2381.80Stsutsuivga0		at isa?
2391.80Stsutsui#options 	VGA_RASTERCONSOLE
2401.80Stsutsuioptions 	VGA_RESET
2411.88Stsutsuipckbc0		at isa?				# PC keyboard controller
2421.23Ssodacom0		at isa? port 0x3f8 irq 4
2431.23Ssodacom1		at isa? port 0x2f8 irq 3
2441.23Ssodacom2		at isa? port 0x3e8 irq 4
2451.23Ssodacom3		at isa? port 0x2e8 irq 3
2461.27Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
2471.27Ssodacom*		at ast? slave ?
2481.27Ssoda
2491.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
2501.27Ssoda#joy0		at isa? port 0x201
2511.23Ssoda
2521.23Ssoda# ISA ST506, ESDI, and IDE controllers
2531.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
2541.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
2551.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
2561.90Stsutsuiwdc0		at isa? port 0x1f0 irq 14 flags 0x00
2571.27Ssoda#wdc1		at isa? port 0x170 irq 15 flags 0x00
2581.90Stsutsuiwdc*		at isapnp?
2591.23Ssoda
2601.27Ssoda# ISA parallel printer interfaces
2611.27Ssodalpt0		at isa? port 0x378 irq 7
2621.27Ssoda
2631.27Ssoda# ISA network interfaces
2641.27Ssoda#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2651.90Stsutsuiep*		at isa? port ? irq ?		# 3C509 ethernet cards
2661.90Stsutsuiep*		at isapnp?			# 3C509B ethernet card
2671.90Stsutsuine0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2681.90Stsutsuine1		at isa? port 0x300 irq 10
2691.90Stsutsuine*		at isapnp?			# NE[12]000 PnP ethernet
2701.90Stsutsuiwe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2711.90Stsutsuiwe1		at isa? port 0x300 iomem 0xcc000 irq 10
2721.23Ssoda
2731.27Ssoda# XXX - should be configured
2741.27Ssoda#btl0		at isa? port 0x330 irq ? drq ?
2751.23Ssoda
2761.27Ssoda#### PCI bus devices
2771.23Ssoda
2781.45Ssoda# PLATFORM_NEC_JC94
2791.45Ssoda# PLATFORM_NEC_RAX94
2801.45Ssoda# PLATFORM_NEC_RD94
2811.31Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
2821.31Ssodapci*		at necpb?
2831.23Ssoda
2841.98Sjonathan# PCI cryptographic devices
2851.98Sjonathanhifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
2861.98Sjonathanubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
2871.98Sjonathan
2881.80Stsutsui#vga*	 	at pci? dev ? function ?
2891.43Stsutsuitga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
2901.43Stsutsui
2911.43Stsutsuiahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2921.44Stsutsuiiha*		at pci? dev ? function ?	# Initio INIC-940/950 SCSI
2931.52Stsutsuipcscp*		at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
2941.51Stsutsuisiop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
2951.91Sbouyeresiop*		at pci? dev ? function ?	# NCR/Symbios 53c875/95/1010
2961.53Stsutsuitrm*		at pci? dev ? function ?	# Tekram DC-395/315 SCSI
2971.31Ssoda
2981.31Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
2991.31Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3001.31Ssoda# how to set up DMA modes for this chip. This may work, or may cause
3011.31Ssoda# a machine hang with some controllers.
3021.94Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
3031.94Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
3041.95Stsutsui#aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
3051.97Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
3061.94Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
3071.94Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
3081.94Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
3091.94Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
3101.95Stsutsui#piixide* 	at pci? dev ? function ?	# Intel IDE controllers
3111.94Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
3121.96Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
3131.95Stsutsui#siside* 	at pci? dev ? function ?	# SiS IDE controllers
3141.94Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
3151.95Stsutsui#viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
3161.95Stsutsui
3171.95Stsutsuiepic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
3181.95Stsutsuiex*		at pci? dev ? function ?	# 3Com 90x[BC]
3191.95Stsutsuifxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
3201.95Stsutsuine*		at pci? dev ? function ?	# NE2000-compatible
3211.95Stsutsuipcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
3221.95Stsutsuirtk*		at pci? dev ? function ?	# Realtek 8129/8139
3231.95Stsutsuisip*		at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
3241.95Stsutsuitlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
3251.31Ssoda
3261.31Ssoda#### MII/PHY support
3271.31Ssoda
3281.31Ssodaexphy*		at mii? phy ?		# 3Com internal PHYs
3291.62Swizicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
3301.31Ssodainphy*		at mii? phy ?		# Intel 82555 PHYs
3311.31Ssodaiophy*		at mii? phy ?		# Intel 82553 PHYs
3321.31Ssodalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
3331.31Ssodansphy*		at mii? phy ?		# NS83840 PHYs
3341.31Ssodansphyter*	at mii? phy ?		# NS83843 PHYs
3351.31Ssodaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
3361.31Ssodasqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
3371.31Ssodatlphy*		at mii? phy ?		# ThunderLAN PHYs
3381.31Ssodatqphy*		at mii? phy ?		# TDK Semiconductor PHYs
3391.31Ssodaukphy*		at mii? phy ?		# generic unknown PHYs
3401.31Ssoda
3411.95Stsutsui# SCSI bus support
3421.95Stsutsuiscsibus*	at scsi?
3431.95Stsutsui
3441.27Ssoda#### SCSI bus devices
3451.23Ssoda
3461.1Sjonathansd*		at scsibus? target ? lun ?
3471.1Sjonathanst*		at scsibus? target ? lun ?
3481.1Sjonathancd*		at scsibus? target ? lun ?
3491.23Ssodach*		at scsibus? target ? lun ?
3501.23Ssodass*		at scsibus? target ? lun ?
3511.23Ssodauk*		at scsibus? target ? lun ?
3521.95Stsutsui
3531.95Stsutsui# ATA (IDE) bus support
3541.95Stsutsuiatabus* 	at ata?
3551.95Stsutsui
3561.95Stsutsui# IDE drives
3571.95Stsutsui# Flags are used only with controllers that support DMA operations
3581.95Stsutsui# and mode settings (e.g. some pciide controllers)
3591.95Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO
3601.95Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the
3611.95Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3621.95Stsutsui# to use, and the last bit must be 1 for this setting to be used.
3631.95Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'.
3641.95Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3651.95Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111)
3661.95Stsutsui# 0x0000 means "use whatever the drive claims to support".
3671.95Stsutsuiwd*		at atabus? drive ? flags 0x0000
3681.95Stsutsui
3691.95Stsutsui# ATAPI bus support
3701.95Stsutsuiatapibus*	at atapi?
3711.31Ssoda
3721.31Ssoda#### ATAPI bus devices
3731.31Ssoda
3741.31Ssoda# flags have the same meaning as for IDE drives.
3751.31Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
3761.31Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
3771.31Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
3781.33Ssoda
3791.33Ssoda#### Workstation Console attachments
3801.33Ssoda
3811.33Ssodawsdisplay*	at vga?
3821.33Ssodawsdisplay*	at tga?
3831.33Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
3841.33Ssodawskbd*		at pckbd?
3851.33Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
3861.33Ssodawsmouse*	at pms?
3871.23Ssoda
3881.27Ssoda#### Pseudo devices
3891.1Sjonathan
3901.98Sjonathanpseudo-device 	crypto			# opencrypto framework
3911.98Sjonathan
3921.27Ssoda# disk/mass storage pseudo-devices
3931.27Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
3941.74Selric#pseudo-device	cgd		4	# cryptographic disk devices
3951.60Sosterpseudo-device	raid		8	# RAIDframe disk driver
3961.60Soster# Options to enable various other RAIDframe RAID types.
3971.81Stsutsui#options 	RF_INCLUDE_EVENODD=1
3981.81Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
3991.81Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
4001.81Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
4011.81Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
4021.81Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
4031.81Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
4041.27Ssodapseudo-device	md		1	# memory disk device (ramdisk)
4051.27Ssodapseudo-device	vnd		4	# disk-like interface to files
4061.27Ssoda
4071.27Ssoda# network pseudo-devices
4081.27Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
4091.27Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
4101.27Ssodapseudo-device	loop		1	# network loopback
4111.27Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
4121.59Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
4131.27Ssodapseudo-device	sl		2	# Serial Line IP
4141.27Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
4151.27Ssodapseudo-device	tun		2	# network tunneling over tty
4161.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
4171.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
4181.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
4191.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
4201.40Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
4211.57Satatatpseudo-device	bridge			# simple inter-network bridging
4221.82Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
4231.23Ssoda
4241.27Ssoda# miscellaneous pseudo-devices
4251.39Sjdolecekpseudo-device	pty			# pseudo-terminals
4261.27Ssodapseudo-device	tb		1	# tablet line discipline
4271.27Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
4281.27Ssoda# rnd works; RND_COM does not on port arc yet.
4291.27Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
4301.27Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
4311.69Slukempseudo-device	clockctl		# user control of clock subsystem
4321.27Ssoda
4331.27Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
4341.27Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
4351.27Ssoda
4361.27Ssoda# mouse & keyboard multiplexor pseudo-devices
4371.54Saugustss#pseudo-device	wsmux
4381.84Sraggepseudo-device	ksyms			# /dev/ksyms
4391.101Sitojun#pseudo-device	pf			# PF packet filter
4401.101Sitojun#pseudo-device	pflog			# PF log if
441