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