Home | History | Annotate | Line # | Download | only in conf
files revision 1.959
      1 #	$NetBSD: files,v 1.959 2009/10/02 15:48:41 pooka Exp $
      2 #	@(#)files.newconf	7.5 (Berkeley) 5/10/93
      3 
      4 version 	20090313
      5 
      6 #
      7 # device classes
      8 #
      9 devclass disk
     10 devclass tape
     11 devclass ifnet
     12 devclass tty
     13 devclass audiodev
     14 devclass displaydev
     15 devclass bus
     16 
     17 # options understood by the machine-independent part of the kernel
     18 # (note, these are case-sensitive)
     19 #
     20 defflag				INSECURE
     21 defflag				KMEMSTATS
     22 defflag				KTRACE
     23 defflag				MBUFTRACE
     24 defflag				PTRACE
     25 defflag				COREDUMP
     26 defflag				MODULAR
     27 defflag				KEYLOCK
     28 
     29 defparam			DEFCORENAME
     30 defparam			HZ
     31 defparam			MAXUPRC
     32 defparam			RTC_OFFSET
     33 defflag	opt_pipe.h		PIPE_SOCKETPAIR PIPE_NODIRECT
     34 
     35 defflag				AIO
     36 defflag				MQUEUE
     37 
     38 defflag				BUFQ_DISKSORT
     39 defflag				BUFQ_FCFS
     40 defflag				BUFQ_PRIOCSCAN
     41 defflag				BUFQ_READPRIO
     42 defflag				NEW_BUFQ_STRATEGY	# same as BUFQ_READPRIO
     43 
     44 defflag	opt_sched.h		SCHED_4BSD
     45 defflag	opt_sched.h		SCHED_M2
     46 
     47 defparam			SOMAXKVA
     48 defflag	opt_sock_counters.h	SOSEND_COUNTERS
     49 defflag	opt_sosend_loan.h	SOSEND_NO_LOAN
     50 defflag	opt_route.h		RTCACHE_DEBUG RTFLUSH_DEBUG
     51 
     52 defflag				MULTIPROCESSOR
     53 
     54 defflag	opt_config.h		INCLUDE_CONFIG_FILE INCLUDE_JUST_CONFIG
     55 
     56 defparam opt_dump.h		DUMP_ON_PANIC
     57 
     58 defflag	opt_callout.h		CALLWHEEL_STATS
     59 
     60 defflag				CPU_IN_CKSUM
     61 
     62 defflag opt_posix.h		P1003_1B_SEMAPHORE
     63 defflag	opt_sysv.h		SYSVMSG SYSVSEM	SYSVSHM
     64 defparam opt_sysvparam.h	SHMMAXPGS SEMMNI SEMMNS SEMUME SEMMNU
     65 
     66 defflag	opt_ntp.h		PPS_SYNC NTP
     67 
     68 defflag	opt_ptm.h		NO_DEV_PTM COMPAT_BSDPTY
     69 
     70 defparam opt_kmempages.h	NKMEMPAGES NKMEMPAGES_MIN NKMEMPAGES_MAX
     71 defflag	opt_malloclog.h		MALLOCLOG
     72 defparam opt_malloclog.h	MALLOCLOGSIZE
     73 defflag	opt_malloc_debug.h	MALLOC_DEBUG
     74 defflag	opt_pool.h		POOL_DIAGNOSTIC
     75 defparam opt_poollog.h		POOL_LOGSIZE
     76 defflag	opt_powerhook.h		POWERHOOK_DEBUG
     77 
     78 defflag	opt_revcache.h		NAMECACHE_ENTER_REVERSE
     79 
     80 defflag	opt_execfmt.h		EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
     81 				EXEC_ELF64 EXEC_MACHO EXEC_SCRIPT
     82 				EXEC_ELF_NOTELESS
     83 
     84 defflag	opt_dkwedge.h		DKWEDGE_AUTODISCOVER
     85 				DKWEDGE_METHOD_BSDLABEL
     86 				DKWEDGE_METHOD_GPT
     87 				DKWEDGE_METHOD_MBR
     88 
     89 defflag	opt_veriexec.h		VERIFIED_EXEC_FP_SHA1
     90 				VERIFIED_EXEC_FP_SHA256
     91 				VERIFIED_EXEC_FP_SHA384
     92 				VERIFIED_EXEC_FP_SHA512
     93 				VERIFIED_EXEC_FP_MD5
     94 				VERIFIED_EXEC_FP_RMD160
     95 
     96 # Per system call number counts and times
     97 defflag opt_syscall_stats.h	SYSCALL_STATS
     98 defflag opt_syscall_stats.h	SYSCALL_TIMES: SYSCALL_STATS 
     99 # Assume cpu_hascounter() returns true - to use disabled rdtsc() (for soekris)
    100 defflag opt_syscall_stats.h	SYSCALL_TIMES_HASCOUNTER: SYSCALL_TIMES 
    101 file kern/subr_syscall_stats.c	syscall_stats
    102 
    103 defparam opt_pax.h		PAX_MPROTECT
    104 				PAX_SEGVGUARD
    105  				PAX_ASLR
    106  				PAX_ASLR_DELTA_MMAP_LSB
    107  				PAX_ASLR_DELTA_MMAP_LEN
    108  				PAX_ASLR_DELTA_STACK_LSB
    109  				PAX_ASLR_DELTA_STACK_LEN
    110  				PAX_ASLR_DELTA_PROG_LEN
    111 
    112 defflag	opt_fileassoc.h		FILEASSOC
    113 
    114 defflag	opt_gre.h		GRE_DEBUG
    115 
    116 # Write Ahead Physical Block Logging
    117 defflag opt_wapbl.h		WAPBL WAPBL_DEBUG
    118 defparam opt_wapbl.h		WAPBL_DEBUG_PRINT
    119 
    120 # compatibility options
    121 #
    122 defflag	opt_sa.h		KERN_SA
    123 defflag opt_compat_netbsd.h	COMPAT_NETBSD
    124 defflag	opt_compat_netbsd.h	COMPAT_50: COMPAT_NETBSD
    125 defflag	opt_compat_netbsd.h	COMPAT_40: COMPAT_50, KERN_SA, COMPAT_NETBSD
    126 defflag	opt_compat_netbsd.h	COMPAT_30: COMPAT_40, COMPAT_NETBSD
    127 defflag	opt_compat_netbsd.h	COMPAT_20: COMPAT_30, COMPAT_NETBSD
    128 defflag	opt_compat_netbsd.h	COMPAT_16: COMPAT_20, COMPAT_NETBSD
    129 defflag	opt_compat_netbsd.h	COMPAT_15: COMPAT_16, COMPAT_NETBSD
    130 defflag	opt_compat_netbsd.h	COMPAT_14: COMPAT_15, COMPAT_NETBSD
    131 defflag	opt_compat_netbsd.h	COMPAT_13: COMPAT_14, COMPAT_NETBSD
    132 defflag	opt_compat_netbsd.h	COMPAT_12: COMPAT_13, COMPAT_NETBSD
    133 defflag	opt_compat_netbsd.h	COMPAT_11: COMPAT_12, COMPAT_NETBSD
    134 defflag	opt_compat_netbsd.h	COMPAT_10: COMPAT_11, COMPAT_NETBSD
    135 defflag	opt_compat_netbsd.h	COMPAT_09: COMPAT_10, COMPAT_NETBSD
    136 defflag				COMPAT_OSSAUDIO
    137 defflag				COMPAT_FREEBSD: COMPAT_30
    138 defflag				COMPAT_IBCS2
    139 defflag				COMPAT_IRIX
    140 defflag				COMPAT_LINUX: COMPAT_16
    141 defflag				COMPAT_LINUX32
    142 defflag				COMPAT_OSF1
    143 defflag				COMPAT_SUNOS: COMPAT_30
    144 defflag	opt_compat_svr4.h	COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
    145 defflag				COMPAT_ULTRIX: COMPAT_50
    146 defflag				COMPAT_NETBSD32
    147 defflag				COMPAT_AOUT_M68K: COMPAT_40
    148 defflag				COMPAT_M68K4K
    149 defflag				COMPAT_MACH
    150 defflag				COMPAT_DARWIN
    151 defflag				COMPAT_VAX1K
    152 defflag				COMPAT_43
    153 defflag				COMPAT_PECOFF
    154 defflag	opt_compat_netbsd.h	COMPAT_NOMID
    155 
    156 #
    157 # Cryptography support.  Include this early, since several things
    158 # use it.
    159 
    160 # Individual crypto transforms
    161 include "crypto/arc4/files.arc4"
    162 include "crypto/des/files.des"
    163 include "crypto/blowfish/files.blowfish"
    164 include "crypto/cast128/files.cast128"
    165 include "crypto/rijndael/files.rijndael"
    166 include "crypto/skipjack/files.skipjack"
    167 
    168 # General-purpose crypto processing framework.
    169 include "opencrypto/files.opencrypto"
    170 
    171 #
    172 # System monitoring framework
    173 #
    174 include "dev/sysmon/files.sysmon"
    175 
    176 #
    177 # Networking protocols
    178 #
    179 include "net80211/files.net80211"
    180 include "netatalk/files.netatalk"
    181 include "netbt/files.netbt"
    182 include "netinet/files.netinet"
    183 include "netinet/files.ipfilter"
    184 include "netinet6/files.netinet6"
    185 include "netinet6/files.ipsec"
    186 include "netipsec/files.netipsec"
    187 include "netiso/files.netiso"
    188 include "netnatm/files.netnatm"
    189 include "netsmb/files.netsmb"
    190 include "net/files.pf"
    191 
    192 obsolete defflag		CCITT		# obsolete
    193 obsolete defflag		HDLC		# obsolete
    194 obsolete defflag		LLC		# obsolete
    195 obsolete defflag opt_ns.h	NS NSIP		# obsolete
    196 obsolete defflag		IPX		# obsolete
    197 obsolete defflag opt_iso.h	TPCONS
    198 obsolete defparam opt_md.h	MEMORY_RBFLAGS	# superseded by
    199 						# MEMORY_DISK_RBFLAGS
    200 
    201 defflag				PFIL_HOOKS	# pfil(9)
    202 defflag	opt_bridge_ipf.h	BRIDGE_IPF	# bridge(4) use inet_pfil_hooks
    203 defflag	opt_ppp.h		PPP_DEFLATE PPP_BSDCOMP PPP_FILTER
    204 						# Include deflate or bsd
    205 						# compression, enable pppd
    206 						# packet filtering support
    207 defflag opt_pppoe.h		PPPOE_SERVER PPPOE_TERM_UNKNOWN_SESSIONS
    208 
    209 # networking options
    210 #
    211 defflag				GATEWAY
    212 defparam opt_nmbclusters.h	NMBCLUSTERS
    213 defparam			SB_MAX
    214 
    215 # file system options
    216 #
    217 defflag				QUOTA			# XXX files.ufs?
    218 defflag				VNODE_LOCKDEBUG
    219 defflag				MAGICLINKS
    220 
    221 # buffer cache size options
    222 #
    223 defparam opt_bufcache.h		BUFCACHE BUFPAGES
    224 
    225 # userconf
    226 #
    227 defflag				USERCONF
    228 
    229 # sysctl related
    230 #
    231 defflag opt_sysctl.h		SYSCTL_DISALLOW_CREATE SYSCTL_DISALLOW_KWRITE
    232 				SYSCTL_DEBUG_SETUP SYSCTL_DEBUG_CREATE
    233 				SYSCTL_INCLUDE_DESCR
    234 
    235 #
    236 # Not entirely MI, but present on multiple arch's
    237 #
    238 
    239 # PC-style MBR handling
    240 #
    241 defflag	opt_mbr.h		COMPAT_386BSD_MBRPART
    242 
    243 #
    244 # debugging options
    245 #
    246 include "ddb/files.ddb"		# in-kernel dynamic debugger
    247 
    248 defflag	opt_kgdb.h		KGDB
    249 defparam opt_kgdb.h		KGDB_DEV KGDB_DEVNAME KGDB_DEVPORT
    250 				KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
    251 defflag				LOCKDEBUG
    252 defflag				SYSCALL_DEBUG
    253 defflag	opt_kstack.h		KSTACK_CHECK_MAGIC
    254 
    255 # memory (ram) disk options
    256 #
    257 defflag	opt_md.h		MEMORY_DISK_HOOKS MEMORY_DISK_IS_ROOT
    258 				MEMORY_DISK_DYNAMIC
    259 defparam opt_md.h		MEMORY_DISK_SERVER=1 MEMORY_DISK_ROOT_SIZE
    260 				MEMORY_DISK_RBFLAGS
    261 
    262 defflag opt_tftproot.h		TFTPROOT TFTPROOT_DEBUG
    263 
    264 # Support for hardware performance monitoring counters
    265 #
    266 defflag	opt_perfctrs.h		PERFCTRS
    267 
    268 defflag	opt_wlan.h		WLAN
    269 
    270 # Machine-independent device majors assignements
    271 include "conf/majors"
    272 
    273 # generic attributes
    274 #
    275 define	audiobus	{ }
    276 define	midibus		{ }
    277 define	midisyn
    278 define	videobus	{ }
    279 define	ata	        {[channel = -1]}
    280 define	sata
    281 define	sata_fis
    282 define	scsi_core
    283 define	scsi		{[channel = -1]}: scsi_core
    284 define	ata_hl		{[drive = -1]}
    285 define	atapi		{ }
    286 define	radiodev	{ }
    287 define	gpibdev		{[address = -1]}
    288 define	gpiobus		{ }
    289 define	onewirebus	{ }
    290 define 	pckbport	{[slot = -1]}
    291 define	pckbport_machdep_cnattach
    292 define	firmload
    293 
    294 # audio device attributes
    295 #
    296 define	mulaw
    297 define	auconv
    298 define	aurateconv
    299 
    300 # audio and midi devices, attaches to audio hardware driver
    301 #
    302 device	audio: audiodev
    303 attach	audio at audiobus
    304 device	midi
    305 attach	midi at midibus
    306 
    307 # console bell via audio device
    308 #
    309 define	audiobell
    310 
    311 # video devices, attaches to video hardware driver
    312 #
    313 device	video
    314 attach	video at videobus
    315 
    316 # National Semiconductor LM7[89]
    317 #
    318 # (included here so files.i2c can define an attachment)
    319 
    320 device	lm: sysmon_envsys
    321 file	dev/ic/nslm7x.c			lm			needs-flag
    322 
    323 # I2C device support
    324 include "dev/i2c/files.i2c"
    325 
    326 # SPI device support
    327 include "dev/spi/files.spi"
    328 
    329 # IR device support
    330 include	"dev/ir/files.ir"
    331 
    332 # Parallel Port Bus support
    333 include "dev/ppbus/files.ppbus"
    334 
    335 # raster operations attributes
    336 #
    337 define	rasops1
    338 define	rasops2
    339 define	rasops4
    340 define	rasops8
    341 define	rasops15
    342 define	rasops16
    343 define	rasops24
    344 define	rasops32
    345 define	rasops_rotation
    346 
    347 # splash screen support
    348 include "dev/splash/files.splash"
    349 
    350 # videomode support
    351 include "dev/videomode/files.videomode"
    352 
    353 # net device attributes - we have generic code for arc(net), ether(net),
    354 # fddi, token ring, atm and eco(net).
    355 #
    356 define	arcnet
    357 define	atm
    358 define	eco
    359 define	ether
    360 define	fddi
    361 define	hippi
    362 define	ieee1394
    363 define	token
    364 define	sppp
    365 define	wlan: arc4, rijndael
    366 define	crypto
    367 
    368 # devices ARPing IPv4 pull this in:
    369 #
    370 define	arp
    371 
    372 #
    373 # ALTQ network traffic shaping subsystem
    374 #
    375 include "altq/files.altq"
    376 
    377 #
    378 # IPKDB kernel debugger
    379 #
    380 include "ipkdb/files.ipkdb"
    381 
    382 # Logical disk
    383 #
    384 device	ld: disk
    385 file	dev/ld.c			ld			needs-flag
    386 
    387 #
    388 # MII/PHY support for network devices
    389 #
    390 include "dev/mii/files.mii"
    391 
    392 #
    393 # RAIDframe
    394 #
    395 include "dev/raidframe/files.raidframe"
    396 
    397 #
    398 # Hardware-assisted data mover API
    399 #
    400 include "dev/dmover/files.dmover"
    401 
    402 #
    403 # "Chipset" drivers.  These are the bus-independent routines which
    404 # contain the cfdrivers.  Attachments are provided by files.<bus>
    405 #
    406 
    407 # Adaptec AIC-6[32]60 ICs
    408 #
    409 device	aic: scsi
    410 file	dev/ic/aic6360.c		aic
    411 
    412 # SMC 93Cx6 Serial EEPROM devices
    413 #
    414 define	smc93cx6
    415 file	dev/ic/smc93cx6.c		smc93cx6
    416 
    417 # Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
    418 #
    419 defparam opt_ahc.h		AHC_DEBUG
    420 defflag	opt_ahc.h		AHC_NO_TAGS
    421 device	ahc: scsi
    422 define	ahc_seeprom
    423 define	ahc_aic77xx
    424 file	dev/ic/aic7xxx.c		ahc
    425 file	dev/ic/aic7xxx_osm.c		ahc
    426 file	dev/ic/aic7xxx_seeprom.c	ahc_seeprom
    427 file	dev/ic/aic77xx.c		ahc_aic77xx
    428 
    429 # Adaptec aic79xx SCSI controllers
    430 defflag	opt_ahd.h		AHD_DEBUG
    431 device	ahd: scsi
    432 file	dev/ic/aic79xx.c		ahd
    433 file	dev/ic/aic79xx_osm.c		ahd
    434 
    435 # DPT EATA SCSI controllers
    436 #
    437 device	dpt: scsi
    438 file	dev/ic/dpt.c			dpt
    439 
    440 # Compaq Smart ARRAY controllers
    441 #
    442 device	cac {unit = -1}
    443 file	dev/ic/cac.c			cac
    444 
    445 attach	ld at cac with ld_cac
    446 file	dev/ic/ld_cac.c			ld_cac
    447 
    448 # HP/Compaq Command Interface for SCSI-3 Support
    449 #
    450 device ciss: scsi
    451 file	dev/ic/ciss.c			ciss
    452 
    453 # Mylex DAC960 RAID controllers
    454 #
    455 device	mlx {unit = -1}
    456 file	dev/ic/mlx.c			mlx			needs-flag
    457 
    458 attach	ld at mlx with ld_mlx
    459 file	dev/ic/ld_mlx.c			ld_mlx
    460 
    461 # ICP-Vortex/Intel RAID controllers
    462 #
    463 device	icp {unit = -1}
    464 file	dev/ic/icp.c			icp			needs-flag
    465 file	dev/ic/icp_ioctl.c		icp
    466 
    467 attach	ld at icp with ld_icp
    468 file	dev/ic/ld_icp.c			ld_icp
    469 
    470 device	icpsp: scsi
    471 file	dev/ic/icpsp.c			icpsp
    472 attach	icpsp at icp
    473 
    474 # Adaptec FSA RAID controllers
    475 #
    476 device	aac {unit = -1}
    477 file	dev/ic/aac.c			aac
    478 
    479 attach	ld at aac with ld_aac
    480 file	dev/ic/ld_aac.c			ld_aac
    481 
    482 # AdvanSys 1200A, 1200B and ULTRA SCSI controllers
    483 #
    484 device	adv: scsi
    485 file	dev/ic/adv.c			adv
    486 file	dev/ic/advlib.c			adv
    487 file	dev/ic/advmcode.c		adv
    488 
    489 # AdvanSys ULTRA WIDE SCSI controllers
    490 #
    491 device	adw: scsi
    492 file	dev/ic/adw.c			adw
    493 
    494 # BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
    495 # (Must be declared before AHA to ensure bha probes before aha.
    496 #  Probing AHA first configures bhas as aha, via their AHA
    497 #  hardware-compatibility mode.)
    498 #
    499 device	bha: scsi
    500 file	dev/ic/bha.c			bha
    501 
    502 # Adaptec AHA-154x and AHA-164x controllers
    503 # (must be after bha, see above)
    504 #
    505 device	aha: scsi
    506 file	dev/ic/aha.c			aha
    507 
    508 # Initio INIC-940/950 SCSI controllers
    509 #
    510 device	iha: scsi
    511 file	dev/ic/iha.c			iha
    512 
    513 # Qlogic ISP 10x0 SCSI Controllers
    514 #
    515 defflag	opt_isp.h		ISP_DISABLE_1020_SUPPORT
    516 				ISP_DISABLE_1080_SUPPORT
    517 				ISP_DISABLE_2100_SUPPORT
    518 				ISP_DISABLE_2200_SUPPORT
    519 				ISP_DISABLE_2300_SUPPORT
    520 				ISP_DISABLE_2322_SUPPORT
    521 				ISP_DISABLE_2400_SUPPORT
    522 				ISP_DISABLE_FW
    523 				ISP_TARGET_MODE
    524 defparam opt_isp.h		ISP_LOGDEFAULT
    525 				ISP_VPORTS
    526 device	isp: scsi
    527 file	dev/ic/isp.c			isp
    528 file	dev/ic/isp_library.c		isp
    529 file	dev/ic/isp_netbsd.c		isp
    530 file	dev/ic/isp_target.c		isp & isp_target_mode
    531 # LSILogic MegaRAID SAS
    532 #
    533 device	mfi: scsi
    534 file	dev/ic/mfi.c			mfi
    535 
    536 # LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
    537 #
    538 device	mpt: scsi
    539 file	dev/ic/mpt.c			mpt
    540 file	dev/ic/mpt_debug.c		mpt
    541 file	dev/ic/mpt_netbsd.c		mpt
    542 
    543 # Workbit NinjaSCSI-32 controllers
    544 device	njs: scsi
    545 file	dev/ic/ninjascsi32.c		njs
    546 
    547 # Symbios/NCR 53c700 SCSI controllers
    548 device	oosiop: scsi
    549 file	dev/ic/oosiop.c			oosiop
    550 
    551 # Symbios/NCR 53c710 SCSI controllers
    552 #
    553 device	osiop: scsi
    554 file	dev/ic/osiop.c			osiop
    555 
    556 # common stuff for siop and esiop
    557 #
    558 define	siop_common
    559 file	dev/ic/siop_common.c		siop_common
    560 
    561 # Symbios/NCR 53c720/53c8xx SCSI controllers
    562 #
    563 device	siop: scsi,siop_common
    564 file	dev/ic/siop.c			siop & (siop_pci | siop_gedoens)
    565 defflag	opt_siop.h			SIOP_SYMLED
    566 
    567 device	esiop: scsi,siop_common
    568 file	dev/ic/esiop.c			esiop
    569 
    570 # UltraStor SCSI controllers
    571 #
    572 device	uha: scsi
    573 file	dev/ic/uha.c			uha
    574 
    575 # 3Com common probe code
    576 define  elink
    577 file    dev/isa/elink.c                 elink
    578 
    579 # Aironet PC4500/PC4800
    580 #
    581 device	an: arp, wlan, ifnet
    582 file	dev/ic/an.c			an
    583 
    584 # AMD 79c930-based 802.11 cards
    585 #
    586 device	awi: arp, wlan, ifnet
    587 file	dev/ic/awi.c			awi
    588 file	dev/ic/am79c930.c		awi
    589 
    590 # Lucent & Intersil WaveLan IEEE (802.11)
    591 #
    592 device	wi: arp, wlan, ifnet
    593 file	dev/ic/wi.c			wi
    594 
    595 # Atheros HAL
    596 #
    597 include "external/isc/atheros_hal/conf/files.ath_hal"
    598 
    599 # Atheros 5210/5211/5212 multi-mode 802.11
    600 #
    601 device	ath: arp, wlan, ifnet
    602 file	dev/ic/ath.c					ath
    603 file	dev/ic/ath_netbsd.c				ath
    604 file	dev/ic/athrate-sample.c				ath
    605 
    606 # ADMtek ADM8211 802.11
    607 #
    608 device	atw: arp, wlan, ifnet, smc93cx6
    609 file	dev/ic/atw.c			atw
    610 
    611 # Realtek RTL8180 802.11
    612 #
    613 device rtw: arp, wlan, ifnet, smc93cx6
    614 file	dev/ic/rtw.c			rtw
    615 file	dev/ic/rtwphy.c			rtw
    616 file	dev/ic/rtwphyio.c		rtw
    617 
    618 # Ralink RT2500/RT2600 802.11
    619 device	ral: arp, ether, ifnet, wlan, firmload
    620 file	dev/ic/rt2560.c			ral
    621 file	dev/ic/rt2661.c			ral
    622 
    623 # 3Com Etherlink-III Ethernet controller
    624 #
    625 device	ep: arp, ether, ifnet, mii, mii_bitbang
    626 file	dev/ic/elink3.c			ep
    627 
    628 # 3Com EtherLink XL Controller
    629 #
    630 device	ex: arp, ether, ifnet, mii, mii_bitbang
    631 file	dev/ic/elinkxl.c		ex
    632 
    633 # DEC EtherWORKS III (LEMAC) Ethernet controllers
    634 #
    635 device	lc: arp, ether, ifnet
    636 file	dev/ic/lemac.c			lc
    637 
    638 # LANCE and PCnet Ethernet controllers
    639 #
    640 device	le: arp, ether, ifnet
    641 define	le24
    642 define	le32
    643 file	dev/ic/am7990.c			le24
    644 file	dev/ic/am79900.c		le32
    645 file	dev/ic/lance.c			le24 | le32
    646 
    647 # DEC DEPCA-family of LANCE Ethernet controllers
    648 #
    649 device	depca { }: le24
    650 file	dev/ic/depca.c			depca
    651 attach	le at depca with le_depca
    652 
    653 # Sun HME Ethernet controllers
    654 #
    655 device	hme: arp, ether, ifnet, mii
    656 file	dev/ic/hme.c			hme
    657 
    658 # Sun GEM Ethernet controllers
    659 #
    660 device	gem: arp, ether, ifnet, mii
    661 file	dev/ic/gem.c			gem
    662 
    663 # 8390-family Ethernet controllers
    664 #
    665 defflag	opt_ipkdb.h		IPKDB_DP8390
    666 define	dp8390nic
    667 file	dev/ic/dp8390.c			dp8390nic | ipkdb_dp8390
    668 
    669 # National Semiconductor DP83905 AT/LANTIC Ethernet media support
    670 #
    671 define	dp83905
    672 file	dev/ic/dp83905.c		dp83905
    673 
    674 # Macronix MX98905 Ethernet controller
    675 # (use as an attribute for an "ne" bus attachment)
    676 #
    677 define	mx98905
    678 file	dev/ic/mx98905.c		mx98905
    679 
    680 # TROPIC Token-Ring controller
    681 #
    682 device	tr: arp, token, ifnet
    683 file	dev/ic/tropic.c			tr
    684 
    685 # NCR 5380 SCSI Bus Controller
    686 #
    687 define	ncr5380sbc
    688 file	dev/ic/ncr5380sbc.c		ncr5380sbc
    689 device	nca: scsi, ncr5380sbc
    690 
    691 # Sun sc PAL SCSI Bus Controller
    692 #
    693 define	sunscpal
    694 file	dev/ic/sunscpal.c		sunscpal
    695 device	ssc: scsi, sunscpal
    696 
    697 # DEC FDDI Chipset
    698 #
    699 define	pdq
    700 file	dev/ic/pdq.c			pdq
    701 file	dev/ic/pdq_ifsubr.c		pdq
    702 
    703 # Cyclades Cyclom-8/16/32
    704 #
    705 device	cy: tty
    706 file	dev/ic/cy.c			cy			needs-flag
    707 
    708 # Efficient Networks, Inc. ATM interface
    709 #
    710 device	en: atm, ifnet
    711 file	dev/ic/midway.c			en
    712 
    713 # NCR 53x9x or Emulex ESP SCSI Controller
    714 #
    715 define	ncr53c9x
    716 device	esp: scsi, ncr53c9x
    717 file	dev/ic/ncr53c9x.c		ncr53c9x
    718 
    719 # Fujitsu MB87030/MB89352 SCSI Protocol Controller
    720 device	spc: scsi
    721 file	dev/ic/mb89352.c		spc
    722 
    723 # Western Digital WD33C93/WD33C93A SCSI Bus Interface Controller
    724 define	wd33c93
    725 file	dev/ic/wd33c93.c		wd33c93
    726 
    727 # Hitachi HD44780 LCD panel controller
    728 define	hd44780
    729 file	dev/ic/hd44780_subr.c		hd44780
    730 file	dev/ic/lcdkp_subr.c		hd44780
    731 
    732 # Matrix keypad
    733 define	matrixkp
    734 file	dev/ic/matrixkp_subr.c		matrixkp
    735 
    736 # Hitachi HD64570 serial controller
    737 #
    738 define	hd64570
    739 file	dev/ic/hd64570.c		hd64570
    740 
    741 # Riscom/N2 ISA/PCI Sync Serial Controller
    742 #
    743 device	ntwoc: ifnet, hd64570
    744 
    745 # Intel 82586 Ethernet Controller
    746 #
    747 define	i82586
    748 file	dev/ic/i82586.c			i82586
    749 
    750 # Intel 82596 Ethernet Controller
    751 #
    752 define	i82596
    753 file	dev/ic/i82596.c			i82596
    754 
    755 # Intel 82557/82558/82559 Ethernet Controller
    756 #
    757 device	fxp: ether, ifnet, arp, mii
    758 file	dev/ic/i82557.c			fxp
    759 
    760 # SEEQ 8005 Advanced Ethernet Data Link Controller
    761 #
    762 define	seeq8005
    763 file	dev/ic/seeq8005.c		seeq8005
    764 
    765 # SMC 91Cxx Ethernet Controller
    766 #
    767 device	sm: arp, ether, ifnet, mii, mii_bitbang
    768 file	dev/ic/smc91cxx.c		sm
    769 
    770 # SMC 83C170 EPIC/100 Fast Ethernet Controller
    771 #
    772 device	epic: arp, ether, ifnet, mii
    773 file	dev/ic/smc83c170.c		epic
    774 
    775 # DEC SGEC Second Generation Ethernet Controller
    776 #
    777 define	sgec
    778 file	dev/ic/sgec.c			sgec
    779 
    780 # MB86950 Ethernet Controller
    781 #
    782 define	mb86950
    783 file	dev/ic/mb86950.c		mb86950
    784 
    785 # MB8696x Ethernet Controller
    786 #
    787 define	mb86960
    788 file	dev/ic/mb86960.c		mb86960
    789 
    790 # Generic MB8696x Ethernet Controller driver
    791 #
    792 device	mbe: arp, ether, ifnet, mb86960
    793 
    794 # Interwave Am78C201 audio driver
    795 #
    796 define	interwave
    797 file	dev/ic/interwave.c		interwave
    798 
    799 # TMS 320av110 MPEG2/audio driver
    800 #
    801 define	tms320av110
    802 file	dev/ic/tms320av110.c		tms320av110
    803 
    804 # Novell NE2000-compatible Ethernet cards, based on the
    805 # National Semiconductor DS8390.
    806 #
    807 defflag	opt_ipkdb.h		IPKDB_NE			: IPKDB_DP8390
    808 device	ne: ether, ifnet, arp, dp8390nic, mii
    809 file	dev/ic/ne2000.c			ne | ipkdb_ne
    810 
    811 # 8250/16[45]50-based "com" ports
    812 #
    813 defflag	opt_com.h		COM_DEBUG
    814 # XXX In a perfect world, this would be done with attributes
    815 defflag	opt_com.h		COM_16650 COM_HAYESP COM_PXA2X0 COM_AU1X00
    816 				COM_REGMAP
    817 device	com { } : tty
    818 file	dev/ic/com.c			com			needs-flag
    819 
    820 # PC-like keyboard controller
    821 #
    822 device	pckbc: pckbport
    823 file	dev/ic/pckbc.c			pckbc			needs-flag
    824 
    825 device	attimer
    826 file	dev/ic/attimer.c		attimer			needs-flag
    827 
    828 # Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
    829 #
    830 device	clmpcc: tty
    831 file	dev/ic/clmpcc.c			clmpcc			needs-flag
    832 
    833 # Abit uGuru
    834 #
    835 device	ug: sysmon_envsys
    836 file	dev/ic/ug.c			ug			needs-flag
    837 
    838 # Essential Communications Corp. HIPPI Interface
    839 #
    840 device	esh: hippi, ifnet
    841 file	dev/ic/rrunner.c		esh			needs-flag
    842 
    843 # SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
    844 #
    845 device	bah: ifnet, arcnet, arp
    846 file	dev/ic/smc90cx6.c		bah
    847 
    848 # OPL2/OPL3 FM synth driver
    849 #
    850 device	opl: midibus, midisyn
    851 file	dev/ic/opl.c			opl
    852 file	dev/ic/oplinstrs.c		opl
    853 
    854 # MPU401 MIDI UART compatibles
    855 #
    856 device	mpu: midibus
    857 file	dev/ic/mpu.c			mpu			needs-flag
    858 
    859 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
    860 #
    861 define	ad1848
    862 file	dev/ic/ad1848.c			ad1848
    863 
    864 # AMD 7930 audio/ISDN codec
    865 #
    866 define	am7930
    867 file	dev/ic/am7930.c			am7930
    868 
    869 # SPARC `SUNW,audiocs'
    870 #
    871 device	audiocs: audiobus, auconv, ad1848
    872 file	dev/ic/cs4231.c			audiocs
    873 
    874 # AC-97 CODECs
    875 #
    876 define	ac97
    877 file	dev/ic/ac97.c			ac97
    878 
    879 # Oki MSM6258 support code
    880 #
    881 define msm6258
    882 file	dev/ic/msm6258.c		msm6258
    883 
    884 # LSI64854 DMA controller back-end
    885 #
    886 define	lsi64854
    887 file	dev/ic/lsi64854.c		lsi64854
    888 
    889 # Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
    890 #
    891 define	cd18xx
    892 file	dev/ic/cd18xx.c			cd18xx
    893 
    894 # Realtek 8019/8029 NE2000-compatible network interface subroutines
    895 #
    896 define	rtl80x9
    897 file	dev/ic/rtl80x9.c		rtl80x9
    898 
    899 # Realtek 8129/8139 Ethernet controllers
    900 #
    901 device	rtk: ether, ifnet, arp, mii
    902 file	dev/ic/rtl81x9.c		rtk | re
    903 
    904 # Realtek 8169 Ethernet controllers
    905 #
    906 device	re: ether, ifnet, arp, mii
    907 file	dev/ic/rtl8169.c		re
    908 
    909 # Common code for ESDI/IDE/etc. controllers
    910 #
    911 define	wdc_common
    912 define	ata_dma
    913 define	ata_udma
    914 define	ata_piobm
    915 device	wdc: ata, wdc_common
    916 
    917 defflag	opt_ata.h	ATADEBUG
    918 
    919 device	atabus: atapi,ata_hl
    920 attach	atabus at ata
    921 # The strange expression is to dump ata_* definitions to ata_dma.h.
    922 file	dev/ic/wdc.c			(ata_dma | ata_udma | ata_piobm | atabus) & atabus & wdc_common	needs-flag
    923 
    924 # Workbit NinjaATA-32 IDE controllers
    925 device	njata: ata, ata_piobm, wdc_common
    926 file	dev/ic/ninjaata32.c		njata
    927 
    928 # CHIPS and Technologies 82C7[12][01] Universal Peripheral Controller
    929 #
    930 device	upc { [offset = -1] }
    931 attach	wdc at upc with wdc_upc
    932 attach	com at upc with com_upc
    933 attach	lpt at upc with lpt_upc
    934 file	dev/ic/upc.c			upc
    935 file	dev/ic/wdc_upc.c		wdc_upc
    936 file	dev/ic/com_upc.c		com_upc
    937 file	dev/ic/lpt_upc.c		lpt_upc
    938 
    939 # AHCI-compatible SATA controllers
    940 define ahcisata_core
    941 file dev/ic/ahcisata_core.c ahcisata_core
    942 device ahcisata: ata, ata_dma, ata_udma, sata, sata_fis, ahcisata_core
    943 
    944 # Silicon Image SteelVine SATA-II controllers
    945 define	siisata
    946 file	dev/ic/siisata.c		siisata
    947 device	siisata: ata, ata_dma, ata_udma, sata, sata_fis, siisata
    948 
    949 # Marvell Serial-ATA Host Controller
    950 define mvsata
    951 file dev/ic/mvsata.c			mvsata
    952 device mvsata: ata, ata_dma, ata_udma, wdc_common, sata, mvsata
    953 defflag opt_mvsata.h		MVSATA_WITHOUTDMA
    954 
    955 # DECchip 21x4x Ethernet controller family, and assorted clones.
    956 #
    957 device	tlp: arp, ether, ifnet, mii, mii_bitbang
    958 file	dev/ic/tulip.c			tlp
    959 
    960 # Adaptec AIC-6915 Ethernet interface
    961 #
    962 device	sf: arp, ether, ifnet, mii
    963 file	dev/ic/aic6915.c		sf
    964 
    965 # Mostek time-of-day clock and NVRAM
    966 #
    967 define	mk48txx
    968 file	dev/ic/mk48txx.c		mk48txx
    969 
    970 # Intersil 7170 time-of-day clock
    971 #
    972 define	intersil7170
    973 file	dev/ic/intersil7170.c		intersil7170
    974 
    975 # National Semiconductor MM58167 time-of-day clock
    976 #
    977 define	mm58167
    978 file	dev/ic/mm58167.c		mm58167
    979 
    980 # Motorola mc146818 (and compatible) time-of-day clock
    981 #
    982 define	mc146818
    983 file	dev/ic/mc146818.c		mc146818
    984 
    985 # Ricoh RS5C313 time of-day-clock
    986 #
    987 define	rs5c313
    988 file	dev/ic/rs5c313.c		rs5c313
    989 
    990 # D-Link DL10019/10022 NE2000-compatible network interface subroutines
    991 #
    992 define	dl10019
    993 file	dev/ic/dl10019.c		dl10019
    994 
    995 # ASIX AX88190 NE2000-compatible network interface subroutines
    996 #
    997 define	ax88190
    998 file	dev/ic/ax88190.c		ax88190
    999 
   1000 # WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
   1001 #
   1002 device	we: ether, ifnet, arp, dp8390nic
   1003 file	dev/ic/we.c			we
   1004 
   1005 # Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
   1006 #
   1007 device	ate: arp, ether, ifnet, mb86960
   1008 
   1009 # Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
   1010 #
   1011 device	fmv: arp, ether, ifnet, mb86960
   1012 file	dev/ic/fmv.c			fmv
   1013 
   1014 # Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
   1015 #
   1016 device	cs: arp, ether, ifnet
   1017 device	tscs: arp, ether, ifnet
   1018 file	dev/ic/cs89x0.c			cs | tscs
   1019 
   1020 # Radio device attributes
   1021 #
   1022 define	tea5757
   1023 file	dev/ic/tea5757.c		tea5757
   1024 define	lm700x
   1025 file	dev/ic/lm700x.c			lm700x
   1026 
   1027 # Philips PCF8584 i2c controller
   1028 define	pcf8584
   1029 file	dev/ic/pcf8584.c		pcf8584
   1030 
   1031 # ACPI power management timer (hardware access, independent of ACPI)
   1032 #
   1033 define acpipmtimer
   1034 file	dev/ic/acpipmtimer.c	acpipmtimer
   1035 
   1036 device 	hpet
   1037 file 	dev/ic/hpet.c		hpet			needs-flag
   1038 
   1039 # SMSC LAN9118 Family Ethernet Controller
   1040 #
   1041 device	smsh: arp, ether, ifnet
   1042 file	dev/ic/lan9118.c		smsh
   1043 
   1044 # DRM - Direct Rendering Infrastructure: dev/drm
   1045 define drm {}
   1046 include "external/bsd/drm/conf/files.drm"
   1047 
   1048 # Definitions for wscons
   1049 # device attributes: display, display with emulator, keyboard, and mouse
   1050 #
   1051 define	wsdisplaydev		{[kbdmux = 1]}
   1052 define	wsemuldisplaydev	{[console = -1], [kbdmux = 1]}
   1053 define	wskbddev		{[console = -1], [mux = 1]}
   1054 define	wsmousedev		{[mux = 0]}
   1055 define	vcons
   1056 # attribute to pull in raster support
   1057 #
   1058 define	wsrasteremulops
   1059 # common PC display functions
   1060 #
   1061 defflag	opt_pcdisplay.h		PCDISPLAY_SOFTCURSOR
   1062 define	pcdisplayops
   1063 file	dev/ic/pcdisplay_subr.c	pcdisplayops
   1064 file	dev/ic/pcdisplay_chars.c	pcdisplayops
   1065 # an attribute used by arch specific config files to include /dev/fb* (or
   1066 # equivalent) support - on most archs this is just a NOP (untill, maybe
   1067 # someday when we might make /dev/fb* support MI)
   1068 define	fb
   1069 # VGA graphics
   1070 #
   1071 defparam opt_vga.h		VGA_CONSOLE_SCREENTYPE
   1072 defflag opt_vga.h 		VGA_CONSOLE_ATI_BROKEN_FONTSEL
   1073 defflag opt_vga.h		VGA_RASTERCONSOLE
   1074 defflag opt_vga.h		VGA_RESET
   1075 device	vga: displaydev, wsemuldisplaydev, pcdisplayops, drm
   1076 file	dev/ic/vga.c		vga & !vga_rasterconsole	needs-flag
   1077 file	dev/ic/vga_raster.c	vga_rasterconsole		needs-flag
   1078 file	dev/ic/vga_subr.c	vga | vga_rasterconsole
   1079 file	dev/ic/vga_common.c	vga | vga_rasterconsole
   1080 # Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
   1081 #
   1082 device	igsfb: wsemuldisplaydev, wsrasteremulops, rasops8, vcons
   1083 file	dev/ic/igsfb.c			igsfb			needs-flag
   1084 file	dev/ic/igsfb_subr.c		igsfb
   1085 
   1086 # STI (hp graphics)
   1087 device	sti: wsemuldisplaydev
   1088 file	dev/ic/sti.c		sti & (sti_pci | sti_gedoens)
   1089 
   1090 include "dev/wscons/files.wscons"
   1091 include "dev/rasops/files.rasops"
   1092 include "dev/wsfont/files.wsfont"
   1093 include "dev/wsfb/files.wsfb"
   1094 
   1095 # Attributes which machine-independent bus support can be attached to.
   1096 # These should be defined here, because some of these busses can have
   1097 # devices which provide these attributes, and we'd like to avoid hairy
   1098 # ordering constraints on inclusion of the busses' "files" files.
   1099 #
   1100 define	isabus	{ }			# ISA attachment
   1101 define	eisabus	{ }			# EISA attachment
   1102 define	pcibus	{[bus = -1]}		# PCI attachment
   1103 define	tcbus	{ }			# TurboChannel attachment
   1104 define	mcabus	{ }			# MicroChannel attachment
   1105 define	usbus	{ }			# USB attachment
   1106 define	fwbus	{ }			# IEEE 1394 attachment
   1107 define	vmebus	{ }			# VME bus attachment
   1108 define	acpibus	{ }			# ACPI "bus" attachment
   1109 define	pcmciabus { [controller = -1], [socket = -1]}	# PCMCIA bus attachment
   1110 define	cbbus	{ }			# CardBus attachment
   1111 define	pcmciaslot { }			# PCMCIA slot itself
   1112 define	sdmmcbus { }			# SD/MMC attachment
   1113 
   1114 # We need the USB bus controllers here so different busses can
   1115 # use them in an 'attach-with'.
   1116 # UHCI USB controller
   1117 #
   1118 
   1119 defparam USB_MEM_RESERVE
   1120 
   1121 define	usbroothub
   1122 file	dev/usb/usbroothub_subr.c	usbroothub
   1123 
   1124 device	uhci: usbus, usbroothub
   1125 file	dev/usb/uhci.c			uhci			needs-flag
   1126 
   1127 # OHCI USB controller
   1128 #
   1129 device	ohci: usbus, usbroothub
   1130 file	dev/usb/ohci.c			ohci			needs-flag
   1131 
   1132 # EHCI USB controller
   1133 #
   1134 device	ehci: usbus, usbroothub
   1135 file	dev/usb/ehci.c			ehci			needs-flag
   1136 
   1137 # SL811HS/T USB controller
   1138 defflag	opt_slhci.h	SLHCI_DEBUG SLHCI_TRY_LSVH SLHCI_PROFILE_TRANSFER
   1139 device	slhci: usbus, usbroothub
   1140 file	dev/ic/sl811hs.c		slhci			needs-flag
   1141 
   1142 # USB HID processing (as used by bluetooth and usb code)
   1143 define	hid
   1144 file	dev/usb/hid.c			hid
   1145 
   1146 # SD Host controller
   1147 device sdhc: sdmmcbus
   1148 file	dev/sdmmc/sdhc.c		sdhc			needs-flag
   1149 
   1150 # Winbond Integrated Media Reader
   1151 device	wb: sdmmcbus
   1152 file	dev/ic/w83l518d.c		wb
   1153 file	dev/ic/w83l518d_sdmmc.c		wb
   1154 
   1155 # Myson MTD803 3-in-1 Fast Ethernet Controller
   1156 device	mtd: arp, ether, ifnet, mii
   1157 file	dev/ic/mtd803.c			mtd
   1158 
   1159 # radio devices, attaches to radio hardware driver
   1160 device	radio
   1161 attach	radio at radiodev
   1162 
   1163 # IEEE 1394 controllers
   1164 # (These need to be here since it will have both PCI and CardBus attachments)
   1165 #
   1166 device	fwohci: fwbus
   1167 
   1168 # Sony Programmable I/O Controller
   1169 device	spic: wsmousedev
   1170 file	dev/ic/spic.c			spic
   1171 
   1172 # IBM CPC700 PowerPC bridge
   1173 define	cpcbus { addr, [irq=-1] }
   1174 device	cpc: cpcbus, pcibus
   1175 file	dev/ic/cpc700.c			cpc
   1176 
   1177 attach	com at cpcbus with com_cpcbus
   1178 file	dev/ic/com_cpcbus.c		com_cpcbus
   1179 
   1180 device	cpctim
   1181 attach	cpctim at cpcbus
   1182 file	dev/ic/timer_cpcbus.c		cpctim
   1183 
   1184 device	cpciic
   1185 attach	cpciic at cpcbus with iic_cpcbus
   1186 file	dev/ic/iic_cpcbus.c		iic_cpcbus
   1187 
   1188 
   1189 # Attribute used by various things that need BPF's virtual machine
   1190 #
   1191 define	bpf_filter
   1192 defparam opt_bpf.h	BPF_BUFSIZE
   1193 
   1194 # Attributes used by the ISDN subsystem
   1195 #
   1196 define	isdndev		# the ISDN subsystem
   1197 define	passive_isdn	# files needed by passive cards (XXX - protocol
   1198 			# specific)
   1199 define	isdncapi	# ISDN CAPI (http://www.capi.org/)
   1200 
   1201 # The isac found on the Fritz V2.0 Card.
   1202 define	nisacsx
   1203 file	dev/ic/isacsx.c			nisacsx	needs-flag
   1204 
   1205 # The 'standard' isac
   1206 define	nisac
   1207 file	dev/ic/isac.c			nisac	needs-flag
   1208 
   1209 # ISDN cards based on the Siemens ISAC/HSCX chipset (or lookalikes)
   1210 #
   1211 device	isic: isdndev, passive_isdn, nisac
   1212 
   1213 file	dev/ic/isic.c			isic
   1214 file	dev/ic/isic_l1.c		isic|ifpci|ifritz
   1215 file	dev/ic/isic_l1fsm.c		isic|ifpci|ifritz
   1216 file	dev/ic/hscx.c			isic
   1217 file	dev/ic/isic_bchan.c		isic
   1218 
   1219 # (old) Diehl active ISDN cards
   1220 #
   1221 #device	daic: isdndev
   1222 #file	dev/ic/daic.c			daic
   1223 
   1224 # AWM B1/T1
   1225 # XXX: passive_isdn
   1226 device	iavc: isdndev, isdncapi, passive_isdn
   1227 file	dev/ic/iavc.c			iavc
   1228 
   1229 # Broadcom AirForce / Apple Airport Extreme
   1230 device	bwi: arp, ifnet, firmload, wlan
   1231 file	dev/ic/bwi.c			bwi
   1232 
   1233 # legitimate pseudo-devices
   1234 #
   1235 defpseudodev vnd:	disk
   1236 defflag opt_vnd.h	VND_COMPRESSION
   1237 defpseudo ccd:		disk
   1238 defpseudo cgd:		disk, des, blowfish, cast128, rijndael
   1239 defpseudodev md:	disk
   1240 defpseudodev fss:	disk
   1241 
   1242 defpseudo pty:		tty
   1243 defpseudo rnd
   1244 defpseudo ksyms
   1245 defpseudo nullcons
   1246 defpseudo lockstat
   1247 defpseudo bio:		sysmon_envsys
   1248 
   1249 defpseudo loop:		ifnet
   1250 defpseudo sl:		ifnet
   1251 defpseudo ppp:		ifnet, bpf_filter
   1252 defpseudo pppoe:	ifnet, ether, sppp
   1253 defpseudo sppp:		ifnet
   1254 defpseudo tun:		ifnet
   1255 defpseudo vlan:		ifnet, ether
   1256 defpseudo bridge:	ifnet, ether
   1257 defpseudo bpfilter:	ifnet, bpf_filter
   1258 defpseudo strip:	ifnet
   1259 defpseudo gre:		ifnet
   1260 defpseudo gif:		ifnet
   1261 defpseudo faith:	ifnet
   1262 defpseudo srt:		ifnet
   1263 defpseudo stf:		ifnet
   1264 defpseudodev tap:	ifnet, ether, arp, bpf_filter
   1265 defpseudo carp:		ifnet, ether, arp, bpf_filter
   1266 defpseudodev etherip:	ifnet, ether, arp, bpf_filter
   1267 
   1268 defpseudo sequencer
   1269 defpseudo clockctl
   1270 defpseudo irix_kmem
   1271 defpseudo irix_usema
   1272 
   1273 #
   1274 # Accept filters.  XXX should use another registration/initialization method.
   1275 #
   1276 defpseudo accf_data
   1277 defpseudo accf_http
   1278 
   1279 # ISDN userland pseudo devices
   1280 #
   1281 defpseudo isdntrc:	isdndev, tty
   1282 defpseudo isdnbchan:	isdndev, tty
   1283 defpseudo isdntel:	isdndev, tty
   1284 defpseudo isdnctl:	isdndev, tty
   1285 defpseudo isdn:		isdndev, tty
   1286 
   1287 # ISDN network interfaces
   1288 defpseudo irip:		isdndev, ifnet
   1289 defflag opt_irip.h	IRIP_VJ
   1290 defpseudo ippp:		isdndev, sppp, ifnet
   1291 
   1292 # KTTCP network throughput testing pseudo-device
   1293 defpseudo kttcp
   1294 file	dev/kttcp.c			kttcp		needs-flag
   1295 
   1296 # Veriexec
   1297 defpseudo veriexec
   1298 file	kern/kern_verifiedexec.c	veriexec
   1299 file	dev/verified_exec.c		veriexec	needs-flag
   1300 
   1301 # isochronous pseudo device for IEEE 1394, i.LINK or FireWire
   1302 defpseudo fwiso:	ieee1394
   1303 
   1304 # driver attach / detach user interface
   1305 defpseudo drvctl
   1306 file	kern/kern_drvctl.c		drvctl		needs-flag
   1307 
   1308 # cpu control
   1309 defpseudo cpuctl
   1310 
   1311 # pass-to-userspace transporter
   1312 defpseudo putter
   1313 file	dev/putter/putter.c		putter
   1314 
   1315 # userspace block/char device drivers
   1316 defpseudo pud
   1317 file	dev/pud/pud.c			pud
   1318 file	dev/pud/pud_dev.c		pud
   1319 
   1320 # device-mapper driver for LVM
   1321 include "dev/dm/files.dm"
   1322 
   1323 #
   1324 # File systems
   1325 #
   1326 include "coda/files.coda"
   1327 include "fs/adosfs/files.adosfs"
   1328 include "fs/cd9660/files.cd9660"
   1329 include "fs/efs/files.efs"
   1330 include "fs/filecorefs/files.filecorefs"
   1331 include "fs/hfs/files.hfs"
   1332 include "fs/msdosfs/files.msdosfs"
   1333 include "fs/nilfs/files.nilfs"
   1334 include "fs/ntfs/files.ntfs"
   1335 include "fs/ptyfs/files.ptyfs"
   1336 include "fs/puffs/files.puffs"
   1337 include "fs/udf/files.udf"
   1338 include "fs/smbfs/files.smbfs"
   1339 include "fs/sysvbfs/files.sysvbfs"
   1340 include "fs/tmpfs/files.tmpfs"
   1341 include "fs/union/files.union"
   1342 include "miscfs/fdesc/files.fdesc"
   1343 include "miscfs/kernfs/files.kernfs"
   1344 include "miscfs/nullfs/files.nullfs"
   1345 include "miscfs/overlay/files.overlay"
   1346 include "miscfs/portal/files.portal"
   1347 include "miscfs/procfs/files.procfs"
   1348 include "miscfs/umapfs/files.umapfs"
   1349 include "nfs/files.nfs"
   1350 include "ufs/files.ufs"
   1351 
   1352 #
   1353 # UVM (virtual memory)
   1354 #
   1355 include "uvm/files.uvm"
   1356 
   1357 #
   1358 # Security models
   1359 #
   1360 include "secmodel/files.secmodel"
   1361 
   1362 #
   1363 # kernel sources
   1364 #
   1365 file	compat/common/compat_mod.c	compat_netbsd
   1366 file	compat/sa/compat_sa.c
   1367 file	conf/debugsyms.c
   1368 file	dev/auconv.c			auconv | mulaw
   1369 file	dev/audio.c			audio | midi | midibus	needs-flag
   1370 file	dev/audiobell.c			audiobell
   1371 file	dev/aurateconv.c		aurateconv		needs-flag
   1372 file	dev/bio.c			bio			needs-flag
   1373 file	dev/ccd.c			ccd			needs-flag
   1374 file	dev/cgd.c			cgd			needs-flag
   1375 file	dev/cgd_crypto.c		cgd
   1376 file	dev/clock_subr.c
   1377 file	dev/clockctl.c			clockctl		needs-flag
   1378 file	dev/dksubr.c			cgd | xbd | ccd | raid
   1379 file	dev/dkwedge/dk.c
   1380 file	dev/dkwedge/dkwedge_bsdlabel.c	dkwedge_method_bsdlabel
   1381 file	dev/dkwedge/dkwedge_gpt.c	dkwedge_method_gpt
   1382 file	dev/dkwedge/dkwedge_mbr.c	dkwedge_method_mbr
   1383 file	dev/firmload.c			firmload
   1384 file	dev/fss.c			fss			needs-count
   1385 file	dev/keylock.c			keylock
   1386 file	dev/lockstat.c			lockstat		needs-flag
   1387 file	dev/md.c			md			needs-count
   1388 file	dev/midi.c			midi | midibus		needs-flag
   1389 file	dev/midictl.c			midisyn
   1390 file	dev/midisyn.c			midisyn
   1391 file	dev/mm.c
   1392 file	dev/mulaw.c			mulaw			needs-flag
   1393 file	dev/nullcons_subr.c		nullcons		needs-flag
   1394 file	dev/radio.c			radio			needs-flag
   1395 file	dev/rnd.c			rnd			needs-flag
   1396 file	dev/rndpool.c			rnd			needs-flag
   1397 file	dev/sequencer.c			sequencer		needs-flag
   1398 file	dev/video.c			video			needs-flag
   1399 file	dev/vnd.c			vnd			needs-flag
   1400 file	kern/bufq_disksort.c		bufq_disksort
   1401 file	kern/bufq_fcfs.c		bufq_fcfs
   1402 file	kern/bufq_priocscan.c		bufq_priocscan
   1403 file	kern/bufq_readprio.c		bufq_readprio | new_bufq_strategy
   1404 file	kern/core_elf32.c		exec_elf32
   1405 file	kern/core_elf64.c		exec_elf64
   1406 file	kern/core_netbsd.c		exec_aout | exec_coff |
   1407 					exec_ecoff | exec_macho
   1408 file	kern/cnmagic.c
   1409 file	kern/exec_aout.c		exec_aout
   1410 file	kern/exec_ecoff.c		exec_ecoff
   1411 file	kern/exec_elf32.c		exec_elf32
   1412 file	kern/exec_elf64.c		exec_elf64
   1413 file	kern/exec_macho.c		exec_macho
   1414 file	kern/exec_script.c		exec_script
   1415 file	kern/exec_subr.c
   1416 file	kern/init_main.c
   1417 file	kern/init_sysctl.c
   1418 file	kern/init_sysctl_base.c
   1419 file	kern/init_sysent.c
   1420 file	kern/kern_acct.c
   1421 file	kern/kern_auth.c
   1422 file	kern/kern_clock.c
   1423 file	kern/kern_condvar.c
   1424 file	kern/kern_core.c		coredump
   1425 file	kern/kern_cpu.c
   1426 file	kern/kern_descrip.c
   1427 file	kern/kern_event.c
   1428 file	kern/kern_exec.c
   1429 file	kern/kern_exit.c
   1430 file	kern/kern_fork.c
   1431 file	kern/kern_idle.c
   1432 file	kern/kern_kthread.c
   1433 file	kern/kern_ktrace.c		ktrace
   1434 file	kern/kern_ksyms.c		ksyms | ddb | modular needs-flag
   1435 file	kern/kern_lock.c
   1436 file	kern/kern_lwp.c
   1437 file	kern/kern_malloc.c
   1438 file	kern/kern_malloc_stdtype.c
   1439 file	kern/kern_malloc_debug.c	malloc_debug
   1440 file	kern/kern_module.c
   1441 file	kern/kern_mutex.c
   1442 file	kern/kern_fileassoc.c		fileassoc
   1443 file	kern/kern_ntptime.c
   1444 file	kern/kern_pax.c			pax_mprotect | pax_segvguard
   1445 file	kern/kern_physio.c
   1446 file	kern/kern_pmf.c
   1447 file	kern/kern_proc.c
   1448 file	kern/kern_prot.c
   1449 file	kern/kern_ras.c
   1450 file	kern/kern_rate.c
   1451 file	kern/kern_resource.c
   1452 file	kern/kern_runq.c
   1453 file	kern/kern_rwlock.c
   1454 file	kern/kern_sig.c
   1455 file	kern/kern_sleepq.c
   1456 file	kern/kern_softint.c
   1457 file	kern/kern_ssp.c
   1458 file	kern/kern_stub.c
   1459 file	kern/kern_subr.c
   1460 file	kern/kern_synch.c
   1461 file	kern/kern_sysctl.c
   1462 file	kern/kern_tc.c
   1463 file	kern/kern_time.c
   1464 file	kern/kern_timeout.c
   1465 file	kern/kern_turnstile.c
   1466 file	kern/kern_todr.c
   1467 file	kern/kern_uidinfo.c
   1468 file	kern/kern_uuid.c
   1469 file	kern/kern_xxx.c
   1470 file	kern/kgdb_stub.c		kgdb
   1471 file	kern/sched_4bsd.c		sched_4bsd
   1472 file	kern/sched_m2.c			sched_m2
   1473 file	kern/subr_autoconf.c
   1474 file	kern/subr_blist.c		vmswap
   1475 file	kern/subr_bufq.c
   1476 file	kern/subr_callback.c
   1477 file	kern/subr_debug.c		debug
   1478 file	kern/subr_devsw.c
   1479 file	kern/subr_disk.c
   1480 file	kern/subr_disk_open.c
   1481 file	kern/subr_iostat.c
   1482 file	kern/subr_evcnt.c
   1483 file	kern/subr_exec_fd.c
   1484 file	kern/subr_extent.c
   1485 file	kern/subr_hash.c
   1486 file	kern/subr_humanize.c
   1487 file	kern/subr_kmem.c
   1488 file	kern/subr_kobj.c
   1489 file	kern/subr_lockdebug.c
   1490 file	kern/subr_log.c
   1491 file	kern/subr_percpu.c
   1492 file	kern/subr_pool.c
   1493 file	kern/subr_prf.c
   1494 file	kern/subr_prof.c
   1495 file	kern/subr_once.c
   1496 file	kern/subr_optstr.c
   1497 file	kern/subr_specificdata.c
   1498 file	kern/subr_tftproot.c		tftproot
   1499 file	kern/subr_time.c
   1500 file	kern/subr_userconf.c		userconf
   1501 file	kern/subr_vmem.c
   1502 file	kern/subr_workqueue.c
   1503 file	kern/subr_xcall.c
   1504 file	kern/sys_aio.c			aio
   1505 file	kern/sys_descrip.c
   1506 file	kern/sys_generic.c
   1507 file	kern/sys_module.c
   1508 file	kern/sys_mqueue.c		mqueue
   1509 file	kern/sys_lwp.c
   1510 file	kern/sys_pipe.c			!pipe_socketpair
   1511 file	kern/sys_pmc.c
   1512 file	kern/sys_process.c		ptrace | ktrace
   1513 file	kern/sys_pset.c
   1514 file	kern/sys_select.c
   1515 file	kern/sys_sig.c
   1516 file	kern/sys_sched.c
   1517 file	kern/sys_socket.c
   1518 file	kern/syscalls.c			syscall_debug
   1519 file	kern/sysv_ipc.c			sysvshm | sysvsem | sysvmsg
   1520 file	kern/sysv_msg.c			sysvmsg
   1521 file	kern/sysv_sem.c			sysvsem
   1522 file	kern/sysv_shm.c			sysvshm
   1523 file	kern/tty.c
   1524 file	kern/tty_conf.c
   1525 file	kern/tty_bsdpty.c		compat_bsdpty
   1526 file	kern/tty_pty.c			pty 			needs-flag
   1527 file	kern/tty_ptm.c			pty
   1528 file	kern/tty_subr.c
   1529 file	kern/tty_tty.c
   1530 file	kern/uipc_accf.c
   1531 file	kern/uipc_domain.c
   1532 file	kern/uipc_mbuf.c
   1533 file	kern/uipc_mbuf2.c
   1534 file	net/link_proto.c
   1535 file	kern/uipc_proto.c
   1536 file	kern/uipc_sem.c			p1003_1b_semaphore
   1537 file	kern/uipc_socket.c
   1538 file	kern/uipc_socket2.c
   1539 file	kern/uipc_syscalls.c
   1540 file	kern/uipc_usrreq.c
   1541 file	kern/vfs_bio.c
   1542 file	kern/vfs_cache.c
   1543 file	kern/vfs_cwd.c
   1544 file	kern/vfs_dirhash.c
   1545 file	kern/vfs_getcwd.c
   1546 file	kern/vfs_hooks.c
   1547 file	kern/vfs_init.c
   1548 file	kern/vfs_lockf.c
   1549 file	kern/vfs_lookup.c
   1550 file	kern/vfs_subr.c
   1551 file	kern/vfs_syscalls.c
   1552 file	kern/vfs_trans.c
   1553 file	kern/vfs_vnops.c
   1554 file	kern/vfs_wapbl.c		wapbl
   1555 file	kern/vfs_xattr.c
   1556 file	kern/vnode_if.c
   1557 file	miscfs/deadfs/dead_vnops.c
   1558 file	miscfs/fifofs/fifo_vnops.c
   1559 file	miscfs/genfs/genfs_io.c
   1560 file	miscfs/genfs/genfs_vfsops.c
   1561 file	miscfs/genfs/genfs_vnops.c
   1562 file	miscfs/genfs/layer_subr.c	nullfs | overlay | umapfs
   1563 file	miscfs/genfs/layer_vfsops.c	nullfs | overlay | umapfs
   1564 file	miscfs/genfs/layer_vnops.c	nullfs | overlay | umapfs
   1565 file	miscfs/specfs/spec_vnops.c
   1566 file	miscfs/syncfs/sync_subr.c
   1567 file	miscfs/syncfs/sync_vnops.c
   1568 file	net/bpf.c			bpfilter		needs-flag
   1569 file	net/bpf_filter.c		bpf_filter
   1570 file	net/bsd-comp.c			ppp & ppp_bsdcomp
   1571 file	net/if.c
   1572 file	net/if_arcsubr.c		arcnet			needs-flag
   1573 file	net/if_atmsubr.c		atm
   1574 file	net/if_bridge.c			bridge			needs-flag
   1575 file	net/bridgestp.c			bridge
   1576 file	net/if_ecosubr.c		eco
   1577 file	net/if_etherip.c		etherip			needs-flag
   1578 file	net/if_ethersubr.c		ether | fddi | netatalk | token |
   1579 					    wlan
   1580 file	net/if_faith.c			faith & inet & inet6	needs-flag
   1581 file	net/if_fddisubr.c		fddi			needs-flag
   1582 file	net/if_gif.c			gif			needs-flag
   1583 file	net/if_gre.c			gre			needs-flag
   1584 file	net/if_hippisubr.c		hippi			needs-flag
   1585 file	net/if_ieee1394subr.c		ieee1394
   1586 file	net/if_loop.c			loop			needs-flag
   1587 file	net/if_media.c
   1588 file	net/if_ppp.c			ppp			needs-flag
   1589 file	net/if_srt.c			srt
   1590 file	net/if_stf.c			stf & inet & inet6	needs-flag
   1591 file	net/if_sl.c			sl			needs-flag
   1592 file	net/if_spppsubr.c		sppp
   1593 file	net/if_strip.c			strip			needs-flag
   1594 file	net/if_tokensubr.c		token			needs-flag
   1595 file	net/if_tap.c			tap			needs-flag
   1596 file	net/if_tun.c			tun			needs-flag
   1597 file	net/if_vlan.c			vlan			needs-flag
   1598 file	net/if_pppoe.c			pppoe			needs-flag
   1599 file	net/pfil.c			pfil_hooks | ipfilter | pf
   1600 file	net/ppp-deflate.c		ppp & ppp_deflate
   1601 file	net/ppp_tty.c			ppp
   1602 file	net/net_stats.c
   1603 file	net/radix.c
   1604 file	net/raw_cb.c
   1605 file	net/raw_usrreq.c
   1606 file	net/route.c
   1607 file	net/rtsock.c
   1608 file	net/slcompress.c		sl | ppp | strip | (irip & irip_vj)
   1609 file	net/zlib.c			(ppp & ppp_deflate) | ipsec | opencrypto | vnd_compression
   1610 file	netinet/accf_data.c		accf_data
   1611 file	netinet/accf_http.c		accf_http
   1612 file	netinet/cpu_in_cksum.c		(inet | inet6) & !cpu_in_cksum
   1613 file	netinet/if_arp.c		arp | netatalk		needs-flag
   1614 file	netinet/if_atm.c		atm
   1615 file	netinet/in4_cksum.c		inet
   1616 file	netinet/in_cksum.c		inet
   1617 file	netinet/in_gif.c		gif & inet
   1618 file	netinet/ip_carp.c		carp & (inet | inet6)	needs-flag
   1619 file	netinet/ip_ecn.c		ipsec | fast_ipsec | gif | stf
   1620 file	netinet/ip_encap.c		inet | inet6
   1621 file	netinet/ip_etherip.c		etherip & inet
   1622 file	netinet6/ip6_etherip.c		etherip & inet6
   1623 file	netinet6/in6_gif.c		gif & inet6
   1624 
   1625 file	netisdn/i4b_ctl.c		isdnctl			needs-flag
   1626 file	netisdn/i4b_isppp.c		ippp			needs-count
   1627 file	netisdn/i4b_ipr.c		irip			needs-count
   1628 file	netisdn/i4b_rbch.c		isdnbchan		needs-count
   1629 file	netisdn/i4b_tel.c		isdntel			needs-count
   1630 file	netisdn/i4b_trace.c		isdntrc			needs-count
   1631 
   1632 file	netisdn/i4b_mbuf.c		passive_isdn
   1633 file	netisdn/i4b_l2.c		passive_isdn
   1634 file	netisdn/i4b_l2fsm.c		passive_isdn
   1635 file	netisdn/i4b_uframe.c		passive_isdn
   1636 file	netisdn/i4b_tei.c		passive_isdn
   1637 file	netisdn/i4b_sframe.c		passive_isdn
   1638 file	netisdn/i4b_iframe.c		passive_isdn
   1639 file	netisdn/i4b_l2timer.c		passive_isdn
   1640 file	netisdn/i4b_util.c		passive_isdn
   1641 file	netisdn/i4b_lme.c		passive_isdn
   1642 # Q.931 handler
   1643 file	netisdn/i4b_q931.c		passive_isdn
   1644 file	netisdn/i4b_q932fac.c		passive_isdn
   1645 file	netisdn/i4b_l3fsm.c		passive_isdn
   1646 file	netisdn/i4b_l3timer.c		passive_isdn
   1647 file	netisdn/i4b_l2if.c		passive_isdn
   1648 file	netisdn/i4b_l4if.c		passive_isdn
   1649 # isdn device driver, interface to isdnd
   1650 file	netisdn/i4b_i4bdrv.c		isdn			needs-flag
   1651 file	netisdn/i4b_l4.c		isdndev			needs-flag
   1652 file	netisdn/i4b_l4mgmt.c		isdndev			needs-flag
   1653 file	netisdn/i4b_l4timer.c		isdndev			needs-flag
   1654 # capi
   1655 file	netisdn/i4b_capi_l4if.c		isdncapi
   1656 file	netisdn/i4b_capi_llif.c		isdncapi
   1657 file	netisdn/i4b_capi_msgs.c		isdncapi
   1658 
   1659 # Game adapter (joystick)
   1660 device	joy
   1661 file	dev/ic/joy.c			joy needs-flag
   1662 
   1663 include	"net/agr/files.agr"
   1664 
   1665 #
   1666 # General Purpose Input/Output framework
   1667 #
   1668 define	onewire_bitbang
   1669 include	"dev/gpio/files.gpio"
   1670 
   1671 include "dev/onewire/files.onewire"
   1672 
   1673 #
   1674 # Pseudo audio device
   1675 #
   1676 include "dev/pad/files.pad"
   1677 
   1678 #
   1679 # Intel 386 Real Mode emulator
   1680 #
   1681 include "lib/libx86emu/files.x86emu"
   1682 
   1683 #
   1684 # "tprof" profiler.
   1685 #
   1686 include	"dev/tprof/files.tprof"
   1687 
   1688 #
   1689 # alternate memory device
   1690 #
   1691 include "dev/altmem/files.altmem"
   1692