GENERIC revision 1.105
11.105Smanu# $NetBSD: GENERIC,v 1.105 2004/09/04 23:29:46 manu 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.105Smanu#ident		"GENERIC-$Revision: 1.105 $"
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.105Smanu#options 	PIM		# Protocol Independent Multicast
1331.27Ssodaoptions 	NS		# XNS
1341.27Ssoda#options 	NSIP		# XNS tunneling over IP
1351.27Ssodaoptions 	ISO,TPIP	# OSI networking
1361.36Ssommerfe#options 	EON		# OSI tunneling over IP
1371.27Ssodaoptions 	CCITT,LLC,HDLC	# X.25
1381.27Ssodaoptions 	NETATALK	# AppleTalk networking protocols
1391.27Ssodaoptions 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
1401.27Ssodaoptions 	PPP_DEFLATE	# Deflate compression support for PPP
1411.27Ssodaoptions 	PPP_FILTER	# Active filter support for PPP (requires bpf)
1421.27Ssodaoptions 	PFIL_HOOKS	# pfil(9) packet filter hooks
1431.27Ssodaoptions 	IPFILTER_LOG	# ipmon(8) log support
1441.72Smartti#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
1451.47Sabs#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
1461.27Ssoda
1471.102Sabs#options 	ALTQ		# Manipulate network interfaces' output queues
1481.102Sabs#options 	ALTQ_BLUE	# Stochastic Fair Blue
1491.102Sabs#options 	ALTQ_CBQ	# Class-Based Queueing
1501.102Sabs#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
1511.102Sabs#options 	ALTQ_FIFOQ	# First-In First-Out Queue
1521.102Sabs#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
1531.102Sabs#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
1541.102Sabs#options 	ALTQ_LOCALQ	# Local queueing discipline
1551.102Sabs#options 	ALTQ_PRIQ	# Priority Queueing
1561.102Sabs#options 	ALTQ_RED	# Random Early Detection
1571.102Sabs#options 	ALTQ_RIO	# RED with IN/OUT
1581.102Sabs#options 	ALTQ_WFQ	# Weighted Fair Queueing
1591.102Sabs
1601.27Ssoda# These options enable verbose messages for several subsystems.
1611.27Ssoda# Warning, these may compile large string tables into the kernel!
1621.27Ssoda#options 	EISAVERBOSE	# verbose EISA device autoconfig messages
1631.79Stsutsuioptions 	MIIVERBOSE	# verbose PHY autoconfig messages
1641.31Ssodaoptions 	PCIVERBOSE	# verbose PCI device autoconfig messages
1651.28Scgd#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
1661.27Ssodaoptions 	SCSIVERBOSE	# human readable SCSI error messages
1671.37Sur
1681.37Sur# wscons terminal emulation
1691.37Suroptions 	WSEMUL_VT100	# VT100 emulation
1701.23Ssoda
1711.25Ssoda# Kernel root file system and dump configuration.
1721.27Ssodaoptions 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
1731.27Ssodaconfig		netbsd	root on ? type ?
1741.27Ssoda#config		netbsd	root on sd0a type ffs
1751.27Ssoda#config		netbsd	root on ? type nfs
1761.1Sjonathan
1771.23Ssoda#
1781.27Ssoda# Device configuration
1791.23Ssoda#
1801.27Ssoda
1811.1Sjonathanmainbus0	at root
1821.1Sjonathancpu*		at mainbus0
1831.1Sjonathan
1841.41Sur#### Jazz-Internal bus devices
1851.23Ssoda
1861.45Ssoda# PLATFORM_ACER_PICA_61
1871.45Ssoda# PLATFORM_MICROSOFT_JAZZ
1881.77Stsutsui# PLATFORM_NEC_J96A
1891.45Ssoda# PLATFORM_NEC_JC94
1901.45Ssoda# PLATFORM_NEC_R94
1911.45Ssoda# PLATFORM_NEC_R96
1921.45Ssoda# PLATFORM_NEC_RAX94
1931.45Ssoda# PLATFORM_NEC_RD94
1941.45Ssodajazzio*		at mainbus0	# Jazz-Internal bus host bridge.
1951.45Ssoda
1961.45Ssodatimer0		at jazzio?
1971.45Ssodamcclock0 	at jazzio?
1981.41Sur#pc0		at jazzio?
1991.41Sur#opms0		at jazzio?
2001.41Survga0		at jazzio?	# Jazz localbus VGA
2011.41Surpckbc0		at jazzio?	# PC keyboard controller
2021.41Surcom0		at jazzio?
2031.41Surcom1		at jazzio?
2041.41Surlpt0		at jazzio?
2051.41Sursn0		at jazzio?
2061.1Sjonathan
2071.41Surfdc0		at jazzio?
2081.1Sjonathanfd*		at fdc? drive ?
2091.1Sjonathan
2101.85Stsutsuiasc0		at jazzio? flags 0x000000	# NCR53C9x SCSI
2111.83Stsutsuiosiop*		at jazzio? flags 0x00000	# NCR53C710 SCSI
2121.83Stsutsuioosiop* 	at jazzio?			# NCR53C700 SCSI
2131.33Ssoda
2141.27Ssoda#### ISA bus devices
2151.23Ssoda
2161.45Ssoda# PLATFORM_ACER_PICA_61
2171.45Ssoda# PLATFORM_MICROSOFT_JAZZ
2181.77Stsutsui# PLATFORM_NEC_J96A
2191.45Ssoda# PLATFORM_NEC_R94
2201.45Ssoda# PLATFORM_NEC_R96
2211.45Ssodajazzisabr*	at mainbus0	# Jazz-(E)ISA bus bridge.
2221.45Ssodaisa*		at jazzisabr?
2231.45Ssoda
2241.45Ssoda# PLATFORM_DESKTECH_ARCSTATION_I
2251.87Stsutsuiarcsisabr*	at mainbus0	# DeskStation rPC44 ISA host bridge.
2261.45Ssodaisa*		at arcsisabr?
2271.45Ssoda
2281.45Ssoda# PLATFORM_DESKTECH_TYNE
2291.87Stsutsuityneisabr*	at mainbus0	# DeskStation Tyne ISA host bridge.
2301.45Ssodaisa*		at tyneisabr?
2311.45Ssoda
2321.27Ssoda#isadma0 	at isa?
2331.23Ssoda
2341.90Stsutsuiisapnp0 	at isa?
2351.90Stsutsui
2361.45Ssodatimer0		at isa? port 0x40 irq 0
2371.45Ssodamcclock0 	at isa? port 0x70
2381.23Ssoda
2391.88Stsutsui#pc0		at isa? irq 1			# generic PC console device
2401.88Stsutsui#opms0		at isa? irq 12			# PS/2 auxiliary port mouse
2411.80Stsutsuivga0		at isa?
2421.80Stsutsui#options 	VGA_RASTERCONSOLE
2431.80Stsutsuioptions 	VGA_RESET
2441.88Stsutsuipckbc0		at isa?				# PC keyboard controller
2451.23Ssodacom0		at isa? port 0x3f8 irq 4
2461.23Ssodacom1		at isa? port 0x2f8 irq 3
2471.23Ssodacom2		at isa? port 0x3e8 irq 4
2481.23Ssodacom3		at isa? port 0x2e8 irq 3
2491.27Ssodaast0		at isa? port 0x1a0 irq 3	# AST 4-port serial cards
2501.27Ssodacom*		at ast? slave ?
2511.27Ssoda
2521.27Ssoda# Joystick driver. Probe is a little strange; add only if you have one.
2531.27Ssoda#joy0		at isa? port 0x201
2541.23Ssoda
2551.23Ssoda# ISA ST506, ESDI, and IDE controllers
2561.23Ssoda# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
2571.23Ssoda# fall back to 16bits I/O if 32bits I/O are not functional).
2581.23Ssoda# Some controllers pass the initial 32bit test, but will fail later.
2591.90Stsutsuiwdc0		at isa? port 0x1f0 irq 14 flags 0x00
2601.27Ssoda#wdc1		at isa? port 0x170 irq 15 flags 0x00
2611.90Stsutsuiwdc*		at isapnp?
2621.23Ssoda
2631.27Ssoda# ISA parallel printer interfaces
2641.27Ssodalpt0		at isa? port 0x378 irq 7
2651.27Ssoda
2661.27Ssoda# ISA network interfaces
2671.27Ssoda#ec0		at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
2681.90Stsutsuiep*		at isa? port ? irq ?		# 3C509 ethernet cards
2691.90Stsutsuiep*		at isapnp?			# 3C509B ethernet card
2701.90Stsutsuine0		at isa? port 0x280 irq 9	# NE[12]000 ethernet cards
2711.90Stsutsuine1		at isa? port 0x300 irq 10
2721.90Stsutsuine*		at isapnp?			# NE[12]000 PnP ethernet
2731.90Stsutsuiwe0		at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
2741.90Stsutsuiwe1		at isa? port 0x300 iomem 0xcc000 irq 10
2751.23Ssoda
2761.27Ssoda# XXX - should be configured
2771.27Ssoda#btl0		at isa? port 0x330 irq ? drq ?
2781.23Ssoda
2791.27Ssoda#### PCI bus devices
2801.23Ssoda
2811.45Ssoda# PLATFORM_NEC_JC94
2821.45Ssoda# PLATFORM_NEC_RAX94
2831.45Ssoda# PLATFORM_NEC_RD94
2841.31Ssodanecpb*		at mainbus0	# NEC RISCstation PCI host bridge.
2851.31Ssodapci*		at necpb?
2861.23Ssoda
2871.98Sjonathan# PCI cryptographic devices
2881.98Sjonathanhifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
2891.98Sjonathanubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
2901.98Sjonathan
2911.80Stsutsui#vga*	 	at pci? dev ? function ?
2921.43Stsutsuitga*		at pci? dev ? function ?	# DEC ZLXp-E[123] Graphics
2931.43Stsutsui
2941.43Stsutsuiahc*		at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
2951.44Stsutsuiiha*		at pci? dev ? function ?	# Initio INIC-940/950 SCSI
2961.52Stsutsuipcscp*		at pci? dev ? function ?	# AMD Am53c974 PCscsi-PCI SCSI
2971.51Stsutsuisiop*		at pci? dev ? function ?	# NCR/Symbios 53c8xx SCSI
2981.91Sbouyeresiop*		at pci? dev ? function ?	# NCR/Symbios 53c875/95/1010
2991.53Stsutsuitrm*		at pci? dev ? function ?	# Tekram DC-395/315 SCSI
3001.31Ssoda
3011.31Ssoda# PCI IDE controllers - see pciide(4) for supported hardware.
3021.31Ssoda# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
3031.31Ssoda# how to set up DMA modes for this chip. This may work, or may cause
3041.31Ssoda# a machine hang with some controllers.
3051.94Sbouyerpciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
3061.94Sbouyeracardide*	at pci? dev ? function ?	# Acard IDE controllers
3071.95Stsutsui#aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
3081.97Sthorpejartsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
3091.94Sbouyercmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
3101.94Sbouyercypide* 	at pci? dev ? function ?	# Cypress IDE controllers
3111.94Sbouyerhptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
3121.94Sbouyeroptiide* 	at pci? dev ? function ?	# Opti IDE controllers
3131.95Stsutsui#piixide* 	at pci? dev ? function ?	# Intel IDE controllers
3141.94Sbouyerpdcide* 	at pci? dev ? function ?	# Promise IDE controllers
3151.96Sthorpejsatalink*	at pci? dev ? function ?	# SiI SATALink controllers
3161.95Stsutsui#siside* 	at pci? dev ? function ?	# SiS IDE controllers
3171.94Sbouyerslide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
3181.95Stsutsui#viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
3191.95Stsutsui
3201.95Stsutsuiepic*		at pci? dev ? function ?	# SMC EPIC/100 Ethernet
3211.95Stsutsuiex*		at pci? dev ? function ?	# 3Com 90x[BC]
3221.95Stsutsuifxp*		at pci? dev ? function ?	# Intel EtherExpress PRO
3231.95Stsutsuine*		at pci? dev ? function ?	# NE2000-compatible
3241.95Stsutsuipcn*		at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
3251.95Stsutsuirtk*		at pci? dev ? function ?	# Realtek 8129/8139
3261.95Stsutsuisip*		at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
3271.95Stsutsuitlp*		at pci? dev ? function ?	# DECchip 21x4x and clones
3281.31Ssoda
3291.31Ssoda#### MII/PHY support
3301.31Ssoda
3311.31Ssodaexphy*		at mii? phy ?		# 3Com internal PHYs
3321.62Swizicsphy*		at mii? phy ?		# Integrated Circuit Systems ICS189x
3331.31Ssodainphy*		at mii? phy ?		# Intel 82555 PHYs
3341.31Ssodaiophy*		at mii? phy ?		# Intel 82553 PHYs
3351.31Ssodalxtphy*		at mii? phy ?		# Level One LXT-970 PHYs
3361.31Ssodansphy*		at mii? phy ?		# NS83840 PHYs
3371.31Ssodansphyter*	at mii? phy ?		# NS83843 PHYs
3381.31Ssodaqsphy*		at mii? phy ?		# Quality Semiconductor QS6612 PHYs
3391.31Ssodasqphy*		at mii? phy ?		# Seeq 80220/80221/80223 PHYs
3401.31Ssodatlphy*		at mii? phy ?		# ThunderLAN PHYs
3411.31Ssodatqphy*		at mii? phy ?		# TDK Semiconductor PHYs
3421.31Ssodaukphy*		at mii? phy ?		# generic unknown PHYs
3431.31Ssoda
3441.95Stsutsui# SCSI bus support
3451.95Stsutsuiscsibus*	at scsi?
3461.95Stsutsui
3471.27Ssoda#### SCSI bus devices
3481.23Ssoda
3491.1Sjonathansd*		at scsibus? target ? lun ?
3501.1Sjonathanst*		at scsibus? target ? lun ?
3511.1Sjonathancd*		at scsibus? target ? lun ?
3521.23Ssodach*		at scsibus? target ? lun ?
3531.23Ssodass*		at scsibus? target ? lun ?
3541.23Ssodauk*		at scsibus? target ? lun ?
3551.95Stsutsui
3561.95Stsutsui# ATA (IDE) bus support
3571.95Stsutsuiatabus* 	at ata?
3581.95Stsutsui
3591.95Stsutsui# IDE drives
3601.95Stsutsui# Flags are used only with controllers that support DMA operations
3611.95Stsutsui# and mode settings (e.g. some pciide controllers)
3621.95Stsutsui# The lowest order four bits (rightmost digit) of the flags define the PIO
3631.95Stsutsui# mode to use, the next set of four bits the DMA mode and the third set the
3641.95Stsutsui# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
3651.95Stsutsui# to use, and the last bit must be 1 for this setting to be used.
3661.95Stsutsui# For DMA and UDMA, 0xf (1111) means 'disable'.
3671.95Stsutsui# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
3681.95Stsutsui# (0xc=1100, 0xa=1010, 0xf=1111)
3691.95Stsutsui# 0x0000 means "use whatever the drive claims to support".
3701.95Stsutsuiwd*		at atabus? drive ? flags 0x0000
3711.95Stsutsui
3721.95Stsutsui# ATAPI bus support
3731.95Stsutsuiatapibus*	at atapi?
3741.31Ssoda
3751.31Ssoda#### ATAPI bus devices
3761.31Ssoda
3771.31Ssoda# flags have the same meaning as for IDE drives.
3781.31Ssodacd*		at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
3791.31Ssodasd*		at atapibus? drive ? flags 0x0000	# ATAPI disk drives
3801.31Ssodauk*		at atapibus? drive ? flags 0x0000	# ATAPI unknown
3811.33Ssoda
3821.33Ssoda#### Workstation Console attachments
3831.33Ssoda
3841.33Ssodawsdisplay*	at vga?
3851.33Ssodawsdisplay*	at tga?
3861.33Ssodapckbd*		at pckbc?	# PC keyboard (kbd port)
3871.33Ssodawskbd*		at pckbd?
3881.33Ssodapms*		at pckbc?	# PS/2-style mouse (aux port)
3891.33Ssodawsmouse*	at pms?
3901.23Ssoda
3911.27Ssoda#### Pseudo devices
3921.1Sjonathan
3931.98Sjonathanpseudo-device 	crypto			# opencrypto framework
3941.98Sjonathan
3951.27Ssoda# disk/mass storage pseudo-devices
3961.27Ssodapseudo-device	ccd		4	# concatenated/striped disk devices
3971.74Selric#pseudo-device	cgd		4	# cryptographic disk devices
3981.60Sosterpseudo-device	raid		8	# RAIDframe disk driver
3991.60Soster# Options to enable various other RAIDframe RAID types.
4001.81Stsutsui#options 	RF_INCLUDE_EVENODD=1
4011.81Stsutsui#options 	RF_INCLUDE_RAID5_RS=1
4021.81Stsutsui#options 	RF_INCLUDE_PARITYLOGGING=1
4031.81Stsutsui#options 	RF_INCLUDE_CHAINDECLUSTER=1
4041.81Stsutsui#options 	RF_INCLUDE_INTERDECLUSTER=1
4051.81Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
4061.81Stsutsui#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
4071.27Ssodapseudo-device	md		1	# memory disk device (ramdisk)
4081.27Ssodapseudo-device	vnd		4	# disk-like interface to files
4091.27Ssoda
4101.27Ssoda# network pseudo-devices
4111.27Ssodapseudo-device	bpfilter	8	# Berkeley packet filter
4121.27Ssodapseudo-device	ipfilter		# IP filter (firewall) and NAT
4131.27Ssodapseudo-device	loop		1	# network loopback
4141.27Ssodapseudo-device	ppp		2	# Point-to-Point Protocol
4151.59Smartinpseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
4161.27Ssodapseudo-device	sl		2	# Serial Line IP
4171.27Ssoda#pseudo-device	strip		2	# Starmode Radio IP (Metricom)
4181.27Ssodapseudo-device	tun		2	# network tunneling over tty
4191.23Ssoda#pseudo-device	gre		2	# generic L3 over IP tunnel
4201.20Sitojunpseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
4211.20Sitojun#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
4221.29Sitojun#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
4231.40Sbouyerpseudo-device	vlan			# IEEE 802.1q encapsulation
4241.57Satatatpseudo-device	bridge			# simple inter-network bridging
4251.82Sperseant#options	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
4261.23Ssoda
4271.27Ssoda# miscellaneous pseudo-devices
4281.39Sjdolecekpseudo-device	pty			# pseudo-terminals
4291.27Ssodapseudo-device	tb		1	# tablet line discipline
4301.27Ssoda#pseudo-device	sequencer	1	# MIDI sequencer
4311.27Ssoda# rnd works; RND_COM does not on port arc yet.
4321.27Ssodapseudo-device	rnd			# /dev/random and in-kernel generator
4331.27Ssoda#options 	RND_COM			# use "com" randomness as well (BROKEN)
4341.69Slukempseudo-device	clockctl		# user control of clock subsystem
4351.27Ssoda
4361.27Ssoda# a pseudo device needed for Coda	# also needs CODA (above)
4371.27Ssoda#pseudo-device	vcoda		4	# coda minicache <-> venus comm.
4381.27Ssoda
4391.27Ssoda# mouse & keyboard multiplexor pseudo-devices
4401.54Saugustss#pseudo-device	wsmux
4411.84Sraggepseudo-device	ksyms			# /dev/ksyms
4421.101Sitojun#pseudo-device	pf			# PF packet filter
4431.101Sitojun#pseudo-device	pflog			# PF log if
444