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