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