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