GENERIC revision 1.104
11.104Satatat# $NetBSD: GENERIC,v 1.104 2004/07/15 03:53:45 atatat 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.104Satatat#ident		"GENERIC-$Revision: 1.104 $"
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.103Sbouyeroptions 	P1003_1B_SEMAPHORE # p1003.1b semaphore support
591.27Ssoda
601.27Ssodaoptions 	LKM		# loadable kernel modules
611.61Sjdolecek
621.70Slukemoptions 	USERCONF	# userconf(4) support
631.81Stsutsui#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
641.104Satatatoptions 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
651.75Sjunyoung
661.76Swiz# Enable experimental buffer queue strategy for better responsiveness under 
671.75Sjunyoung# high disk I/O load. Use it with caution - it's not proven to be stable yet.
681.75Sjunyoung#options 	NEW_BUFQ_STRATEGY
691.27Ssoda
701.27Ssoda# Diagnostic/debugging support options
711.55Slukemoptions 	DIAGNOSTIC		# cheap kernel consistency checks
721.55Slukem#options 	DEBUG			# expensive debugging checks/support
731.55Slukem#options 	KMEMSTATS		# kernel memory statistics (vmstat -m)
741.55Slukemoptions 	DDB			# in-kernel debugger
751.27Ssoda#options 	DDB_HISTORY_SIZE=100	# enable history editing in DDB
761.55Slukem#options 	KGDB			# remote gdb
771.55Slukem#options 	KGDB_DEVRATE=19200	# kernel gdb port rate (default 9600)
781.55Slukem#options 	KGDB_DEV="17*256+0"	# device for kernel gdb
791.55Slukem#makeoptions	DEBUG="-g"		# compile full symbol table
801.81Stsutsuioptions 	SYMTAB_SPACE=262144
811.27Ssoda
821.27Ssoda# Compatibility options
831.47Sabs#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
841.27Ssodaoptions 	COMPAT_10	# NetBSD 1.0,
851.27Ssodaoptions 	COMPAT_11	# NetBSD 1.1,
861.27Ssodaoptions 	COMPAT_12	# NetBSD 1.2,
871.27Ssodaoptions 	COMPAT_13	# NetBSD 1.3,
881.27Ssodaoptions 	COMPAT_14	# NetBSD 1.4,
891.92Stsutsuioptions 	COMPAT_16	# NetBSD 1.6,
901.27Ssodaoptions 	COMPAT_43	# and 4.3BSD
911.27Ssodaoptions 	COMPAT_386BSD_MBRPART # recognize old partition ID
921.27Ssoda
931.27Ssoda# mipsel specific
941.27Ssodaoptions 	COMPAT_ULTRIX	# Ultrix binary compatibility
951.27Ssodaoptions 	EXEC_ECOFF	# Ultrix RISC binaries are ECOFF format
961.1Sjonathan
971.27Ssoda# File systems
981.6Sthorpejfile-system 	FFS		# fast filesystem
991.27Ssodafile-system 	EXT2FS		# second extended file system (linux)
1001.27Ssodafile-system 	LFS		# log-structured file system
1011.27Ssodafile-system 	MFS		# memory file system
1021.27Ssodafile-system 	NTFS		# Windows/NT file system (experimental)
1031.23Ssodafile-system 	CD9660		# ISO 9660 + Rock Ridge file system
1041.27Ssodafile-system 	MSDOSFS		# MS-DOS file system
1051.27Ssodafile-system 	NFS		# Network File System client
1061.27Ssodafile-system 	FDESC		# /dev/fd
1071.27Ssodafile-system 	KERNFS		# /kern
1081.27Ssodafile-system 	NULLFS		# loopback file system
1091.27Ssodafile-system 	OVERLAY		# overlay file system
1101.27Ssodafile-system 	PORTAL		# portal filesystem (still experimental)
1111.27Ssodafile-system 	PROCFS		# /proc
1121.27Ssodafile-system 	UMAPFS		# NULLFS + uid and gid remapping
1131.27Ssodafile-system 	UNION		# union file system
1141.27Ssoda#file-system	CODA		# Coda File System; also needs vcoda (below)
1151.6Sthorpej
1161.27Ssoda# File system options
1171.10Slukemoptions 	QUOTA		# FFS quotas
1181.27Ssoda#options 	FFS_EI		# FFS Endian Independent support
1191.34Sfvdloptions 	SOFTDEP		# FFS soft updates support.
1201.27Ssodaoptions 	NFSSERVER	# Network File System server
1211.27Ssoda#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
1221.27Ssoda				# immutable) behave as system flags.
1231.20Sitojun
1241.1Sjonathan# Networking options
1251.23Ssoda#options 	GATEWAY		# IP packet forwarding
1261.27Ssodaoptions 	INET		# IP + ICMP + TCP + UDP
1271.27Ssodaoptions 	INET6		# IPV6
1281.20Sitojun#options 	IPSEC		# IP security
1291.20Sitojun#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
1301.20Sitojun#options 	IPSEC_DEBUG	# debug for IP security
1311.27Ssoda#options 	MROUTING	# IP multicast routing
1321.27Ssodaoptions 	NS		# XNS
1331.27Ssoda#options 	NSIP		# XNS tunneling over IP
1341.27Ssodaoptions 	ISO,TPIP	# OSI networking
1351.36Ssommerfe#options 	EON		# OSI tunneling over IP
1361.27Ssodaoptions 	CCITT,LLC,HDLC	# X.25
1371.27Ssodaoptions 	NETATALK	# AppleTalk networking protocols
1381.27Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1391.27Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1401.27Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1411.27Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1421.27Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1431.72Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1441.47Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1451.27Ssoda
1461.102Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1471.102Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1481.102Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1491.102Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1501.102Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1511.102Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1521.102Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1531.102Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1541.102Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1551.102Sabs#options 	ALTQ_RED	# Random Early Detection
1561.102Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1571.102Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1581.102Sabs
1591.27Ssoda# These options enable verbose messages for several subsystems.
1601.27Ssoda# Warning, these may compile large string tables into the kernel!
1611.27Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1621.79Stsutsuioptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1631.31Ssodaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1641.28Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1651.27Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1661.37Sur
1671.37Sur# wscons terminal emulation
1681.37Suroptions 	WSEMUL_VT100	# VT100 emulation
1691.23Ssoda
1701.25Ssoda# Kernel root file system and dump configuration.
1711.27Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1721.27Ssodaconfig		netbsd	root on ? type ?
1731.27Ssoda#config		netbsd	root on sd0a type ffs
1741.27Ssoda#config		netbsd	root on ? type nfs
1751.1Sjonathan
1761.23Ssoda#
1771.27Ssoda# Device configuration
1781.23Ssoda#
1791.27Ssoda
1801.1Sjonathanmainbus0	at root
1811.1Sjonathancpu*		at mainbus0
1821.1Sjonathan
1831.41Sur#### Jazz-Internal bus devices
1841.23Ssoda
1851.45Ssoda# PLATFORM_ACER_PICA_61
1861.45Ssoda# PLATFORM_MICROSOFT_JAZZ
1871.77Stsutsui# PLATFORM_NEC_J96A
1881.45Ssoda# PLATFORM_NEC_JC94
1891.45Ssoda# PLATFORM_NEC_R94
1901.45Ssoda# PLATFORM_NEC_R96
1911.45Ssoda# PLATFORM_NEC_RAX94
1921.45Ssoda# PLATFORM_NEC_RD94
1931.45Ssodajazzio*		at mainbus0	# Jazz-Internal bus host bridge.
1941.45Ssoda
1951.45Ssodatimer0		at jazzio?
1961.45Ssodamcclock0 	at jazzio?
1971.41Sur#pc0		at jazzio?
1981.41Sur#opms0		at jazzio?
1991.41Survga0		at jazzio?	# Jazz localbus VGA
2001.41Surpckbc0		at jazzio?	# PC keyboard controller
2011.41Surcom0		at jazzio?
2021.41Surcom1		at jazzio?
2031.41Surlpt0		at jazzio?
2041.41Sursn0		at jazzio?
2051.1Sjonathan
2061.41Surfdc0		at jazzio?
2071.1Sjonathanfd*		at fdc? drive ?
2081.1Sjonathan
2091.85Stsutsuiasc0		at jazzio? flags 0x000000	# NCR53C9x SCSI
2101.83Stsutsuiosiop*		at jazzio? flags 0x00000	# NCR53C710 SCSI
2111.83Stsutsuioosiop* 	at jazzio?			# NCR53C700 SCSI
2121.33Ssoda
2131.27Ssoda#### ISA bus devices
2141.23Ssoda
2151.45Ssoda# PLATFORM_ACER_PICA_61
2161.45Ssoda# PLATFORM_MICROSOFT_JAZZ
2171.77Stsutsui# PLATFORM_NEC_J96A
2181.45Ssoda# PLATFORM_NEC_R94
2191.45Ssoda# PLATFORM_NEC_R96
2201.45Ssodajazzisabr*	at mainbus0	# Jazz-(E)ISA bus bridge.
2211.45Ssodaisa*		at jazzisabr?
2221.45Ssoda
2231.45Ssoda# PLATFORM_DESKTECH_ARCSTATION_I
2241.87Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
2251.45Ssodaisa*		at arcsisabr?
2261.45Ssoda
2271.45Ssoda# PLATFORM_DESKTECH_TYNE
2281.87Stsutsuityneisabr*	at mainbus0	# DeskStation Tyne ISA host bridge.
2291.45Ssodaisa*		at tyneisabr?
2301.45Ssoda
2311.27Ssoda#isadma0 	at isa?
2321.23Ssoda
2331.90Stsutsuiisapnp0 	at isa?
2341.90Stsutsui
2351.45Ssodatimer0		at isa? port 0x40 irq 0
2361.45Ssodamcclock0 	at isa? port 0x70
2371.23Ssoda
2381.88Stsutsui#pc0		at isa? irq 1			# generic PC console device
2391.88Stsutsui#opms0		at isa? irq 12			# PS/2 auxiliary port mouse
2401.80Stsutsuivga0		at isa?
2411.80Stsutsui#options 	VGA_RASTERCONSOLE
2421.80Stsutsuioptions 	VGA_RESET
2431.88Stsutsuipckbc0		at isa?				# PC keyboard controller
2441.23Ssodacom0		at isa? port 0x3f8 irq 4
2451.23Ssodacom1		at isa? port 0x2f8 irq 3
2461.23Ssodacom2		at isa? port 0x3e8 irq 4
2471.23Ssodacom3		at isa? port 0x2e8 irq 3
2481.27Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
2491.27Ssodacom*		at ast? slave ?
2501.27Ssoda
2511.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
2521.27Ssoda#joy0		at isa? port 0x201
2531.23Ssoda
2541.23Ssoda# ISA ST506, ESDI, and IDE controllers
2551.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
2561.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
2571.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
2581.90Stsutsuiwdc0		at isa? port 0x1f0 irq 14 flags 0x00
2591.27Ssoda#wdc1		at isa? port 0x170 irq 15 flags 0x00
2601.90Stsutsuiwdc*		at isapnp?
2611.23Ssoda
2621.27Ssoda# ISA parallel printer interfaces
2631.27Ssodalpt0		at isa? port 0x378 irq 7
2641.27Ssoda
2651.27Ssoda# ISA network interfaces
2661.27Ssoda#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2671.90Stsutsuiep*		at isa? port ? irq ?		# 3C509 ethernet cards
2681.90Stsutsuiep*		at isapnp?			# 3C509B ethernet card
2691.90Stsutsuine0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2701.90Stsutsuine1		at isa? port 0x300 irq 10
2711.90Stsutsuine*		at isapnp?			# NE[12]000 PnP ethernet
2721.90Stsutsuiwe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2731.90Stsutsuiwe1		at isa? port 0x300 iomem 0xcc000 irq 10
2741.23Ssoda
2751.27Ssoda# XXX - should be configured
2761.27Ssoda#btl0		at isa? port 0x330 irq ? drq ?
2771.23Ssoda
2781.27Ssoda#### PCI bus devices
2791.23Ssoda
2801.45Ssoda# PLATFORM_NEC_JC94
2811.45Ssoda# PLATFORM_NEC_RAX94
2821.45Ssoda# PLATFORM_NEC_RD94
2831.31Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
2841.31Ssodapci*		at necpb?
2851.23Ssoda
2861.98Sjonathan# PCI cryptographic devices
2871.98Sjonathanhifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
2881.98Sjonathanubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
2891.98Sjonathan
2901.80Stsutsui#vga*	 	at pci? dev ? function ?
2911.43Stsutsuitga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
2921.43Stsutsui
2931.43Stsutsuiahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2941.44Stsutsuiiha*		at pci? dev ? function ?	# Initio INIC-940/950 SCSI
2951.52Stsutsuipcscp*		at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
2961.51Stsutsuisiop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
2971.91Sbouyeresiop*		at pci? dev ? function ?	# NCR/Symbios 53c875/95/1010
2981.53Stsutsuitrm*		at pci? dev ? function ?	# Tekram DC-395/315 SCSI
2991.31Ssoda
3001.31Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
3011.31Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3021.31Ssoda# how to set up DMA modes for this chip. This may work, or may cause
3031.31Ssoda# a machine hang with some controllers.
3041.94Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
3051.94Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
3061.95Stsutsui#aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
3071.97Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
3081.94Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
3091.94Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
3101.94Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
3111.94Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
3121.95Stsutsui#piixide* 	at pci? dev ? function ?	# Intel IDE controllers
3131.94Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
3141.96Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
3151.95Stsutsui#siside* 	at pci? dev ? function ?	# SiS IDE controllers
3161.94Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
3171.95Stsutsui#viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
3181.95Stsutsui
3191.95Stsutsuiepic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
3201.95Stsutsuiex*		at pci? dev ? function ?	# 3Com 90x[BC]
3211.95Stsutsuifxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
3221.95Stsutsuine*		at pci? dev ? function ?	# NE2000-compatible
3231.95Stsutsuipcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
3241.95Stsutsuirtk*		at pci? dev ? function ?	# Realtek 8129/8139
3251.95Stsutsuisip*		at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
3261.95Stsutsuitlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
3271.31Ssoda
3281.31Ssoda#### MII/PHY support
3291.31Ssoda
3301.31Ssodaexphy*		at mii? phy ?		# 3Com internal PHYs
3311.62Swizicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
3321.31Ssodainphy*		at mii? phy ?		# Intel 82555 PHYs
3331.31Ssodaiophy*		at mii? phy ?		# Intel 82553 PHYs
3341.31Ssodalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
3351.31Ssodansphy*		at mii? phy ?		# NS83840 PHYs
3361.31Ssodansphyter*	at mii? phy ?		# NS83843 PHYs
3371.31Ssodaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
3381.31Ssodasqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
3391.31Ssodatlphy*		at mii? phy ?		# ThunderLAN PHYs
3401.31Ssodatqphy*		at mii? phy ?		# TDK Semiconductor PHYs
3411.31Ssodaukphy*		at mii? phy ?		# generic unknown PHYs
3421.31Ssoda
3431.95Stsutsui# SCSI bus support
3441.95Stsutsuiscsibus*	at scsi?
3451.95Stsutsui
3461.27Ssoda#### SCSI bus devices
3471.23Ssoda
3481.1Sjonathansd*		at scsibus? target ? lun ?
3491.1Sjonathanst*		at scsibus? target ? lun ?
3501.1Sjonathancd*		at scsibus? target ? lun ?
3511.23Ssodach*		at scsibus? target ? lun ?
3521.23Ssodass*		at scsibus? target ? lun ?
3531.23Ssodauk*		at scsibus? target ? lun ?
3541.95Stsutsui
3551.95Stsutsui# ATA (IDE) bus support
3561.95Stsutsuiatabus* 	at ata?
3571.95Stsutsui
3581.95Stsutsui# IDE drives
3591.95Stsutsui# Flags are used only with controllers that support DMA operations
3601.95Stsutsui# and mode settings (e.g. some pciide controllers)
3611.95Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO
3621.95Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the
3631.95Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3641.95Stsutsui# to use, and the last bit must be 1 for this setting to be used.
3651.95Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'.
3661.95Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3671.95Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111)
3681.95Stsutsui# 0x0000 means "use whatever the drive claims to support".
3691.95Stsutsuiwd*		at atabus? drive ? flags 0x0000
3701.95Stsutsui
3711.95Stsutsui# ATAPI bus support
3721.95Stsutsuiatapibus*	at atapi?
3731.31Ssoda
3741.31Ssoda#### ATAPI bus devices
3751.31Ssoda
3761.31Ssoda# flags have the same meaning as for IDE drives.
3771.31Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
3781.31Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
3791.31Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
3801.33Ssoda
3811.33Ssoda#### Workstation Console attachments
3821.33Ssoda
3831.33Ssodawsdisplay*	at vga?
3841.33Ssodawsdisplay*	at tga?
3851.33Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
3861.33Ssodawskbd*		at pckbd?
3871.33Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
3881.33Ssodawsmouse*	at pms?
3891.23Ssoda
3901.27Ssoda#### Pseudo devices
3911.1Sjonathan
3921.98Sjonathanpseudo-device 	crypto			# opencrypto framework
3931.98Sjonathan
3941.27Ssoda# disk/mass storage pseudo-devices
3951.27Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
3961.74Selric#pseudo-device	cgd		4	# cryptographic disk devices
3971.60Sosterpseudo-device	raid		8	# RAIDframe disk driver
3981.60Soster# Options to enable various other RAIDframe RAID types.
3991.81Stsutsui#options 	RF_INCLUDE_EVENODD=1
4001.81Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
4011.81Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
4021.81Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
4031.81Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
4041.81Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
4051.81Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
4061.27Ssodapseudo-device	md		1	# memory disk device (ramdisk)
4071.27Ssodapseudo-device	vnd		4	# disk-like interface to files
4081.27Ssoda
4091.27Ssoda# network pseudo-devices
4101.27Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
4111.27Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
4121.27Ssodapseudo-device	loop		1	# network loopback
4131.27Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
4141.59Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
4151.27Ssodapseudo-device	sl		2	# Serial Line IP
4161.27Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
4171.27Ssodapseudo-device	tun		2	# network tunneling over tty
4181.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
4191.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
4201.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
4211.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
4221.40Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
4231.57Satatatpseudo-device	bridge			# simple inter-network bridging
4241.82Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
4251.23Ssoda
4261.27Ssoda# miscellaneous pseudo-devices
4271.39Sjdolecekpseudo-device	pty			# pseudo-terminals
4281.27Ssodapseudo-device	tb		1	# tablet line discipline
4291.27Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
4301.27Ssoda# rnd works; RND_COM does not on port arc yet.
4311.27Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
4321.27Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
4331.69Slukempseudo-device	clockctl		# user control of clock subsystem
4341.27Ssoda
4351.27Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
4361.27Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
4371.27Ssoda
4381.27Ssoda# mouse & keyboard multiplexor pseudo-devices
4391.54Saugustss#pseudo-device	wsmux
4401.84Sraggepseudo-device	ksyms			# /dev/ksyms
4411.101Sitojun#pseudo-device	pf			# PF packet filter
4421.101Sitojun#pseudo-device	pflog			# PF log if
443