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