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