files revision 1.636 1 # $NetBSD: files,v 1.636 2003/10/05 08:04:24 jdolecek Exp $
2
3 # @(#)files.newconf 7.5 (Berkeley) 5/10/93
4
5 #
6 # device classes
7 #
8 devclass disk
9 devclass tape
10 devclass ifnet
11 devclass tty
12
13 # options understood by the machine-independent part of the kernel
14 # (note, these are case-sensitive)
15 #
16 defflag INSECURE
17 defflag MBUFTRACE
18 defflag KMEMSTATS
19 defflag KTRACE
20 defflag SYSTRACE
21 defparam MAXUPRC
22 defparam RTC_OFFSET
23 defparam DEFCORENAME
24 defflag opt_pipe.h PIPE_SOCKETPAIR PIPE_NODIRECT
25
26 defflag opt_bufq.h NEW_BUFQ_STRATEGY
27
28 defparam SOMAXKVA
29 defflag opt_sock_counters.h SOSEND_COUNTERS
30 defflag opt_sosend_loan.h SOSEND_NO_LOAN
31
32 defflag MULTIPROCESSOR
33
34 defflag opt_config.h INCLUDE_CONFIG_FILE INCLUDE_JUST_CONFIG
35
36 defparam opt_dump.h DUMP_ON_PANIC
37
38 defflag opt_callout.h CALLWHEEL_STATS
39
40 defflag opt_posix.h P1003_1B_SEMAPHORE
41 defflag opt_sysv.h SYSVMSG SYSVSEM SYSVSHM
42 defparam opt_sysvparam.h SHMMAXPGS SEMMNI SEMMNS SEMUME SEMMNU
43
44 defflag opt_ntp.h PPS_SYNC NTP
45
46 defparam opt_kmempages.h NKMEMPAGES KMEMPAGES_MIN NKMEMPAGES_MAX
47 defflag opt_malloclog.h MALLOCLOG
48 defparam opt_malloclog.h MALLOCLOGSIZE
49 defflag opt_malloc_debug.h MALLOC_DEBUG
50 defflag opt_pool.h POOL_DIAGNOSTIC
51 defparam opt_poollog.h POOL_LOGSIZE
52
53 defflag opt_revcache.h NAMECACHE_ENTER_REVERSE
54
55 defflag opt_execfmt.h EXEC_AOUT EXEC_COFF EXEC_ECOFF EXEC_ELF32
56 EXEC_ELF64 EXEC_MACHO EXEC_SCRIPT
57 EXEC_ELF_NOTELESS
58
59 # compatibility options
60 #
61 defflag COMPAT_OSSAUDIO
62 defflag COMPAT_FREEBSD
63 defflag COMPAT_HPUX
64 defflag COMPAT_IBCS2
65 defflag COMPAT_IRIX
66 defflag COMPAT_LINUX
67 defflag COMPAT_OSF1
68 defflag COMPAT_SUNOS
69 defflag opt_compat_svr4.h COMPAT_SVR4 COMPAT_SVR4_32 SVR4_COMPAT_SOLARIS2
70 defflag COMPAT_ULTRIX
71 defflag COMPAT_NETBSD32
72 defflag COMPAT_AOUT
73 defflag COMPAT_AOUT_M68K
74 defflag COMPAT_M68K4K
75 defflag COMPAT_MACH
76 defflag COMPAT_DARWIN
77 defflag COMPAT_VAX1K
78 defflag COMPAT_43
79 defflag COMPAT_PECOFF
80 defflag opt_compat_netbsd.h COMPAT_16
81 defflag opt_compat_netbsd.h COMPAT_15: COMPAT_16
82 defflag opt_compat_netbsd.h COMPAT_14: COMPAT_15
83 defflag opt_compat_netbsd.h COMPAT_13: COMPAT_14
84 defflag opt_compat_netbsd.h COMPAT_12: COMPAT_13
85 defflag opt_compat_netbsd.h COMPAT_11: COMPAT_12
86 defflag opt_compat_netbsd.h COMPAT_10: COMPAT_11
87 defflag opt_compat_netbsd.h COMPAT_09: COMPAT_10
88 defflag opt_compat_netbsd.h COMPAT_NOMID
89
90 #
91 # Cryptography support. Include this early, since several things
92 # use it.
93
94 # Individual crypto transforms
95 include "crypto/arc4/files.arc4"
96 include "crypto/des/files.des"
97 include "crypto/blowfish/files.blowfish"
98 include "crypto/cast128/files.cast128"
99 include "crypto/rijndael/files.rijndael"
100 include "crypto/ripemd160/files.ripemd160"
101 include "crypto/sha2/files.sha2"
102
103 # General-purpose crypto processing framework.
104 include "opencrypto/files.opencrypto"
105
106 #
107 # System monitoring framework
108 #
109 include "dev/sysmon/files.sysmon"
110
111 #
112 # Networking protocols
113 #
114 include "netatalk/files.netatalk"
115 include "netccitt/files.netccitt"
116 include "netinet/files.netinet"
117 include "netinet/files.ipfilter"
118 include "netinet6/files.netinet6"
119 include "netinet6/files.ipsec"
120 include "netipsec/files.netipsec"
121 include "netiso/files.netiso"
122 include "netnatm/files.netnatm"
123 include "netns/files.netns"
124 include "netsmb/files.netsmb"
125
126 defflag IPX # IPX network stack
127 defflag PFIL_HOOKS # pfil(9)
128 defflag opt_bridge_ipf.h BRIDGE_IPF # bridge(4) use inet_pfil_hooks
129 defflag opt_ppp.h PPP_DEFLATE PPP_BSDCOMP PPP_FILTER
130 # Include deflate or bsd
131 # compression, enable pppd
132 # packet filtering support
133
134 # networking options
135 #
136 defflag GATEWAY
137
138 defparam SB_MAX
139
140 # UVM options
141 #
142 defflag opt_uvmhist.h UVMHIST UVMHIST_PRINT
143 defflag opt_uvm.h USE_TOPDOWN_VM
144
145 # file system options
146 #
147 defflag SOFTDEP # XXX files.ufs?
148 defflag QUOTA # XXX files.ufs?
149 defflag VNODE_OP_NOINLINE
150
151 # buffer cache size options
152 #
153 defparam opt_bufcache.h BUFCACHE BUFPAGES
154
155 # userconf
156 #
157 defflag USERCONF
158
159 #
160 # Not entirely MI, but present on multiple arch's
161 #
162
163 # PC-style MBR handling
164 #
165 defflag opt_mbr.h COMPAT_386BSD_MBRPART
166
167 # debugging options
168 #
169 defflag opt_ddb.h DDB
170 defparam opt_ddbparam.h DDB_FROMCONSOLE DDB_ONPANIC DDB_HISTORY_SIZE
171 DDB_BREAK_CHAR DDB_KEYCODE SYMTAB_SPACE
172 defflag opt_kgdb.h KGDB
173 defparam opt_kgdb.h KGDB_DEV KGDB_DEVNAME KGDB_DEVPORT
174 KGDB_DEVADDR KGDB_DEVRATE KGDB_DEVMODE
175 defflag LOCKDEBUG
176 defflag SYSCALL_DEBUG
177 defflag opt_kstack.h KSTACK_CHECK_MAGIC
178
179 # memory (ram) disk options
180 #
181 defflag opt_md.h MEMORY_DISK_HOOKS MEMORY_DISK_IS_ROOT
182 MEMORY_DISK_DYNAMIC
183 defparam opt_md.h MEMORY_DISK_SERVER MEMORY_DISK_ROOT_SIZE
184 MEMORY_RBFLAGS
185
186 # Support for hardware performance monitoring counters
187 #
188 defflag opt_perfctrs.h PERFCTRS
189
190 # Machine-independant device majors assignements
191 include "dev/majors"
192
193 # generic attributes
194 #
195 define audiobus { }
196 define midibus { }
197 define midisyn
198 define wdc_base
199 define scsi_core
200 define scsi {[channel = -1]}: scsi_core
201 define ata {[channel = -1], [drive = -1]}
202 define atapi {[channel = -1]}
203 define radiodev { }
204 define gpibdev {[address = -1]}
205
206 # audio device attributes
207 #
208 define mulaw
209 define auconv
210 define aurateconv
211 file dev/aurateconv.c aurateconv needs-flag
212
213 # audio and midi devices, attaches to audio hardware driver
214 #
215 device audio
216 attach audio at audiobus
217 device midi
218 attach midi at midibus
219
220 # I2C device support
221 include "dev/i2c/files.i2c"
222
223 # IR device support
224 include "dev/ir/files.ir"
225
226 # Bluetooth device support
227 include "dev/bluetooth/files.bluetooth"
228
229 # raster operations attributes
230 #
231 define rasops1
232 define rasops2
233 define rasops4
234 define rasops8
235 define rasops15
236 define rasops16
237 define rasops24
238 define rasops32
239
240 # net device attributes - we have generic code for arc(net), ether(net),
241 # fddi, token ring, atm and eco(net).
242 #
243 define arc
244 define atm
245 define eco
246 define ether
247 define fddi
248 define hippi
249 define ieee1394
250 define token
251 define sppp
252 define wlan: arc4
253 define crypto
254
255 # devices ARPing IPv4 pull this in:
256 #
257 define arp
258
259 #
260 # ALTQ network traffic shaping subsystem
261 #
262 include "altq/files.altq"
263
264 #
265 # IPKDB kernel debugger
266 #
267 include "ipkdb/files.ipkdb"
268
269 # Logical disk
270 #
271 device ld: disk
272 file dev/ld.c ld needs-flag
273
274 #
275 # MII/PHY support for network devices
276 #
277 include "dev/mii/files.mii"
278
279 #
280 # RAIDframe
281 #
282 include "dev/raidframe/files.raidframe"
283
284 #
285 # Hardware-assisted data mover API
286 #
287 include "dev/dmover/files.dmover"
288
289 #
290 # "Chipset" drivers. These are the bus-independent routines which
291 # contain the cfdrivers. Attachments are provided by files.<bus>
292 #
293
294 # Adaptec AIC-6[32]60 ICs
295 #
296 device aic: scsi
297 file dev/ic/aic6360.c aic
298
299 # SMC 93Cx6 Serial EEPROM devices
300 #
301 define smc93cx6
302 file dev/ic/smc93cx6.c smc93cx6
303
304 # Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
305 #
306 defparam opt_ahc.h AHC_DEBUG
307 defflag opt_ahc.h AHC_NO_TAGS
308 device ahc: scsi
309 define ahc_seeprom
310 define ahc_aic77xx
311 file dev/ic/aic7xxx.c ahc
312 file dev/ic/aic7xxx_osm.c ahc
313 file dev/ic/aic7xxx_seeprom.c ahc_seeprom
314 file dev/ic/aic77xx.c ahc_aic77xx
315
316 # Adaptec aic79xx SCSI controllers
317 defflag opt_ahd.h AHD_DEBUG
318 device ahd: scsi
319 file dev/ic/aic79xx.c ahd
320 file dev/ic/aic79xx_osm.c ahd
321
322 # DPT EATA SCSI controllers
323 #
324 device dpt: scsi
325 file dev/ic/dpt.c dpt
326
327 # Compaq Smart ARRAY controllers
328 #
329 device cac {unit = -1}
330 file dev/ic/cac.c cac
331
332 attach ld at cac with ld_cac
333 file dev/ic/ld_cac.c ld_cac
334
335 # Mylex DAC960 RAID controllers
336 #
337 device mlx {unit = -1}
338 file dev/ic/mlx.c mlx needs-flag
339
340 attach ld at mlx with ld_mlx
341 file dev/ic/ld_mlx.c ld_mlx
342
343 # ICP-Vortex/Intel RAID controllers
344 #
345 device icp {unit = -1}
346 file dev/ic/icp.c icp needs-flag
347 file dev/ic/icp_ioctl.c icp
348
349 attach ld at icp with ld_icp
350 file dev/ic/ld_icp.c ld_icp
351
352 device icpsp: scsi
353 file dev/ic/icpsp.c icpsp
354 attach icpsp at icp
355
356 # Adaptec FSA RAID controllers
357 #
358 device aac {unit = -1}
359 file dev/ic/aac.c aac
360
361 attach ld at aac with ld_aac
362 file dev/ic/ld_aac.c ld_aac
363
364 # AdvanSys 1200A, 1200B and ULTRA SCSI controllers
365 #
366 device adv: scsi
367 file dev/ic/adv.c adv
368 file dev/ic/advlib.c adv
369 file dev/ic/advmcode.c adv
370
371 # AdvanSys ULTRA WIDE SCSI controllers
372 #
373 device adw: scsi
374 file dev/ic/adw.c adw
375
376 # BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
377 # (Must be declared before AHA to ensure bha probes before aha.
378 # Probing AHA first configures bhas as aha, via their AHA
379 # hardware-compatibility mode.)
380 #
381 device bha: scsi
382 file dev/ic/bha.c bha
383
384 # Adaptec AHA-154x and AHA-164x controllers
385 # (must be after bha, see above)
386 #
387 device aha: scsi
388 file dev/ic/aha.c aha
389
390 # Initio INIC-940/950 SCSI controllers
391 #
392 device iha: scsi
393 file dev/ic/iha.c iha
394
395 # Qlogic ISP 10x0 SCSI Controllers
396 #
397 defflag opt_isp.h ISP_DISABLE_1020_SUPPORT
398 ISP_DISABLE_1080_SUPPORT
399 ISP_DISABLE_2100_SUPPORT
400 ISP_DISABLE_2200_SUPPORT
401 ISP_DISABLE_FW ISP_TARGET_MODE
402 ISP_FW_CRASH_DUMP
403 defparam opt_isp.h ISP_LOGDEFAULT
404 device isp: scsi
405 file dev/ic/isp.c isp
406 file dev/ic/isp_netbsd.c isp
407 file dev/ic/isp_target.c isp
408
409 # LSILogic Fusion-MPT I/O Processor SCSI/FC Controllers
410 #
411 device mpt: scsi
412 file dev/ic/mpt.c mpt
413 file dev/ic/mpt_debug.c mpt
414 file dev/ic/mpt_netbsd.c mpt
415
416 # Symbios/NCR 53c700 SCSI controllers
417 device oosiop: scsi
418 file dev/ic/oosiop.c oosiop
419
420 # Symbios/NCR 53c710 SCSI controllers
421 #
422 device osiop: scsi
423 file dev/ic/osiop.c osiop
424
425 # common stuff for siop and esiop
426 #
427 define siop_common
428 file dev/ic/siop_common.c siop_common
429
430 # Symbios/NCR 53c720/53c8xx SCSI controllers
431 #
432 device siop: scsi,siop_common
433 file dev/ic/siop.c siop
434 defflag opt_siop.h SIOP_SYMLED
435
436 device esiop: scsi,siop_common
437 file dev/ic/esiop.c esiop
438
439 # UltraStor SCSI controllers
440 #
441 device uha: scsi
442 file dev/ic/uha.c uha
443
444 # Aironet PC4500/PC4800
445 #
446 device an: arp, ether, ifnet
447 file dev/ic/an.c an
448
449 # AMD 79c930-based 802.11 cards
450 #
451 device awi: arp, wlan, ifnet
452 file dev/ic/awi.c awi
453 file dev/ic/am79c930.c awi
454
455 # Lucent & Intersil WaveLan IEEE (802.11)
456 #
457 device wi: arp, wlan, ifnet
458 file dev/ic/wi.c wi
459
460 # ADMtek ADM8211 802.11
461 #
462 device atw: arp, wlan, ifnet, smc93cx6
463 file dev/ic/atw.c atw
464
465 # 3Com Etherlink-III Ethernet controller
466 #
467 device ep: arp, ether, ifnet, mii, mii_bitbang
468 file dev/ic/elink3.c ep
469
470 # 3Com EtherLink XL Controller
471 #
472 device ex: arp, ether, ifnet, mii, mii_bitbang
473 file dev/ic/elinkxl.c ex
474
475 # DEC EtherWORKS III (LEMAC) Ethernet controllers
476 #
477 device lc: arp, ether, ifnet
478 file dev/ic/lemac.c lc
479
480 # LANCE and PCnet Ethernet controllers
481 #
482 device le: arp, ether, ifnet
483 define le24
484 define le32
485 file dev/ic/am7990.c le24
486 file dev/ic/am79900.c le32
487 file dev/ic/lance.c le24 | le32
488
489 # DEC DEPCA-family of LANCE Ethernet controllers
490 #
491 device depca { }: le24
492 file dev/ic/depca.c depca
493 attach le at depca with le_depca
494
495 # Sun HME Ethernet controllers
496 #
497 device hme: arp, ether, ifnet, mii
498 file dev/ic/hme.c hme
499
500 # Sun GEM Ethernet controllers
501 #
502 device gem: arp, ether, ifnet, mii
503 file dev/ic/gem.c gem
504
505 # 8390-family Ethernet controllers
506 #
507 defflag opt_ipkdb.h IPKDB_DP8390
508 define dp8390nic
509 file dev/ic/dp8390.c dp8390nic | ipkdb_dp8390
510
511 # National Semiconductor DP83905 AT/LANTIC Ethernet media support
512 #
513 define dp83905
514 file dev/ic/dp83905.c dp83905
515
516 # Macronix MX98905 Ethernet controller
517 # (use as an attribute for an "ne" bus attachment)
518 #
519 define mx98905
520 file dev/ic/mx98905.c mx98905
521
522 # TROPIC Token-Ring controller
523 #
524 device tr: arp, token, ifnet
525 file dev/ic/tropic.c tr
526
527 # NCR 5380 SCSI Bus Controller
528 #
529 define ncr5380sbc
530 file dev/ic/ncr5380sbc.c ncr5380sbc
531 device nca: scsi, ncr5380sbc
532
533 # Sun sc PAL SCSI Bus Controller
534 #
535 define sunscpal
536 file dev/ic/sunscpal.c sunscpal
537 device ssc: scsi, sunscpal
538
539 # DEC FDDI Chipset
540 #
541 define pdq
542 file dev/ic/pdq.c pdq
543 file dev/ic/pdq_ifsubr.c pdq
544
545 # Cyclades Cyclom-8/16/32
546 #
547 device cy: tty
548 file dev/ic/cy.c cy needs-flag
549
550 # Efficient Networks, Inc. ATM interface
551 #
552 device en: atm, ifnet
553 file dev/ic/midway.c en
554
555 # NCR 53x9x or Emulex ESP SCSI Controller
556 #
557 define ncr53c9x
558 device esp: scsi, ncr53c9x
559 file dev/ic/ncr53c9x.c ncr53c9x
560
561 # Hitachi HD44780 LCD panel controller
562 define hd44780
563 file dev/ic/hd44780_subr.c hd44780
564 file dev/ic/lcdkp_subr.c hd44780
565
566 # Hitachi HD64570 serial controller
567 #
568 define hd64570
569 file dev/ic/hd64570.c hd64570
570
571 # Riscom/N2 ISA/PCI Sync Serial Controller
572 #
573 device ntwoc: ifnet, hd64570
574
575 # Intel 82586 Ethernet Controller
576 #
577 define i82586
578 file dev/ic/i82586.c i82586
579
580 # Intel 82557/82558/82559 Ethernet Controller
581 #
582 device fxp: ether, ifnet, arp, mii
583 file dev/ic/i82557.c fxp
584
585 # SEEQ 8005 Advanced Ethernet Data Link Controller
586 #
587 define seeq8005
588 file dev/ic/seeq8005.c seeq8005
589
590 # SMC 91Cxx Ethernet Controller
591 #
592 device sm: arp, ether, ifnet, mii, mii_bitbang
593 file dev/ic/smc91cxx.c sm
594
595 # SMC 83C170 EPIC/100 Fast Ethernet Controller
596 #
597 device epic: arp, ether, ifnet, mii
598 file dev/ic/smc83c170.c epic
599
600 # DEC SGEC Second Generation Ethernet Controller
601 #
602 define sgec
603 file dev/ic/sgec.c sgec
604
605 # MB8696x Ethernet Controller
606 #
607 define mb86960
608 file dev/ic/mb86960.c mb86960
609
610 # Generic MB8696x Ethernet Controller driver
611 #
612 device mbe: arp, ether, ifnet, mb86960
613
614 # Interwave Am78C201 audio driver
615 #
616 define interwave
617 file dev/ic/interwave.c interwave
618
619 # TMS 320av110 MPEG2/audio driver
620 #
621 define tms320av110
622 file dev/ic/tms320av110.c tms320av110
623
624 # Novell NE2000-compatible Ethernet cards, based on the
625 # National Semiconductor DS8390.
626 #
627 defflag opt_ipkdb.h IPKDB_NE : IPKDB_DP8390
628 device ne: ether, ifnet, arp, dp8390nic, mii
629 file dev/ic/ne2000.c ne | ipkdb_ne
630
631 # 8250/16[45]50-based "com" ports
632 # XXX In a perfect world, this would be done with attributes
633 #
634 defflag opt_com.h COM16650 COM_HAYESP COM_DEBUG COM_MPLOCK
635 device com { } : tty
636 file dev/ic/com.c com needs-flag
637
638 # PC-like keyboard controller
639 #
640 device pckbc { [slot = -1] }
641 file dev/ic/pckbc.c pckbc needs-flag
642
643 # Cirrus Logic CD240[01] 4-port Multi-Protocol Communications Controller
644 #
645 device clmpcc: tty
646 file dev/ic/clmpcc.c clmpcc needs-flag
647
648 # National Semiconductor LM7[89]
649 #
650 device lm: sysmon_envsys
651 file dev/ic/nslm7x.c lm needs-flag
652
653 # Essential Communications Corp. HIPPI Interface
654 #
655 device esh: hippi, ifnet
656 file dev/ic/rrunner.c esh needs-flag
657
658 # SMC 90c26, SMC 90C56 (and 90C66 if in compat mode) chip driver
659 #
660 device bah: ifnet, arc, arp
661 file dev/ic/smc90cx6.c bah
662
663 # OPL2/OPL3 FM synth driver
664 #
665 device opl: midibus, midisyn
666 file dev/ic/opl.c opl
667 file dev/ic/oplinstrs.c opl
668
669 # MPU401 MIDI UART compatibles
670 #
671 device mpu: midibus
672 file dev/ic/mpu.c mpu needs-flag
673
674 # AD1848 (CS4248, CS4231, AD1845) audio codec support; used by other drivers
675 #
676 define ad1848
677 file dev/ic/ad1848.c ad1848
678
679 # AMD 7930 audio/ISDN codec
680 #
681 define am7930
682 file dev/ic/am7930.c am7930
683
684 # SPARC `SUNW,audiocs'
685 #
686 device audiocs: audiobus, auconv, ad1848
687 file dev/ic/cs4231.c audiocs
688
689 # AC-97 CODECs
690 #
691 define ac97
692 file dev/ic/ac97.c ac97
693
694 # Oki MSM6258 support code
695 #
696 define msm6258
697 file dev/ic/msm6258.c msm6258
698
699 # LSI64854 DMA controller back-end
700 #
701 define lsi64854
702 file dev/ic/lsi64854.c lsi64854
703
704 # Cirrus Logic CL-CD180/1864/1865 multi port serial controller back-end
705 #
706 define cd18xx
707 file dev/ic/cd18xx.c cd18xx
708
709 # RealTek 8019/8029 NE2000-compatible network interface subroutines
710 #
711 define rtl80x9
712 file dev/ic/rtl80x9.c rtl80x9
713
714 # RealTek 8129/8139 Ethernet controllers
715 #
716 device rtk: ether, ifnet, arp, mii
717 file dev/ic/rtl81x9.c rtk
718
719 # Common code for ESDI/IDE/etc. controllers
720 #
721 device wdc: ata, atapi, wdc_base
722 file dev/ic/wdc.c wdc_base
723
724 # CHIPS and Technologies 82C7[12][01] Universal Peripheral Controller
725 # lpt attachment commented out because "device lpt" isn't in this file.
726 #
727 device upc { [offset = -1] }
728 attach wdc at upc with wdc_upc
729 attach com at upc with com_upc
730 # attach lpt at upc with lpt_upc
731 file dev/ic/upc.c upc
732 file dev/ic/wdc_upc.c wdc_upc
733 file dev/ic/com_upc.c com_upc
734 # file dev/ic/lpt_upc.c lpt_upc
735
736 # Common code for ISA/PCMCIA (non 802.11) WaveLAN adapters
737 #
738 define wavelan
739 device wl: ether, ifnet, arp
740 file dev/ic/wavelan.c wavelan
741
742 # DECchip 21x4x Ethernet controller family, and assorted clones.
743 #
744 device tlp: arp, ether, ifnet, mii, mii_bitbang
745 file dev/ic/tulip.c tlp
746
747 # Adaptec AIC-6915 Ethernet interface
748 #
749 device sf: arp, ether, ifnet, mii
750 file dev/ic/aic6915.c sf
751
752 # Mostek time-of-day clock and NVRAM
753 #
754 define mk48txx
755 file dev/ic/mk48txx.c mk48txx
756
757 # Intersil 7170 time-of-day clock
758 #
759 define intersil7170
760 file dev/ic/intersil7170.c intersil7170
761
762 # National Semiconductor MM58167 time-of-day clock
763 #
764 define mm58167
765 file dev/ic/mm58167.c mm58167
766
767 # D-Link DL10019/10022 NE2000-compatible network interface subroutines
768 #
769 define dl10019
770 file dev/ic/dl10019.c dl10019
771
772 # ASIX AX88190 NE2000-compatible network interface subroutines
773 #
774 define ax88190
775 file dev/ic/ax88190.c ax88190
776
777 # WD/SMC 80x3 family, SMC Elite Ultra [8216], SMC EtherEZ
778 #
779 device we: ether, ifnet, arp, dp8390nic
780 file dev/ic/we.c we
781
782 # Allied-Telesis Ethernet driver based on Fujitsu MB8696xA controllers
783 #
784 device ate: arp, ether, ifnet, mb86960
785
786 # Fujitsu FMV-18x Ethernet driver based on Fujitsu MB8696xA controllers
787 #
788 device fmv: arp, ether, ifnet, mb86960
789 file dev/ic/fmv.c fmv
790
791 # Crystal Semiconductor CS8900, CS8920, and CS8920M Ethernet
792 #
793 device cs: arp, ether, ifnet
794 file dev/ic/cs89x0.c cs
795
796 # Radio device attributes
797 #
798 define tea5757
799 file dev/ic/tea5757.c tea5757
800 define lm700x
801 file dev/ic/lm700x.c lm700x
802
803 # Definitions for wscons
804 # device attributes: display, display with emulator, keyboard, and mouse
805 #
806 define wsdisplaydev {[kbdmux = 1]}
807 define wsemuldisplaydev {[console = -1], [kbdmux = 1]}
808 define wskbddev {[console = -1], [mux = 1]}
809 define wsmousedev {[mux = 0]}
810 # attribute to pull in raster support
811 #
812 define wsrasteremulops
813 # common PC display functions
814 #
815 defflag opt_pcdisplay.h PCDISPLAY_SOFTCURSOR
816 define pcdisplayops
817 file dev/ic/pcdisplay_subr.c pcdisplayops
818 file dev/ic/pcdisplay_chars.c pcdisplayops
819 # VGA graphics
820 #
821 defparam opt_vga.h VGA_CONSOLE_SCREENTYPE
822 defflag opt_vga.h VGA_CONSOLE_ATI_BROKEN_FONTSEL
823 defflag opt_vga.h VGA_RASTERCONSOLE
824 defflag opt_vga.h VGA_RESET
825 device vga: wsemuldisplaydev, pcdisplayops
826 file dev/ic/vga.c vga & !vga_rasterconsole needs-flag
827 file dev/ic/vga_raster.c vga_rasterconsole needs-flag
828 file dev/ic/vga_subr.c vga | vga_rasterconsole
829 file dev/ic/vga_common.c vga | vga_rasterconsole
830 # Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode)
831 #
832 device igsfb: wsemuldisplaydev, wsrasteremulops, rasops8
833 file dev/ic/igsfb.c igsfb needs-flag
834 file dev/ic/igsfb_subr.c igsfb
835
836 # Attributes which machine-independent bus support can be attached to.
837 # These should be defined here, because some of these busses can have
838 # devices which provide these attributes, and we'd like to avoid hairy
839 # ordering constraints on inclusion of the busses' "files" files.
840 #
841 define isabus { } # ISA attachment
842 define eisabus { } # EISA attachment
843 define pcibus {[bus = -1]} # PCI attachment
844 define tcbus { } # TurboChannel attachment
845 define mcabus { } # MicroChannel attachment
846 define usbus { } # USB attachment
847 define fwbus {[idhi=-1],[idlo=-1]} # IEEE 1394 attachment
848 define vmebus { } # VME bus attachment
849 define acpibus { } # ACPI "bus" attachment
850 define pcmciabus { [controller = -1], [socket = -1]} # PCMCIA bus attachment
851 define cbbus {[slot = -1]} # CardBus attachment
852 define pcmciaslot {[slot = -1]} # PCMCIA slot itself
853
854 # We need the USB bus controllers here so different busses can
855 # use them in an 'attach-with'.
856 # UHCI USB controller
857 #
858 device uhci: usbus
859 file dev/usb/uhci.c uhci needs-flag
860
861 # OHCI USB controller
862 #
863 device ohci: usbus
864 file dev/usb/ohci.c ohci needs-flag
865
866 # EHCI USB controller
867 #
868 device ehci: usbus
869 file dev/usb/ehci.c ehci needs-flag
870
871 # SL811HS/T USB controller
872 defflag opt_slhci.h SLHCI_DEBUG
873 device slhci: usbus
874 file dev/ic/sl811hs.c slhci needs-flag
875
876 # Myson MTD803 3-in-1 Fast Ethernet Controller
877 device mtd: arp, ether, ifnet, mii
878 file dev/ic/mtd803.c mtd
879
880 # radio devices, attaches to radio hardware driver
881 device radio
882 attach radio at radiodev
883
884 #
885 # IEEE 1212 routines
886 define ieee1212
887 file dev/std/ieee1212.c ieee1212
888
889 #
890 # SBP2 routines for IEEE 1394
891 define sbp2
892 file dev/ieee1394/sbp2.c sbp2
893
894 # IEEE 1394 controllers
895 # (These need to be here since it will have both PCI and CardBus attachments)
896 #
897 device fwlynx: fwbus
898 device fwohci: fwbus
899
900 # Sony Programmable I/O Controller
901 device spic: wsmousedev
902 file dev/ic/spic.c spic
903
904 # IBM CPC700 PowerPC bridge
905 define cpcbus { addr, [irq=-1] }
906 device cpc: cpcbus, pcibus
907 file dev/ic/cpc700.c cpc
908
909 attach com at cpcbus with com_cpcbus
910 file dev/ic/com_cpcbus.c com_cpcbus
911
912 device cpctim
913 attach cpctim at cpcbus
914 file dev/ic/timer_cpcbus.c cpctim
915
916 device cpciic
917 attach cpciic at cpcbus with iic_cpcbus
918 file dev/ic/iic_cpcbus.c iic_cpcbus
919
920
921 # Attribute used by various things that need BPF's virtual machine
922 #
923 define bpf_filter
924 defparam opt_bpf.h BPF_BUFSIZE
925
926 # Attributes used by the ISDN subsystem
927 #
928 define isdndev # the ISDN subsystem
929 define passive_isdn # files needed by passive cards (XXX - protocol
930 # specific)
931 define isdncapi # ISDN CAPI (http://www.capi.org/)
932
933 # The isac found on the Fritz V2.0 Card.
934 define nisacsx
935 file dev/ic/isacsx.c nisacsx needs-flag
936
937 # The 'standard' isac
938 define nisac
939 file dev/ic/isac.c nisac needs-flag
940
941 # ISDN cards based on the Siemens ISAC/HSCX chipset (or lookalikes)
942 #
943 device isic: isdndev, passive_isdn, nisac
944
945 file dev/ic/isic.c isic
946 file dev/ic/isic_l1.c isic|ifpci|ifritz
947 file dev/ic/isic_l1fsm.c isic|ifpci|ifritz
948 file dev/ic/hscx.c isic
949 file dev/ic/isic_bchan.c isic
950
951 # (old) Diehl active ISDN cards
952 #
953 device daic: isdndev
954 file dev/ic/daic.c daic
955
956 # AWM B1/T1
957 # XXX: passive_isdn
958 device iavc: isdndev, isdncapi, passive_isdn
959 file dev/ic/iavc.c iavc
960
961 # legitimate pseudo-devices
962 #
963 defpseudo vnd: disk
964 defpseudo ccd: disk
965 defpseudo cgd: disk, des, blowfish, cast128, rijndael
966 defpseudo md: disk
967
968 defpseudo pty: tty
969 defpseudo tb: tty
970 defpseudo rnd
971 defpseudo ksyms
972
973 defpseudo loop: ifnet
974 defpseudo sl: ifnet
975 defpseudo ppp: ifnet, bpf_filter
976 defpseudo pppoe: ifnet, ether, sppp
977 defpseudo sppp: ifnet
978 defpseudo tun: ifnet
979 defpseudo vlan: ifnet, ether
980 defpseudo bridge: ifnet, ether
981 defpseudo bpfilter: ifnet, bpf_filter
982 defpseudo strip: ifnet
983 defpseudo gre: ifnet
984 defpseudo gif: ifnet
985 defpseudo faith: ifnet
986 defpseudo stf: ifnet
987
988 defpseudo sequencer
989 defpseudo clockctl
990 defpseudo irix_kmem
991 defpseudo irix_usema
992
993 # ISDN userland pseudo devices
994 #
995 defpseudo isdntrc: isdndev, tty
996 defpseudo isdnbchan: isdndev, tty
997 defpseudo isdntel: isdndev, tty
998 defpseudo isdnctl: isdndev, tty
999 defpseudo isdn: isdndev, tty
1000
1001 # ISDN network interfaces
1002 defpseudo irip: isdndev, ifnet
1003 defflag opt_irip.h IRIP_VJ
1004 defpseudo ippp: isdndev, sppp, ifnet
1005
1006 # KTTCP network throughput testing pseudo-device
1007 defpseudo kttcp
1008 file dev/kttcp.c kttcp needs-flag
1009
1010 # Verified exec fingerprint loader pseudo-device
1011 defpseudo verifiedexec
1012 file kern/kern_verifiedexec.c verifiedexec needs-flag
1013 file dev/verified_exec.c verifiedexec needs-flag
1014
1015 # isochronous pseudo device for IEEE 1394, i.LINK or FireWire
1016 defpseudo fwiso: ieee1394
1017
1018 #
1019 # File systems
1020 #
1021 include "fs/adosfs/files.adosfs"
1022 include "coda/files.coda"
1023 include "fs/filecorefs/files.filecorefs"
1024 include "fs/smbfs/files.smbfs"
1025 include "fs/cd9660/files.cd9660"
1026 include "miscfs/fdesc/files.fdesc"
1027 include "miscfs/kernfs/files.kernfs"
1028 include "miscfs/nullfs/files.nullfs"
1029 include "miscfs/overlay/files.overlay"
1030 include "miscfs/portal/files.portal"
1031 include "miscfs/procfs/files.procfs"
1032 include "miscfs/umapfs/files.umapfs"
1033 include "fs/union/files.union"
1034 include "fs/msdosfs/files.msdosfs"
1035 include "nfs/files.nfs"
1036 include "fs/ntfs/files.ntfs"
1037 include "ufs/files.ufs"
1038
1039 #
1040 # kernel sources
1041 #
1042 file ddb/db_access.c ddb | kgdb
1043 file ddb/db_aout.c ddb
1044 file ddb/db_break.c ddb
1045 file ddb/db_command.c ddb
1046 file ddb/db_examine.c ddb
1047 file ddb/db_expr.c ddb
1048 file ddb/db_input.c ddb
1049 file ddb/db_lex.c ddb
1050 file ddb/db_output.c ddb
1051 file ddb/db_print.c ddb
1052 file ddb/db_run.c ddb | kgdb
1053 file ddb/db_sym.c ddb
1054 file ddb/db_trap.c ddb
1055 file ddb/db_variables.c ddb
1056 file ddb/db_watch.c ddb
1057 file ddb/db_write_cmd.c ddb
1058 file ddb/db_xxx.c ddb
1059 file dev/auconv.c auconv
1060 file dev/audio.c audio | midi | midibus needs-flag
1061 file dev/ccd.c ccd needs-flag
1062 file dev/cgd.c cgd needs-flag
1063 file dev/cgd_crypto.c cgd
1064 file dev/clock_subr.c
1065 file dev/clockctl.c clockctl needs-flag
1066 file dev/dksubr.c cgd
1067 file dev/md.c md needs-count
1068 file dev/midi.c midi | midibus needs-flag
1069 file dev/midisyn.c midisyn
1070 file dev/mm.c
1071 file dev/mulaw.c mulaw
1072 file dev/radio.c radio needs-flag
1073 file dev/rnd.c rnd needs-flag
1074 file dev/rndpool.c rnd needs-flag
1075 file dev/sequencer.c sequencer needs-flag
1076 file dev/vnd.c vnd needs-flag
1077 file kern/core_elf32.c exec_elf32
1078 file kern/core_elf64.c exec_elf64
1079 file kern/core_netbsd.c
1080 file kern/cnmagic.c
1081 file kern/exec_aout.c exec_aout
1082 file kern/exec_conf.c
1083 file kern/exec_ecoff.c exec_ecoff
1084 file kern/exec_elf32.c exec_elf32
1085 file kern/exec_elf64.c exec_elf64
1086 file kern/exec_macho.c exec_macho
1087 file kern/exec_script.c exec_script
1088 file kern/exec_subr.c
1089 file kern/init_main.c
1090 file kern/init_sysent.c
1091 file kern/kern_acct.c
1092 file kern/kern_allocsys.c
1093 file kern/kern_clock.c
1094 file kern/kern_descrip.c
1095 file kern/kern_event.c
1096 file kern/kern_exec.c
1097 file kern/kern_exit.c
1098 file kern/kern_fork.c
1099 file kern/kern_kthread.c
1100 file kern/kern_ktrace.c
1101 file kern/kern_systrace.c systrace
1102 file kern/kern_ksyms.c ksyms | ddb | lkm needs-flag
1103 file kern/kern_lkm.c lkm
1104 file kern/kern_lock.c
1105 file kern/kern_lwp.c
1106 file kern/kern_malloc.c
1107 file kern/kern_malloc_debug.c malloc_debug
1108 file kern/kern_ntptime.c
1109 file kern/kern_physio.c
1110 file kern/kern_proc.c
1111 file kern/kern_prot.c
1112 file kern/kern_ras.c
1113 file kern/kern_resource.c
1114 file kern/kern_sa.c
1115 file kern/kern_sig.c
1116 file kern/kern_subr.c
1117 file kern/kern_synch.c
1118 file kern/kern_sysctl.c
1119 file kern/kern_time.c
1120 file kern/kern_timeout.c
1121 file kern/kern_xxx.c
1122 file kern/kgdb_stub.c kgdb
1123 file kern/subr_autoconf.c
1124 file kern/subr_devsw.c
1125 file kern/subr_disk.c
1126 file kern/subr_extent.c
1127 file kern/subr_log.c
1128 file kern/subr_pool.c
1129 file kern/subr_prf.c
1130 file kern/subr_prof.c
1131 file kern/subr_prop.c
1132 file kern/subr_userconf.c userconf
1133 file kern/subr_xxx.c
1134 file kern/sys_generic.c
1135 file kern/sys_pipe.c !pipe_socketpair
1136 file kern/sys_pmc.c
1137 file kern/sys_process.c
1138 file kern/sys_socket.c
1139 file kern/syscalls.c syscall_debug
1140 file kern/sysv_ipc.c sysvshm | sysvsem | sysvmsg
1141 file kern/sysv_msg.c sysvmsg
1142 file kern/sysv_sem.c sysvsem
1143 file kern/sysv_shm.c sysvshm
1144 file kern/tty.c
1145 file kern/tty_conf.c
1146 file kern/tty_pty.c pty needs-flag
1147 file kern/tty_subr.c
1148 file kern/tty_tb.c tb needs-count
1149 file kern/tty_tty.c
1150 file kern/uipc_domain.c
1151 file kern/uipc_mbuf.c
1152 file kern/uipc_mbuf2.c
1153 file kern/uipc_proto.c
1154 file kern/uipc_sem.c p1003_1b_semaphore
1155 file kern/uipc_socket.c
1156 file kern/uipc_socket2.c
1157 file kern/uipc_syscalls.c
1158 file kern/uipc_usrreq.c
1159 file kern/vfs_bio.c
1160 file kern/vfs_cache.c
1161 file kern/vfs_getcwd.c
1162 file kern/vfs_init.c
1163 file kern/vfs_lockf.c
1164 file kern/vfs_lookup.c
1165 file kern/vfs_subr.c
1166 file kern/vfs_syscalls.c
1167 file kern/vfs_vnops.c
1168 file kern/vnode_if.c
1169 file miscfs/deadfs/dead_vnops.c
1170 file miscfs/fifofs/fifo_vnops.c
1171 file miscfs/genfs/genfs_vnops.c
1172 file miscfs/genfs/layer_subr.c nullfs | overlay | umapfs | lkm
1173 file miscfs/genfs/layer_vfsops.c nullfs | overlay | umapfs | lkm
1174 file miscfs/genfs/layer_vnops.c nullfs | overlay | umapfs | lkm
1175 file miscfs/specfs/spec_vnops.c
1176 file miscfs/syncfs/sync_subr.c
1177 file miscfs/syncfs/sync_vnops.c
1178 file net/bpf.c bpfilter needs-count
1179 file net/bpf_filter.c bpf_filter
1180 file net/bsd-comp.c ppp & ppp_bsdcomp
1181 file net/if.c
1182 file net/if_arcsubr.c arc needs-flag
1183 file net/if_atmsubr.c atm
1184 file net/if_bridge.c bridge needs-flag
1185 file net/bridgestp.c bridge
1186 file net/if_ecosubr.c eco
1187 file net/if_ethersubr.c ether | fddi | netatalk | token |
1188 wlan
1189 file net/if_faith.c faith & inet & inet6 needs-flag
1190 file net/if_fddisubr.c fddi needs-flag
1191 file net/if_gif.c gif needs-flag
1192 file net/if_gre.c gre needs-flag
1193 file net/if_hippisubr.c hippi needs-flag
1194 file net/if_ieee1394subr.c ieee1394
1195 file net/if_ieee80211subr.c wlan
1196 file net/if_loop.c loop needs-count
1197 file net/if_media.c
1198 file net/if_ppp.c ppp needs-count
1199 file net/if_stf.c stf & inet & inet6 needs-flag
1200 file net/if_sl.c sl needs-count
1201 file net/if_spppsubr.c sppp
1202 file net/if_strip.c strip needs-count
1203 file net/if_tokensubr.c token needs-flag
1204 file net/if_tun.c tun needs-flag
1205 file net/if_vlan.c vlan needs-flag
1206 file net/if_pppoe.c pppoe needs-flag
1207 file net/pfil.c pfil_hooks | ipfilter
1208 file net/ppp-deflate.c ppp & ppp_deflate
1209 file net/ppp_tty.c ppp
1210 file net/radix.c
1211 file net/raw_cb.c
1212 file net/raw_usrreq.c
1213 file net/route.c
1214 file net/rtsock.c
1215 file net/slcompress.c sl | ppp | strip | (irip & irip_vj)
1216 file net/zlib.c (ppp & ppp_deflate) | ipsec | opencrypto
1217 file netinet/if_arp.c arp | netatalk needs-flag
1218 file netinet/if_atm.c atm
1219 file netinet/in_gif.c gif & inet
1220 file netinet/ip_ecn.c ipsec | gif | stf
1221 file netinet/ip_encap.c inet | inet6
1222 file netinet/ip_gre.c inet & gre
1223 file netinet6/in6_gif.c gif & inet6
1224
1225 file uvm/uvm_amap.c
1226 file uvm/uvm_anon.c
1227 file uvm/uvm_aobj.c
1228 file uvm/uvm_bio.c
1229 file uvm/uvm_device.c
1230 file uvm/uvm_fault.c
1231 file uvm/uvm_glue.c
1232 file uvm/uvm_init.c
1233 file uvm/uvm_io.c
1234 file uvm/uvm_km.c
1235 file uvm/uvm_loan.c
1236 file uvm/uvm_map.c
1237 file uvm/uvm_meter.c
1238 file uvm/uvm_mmap.c
1239 file uvm/uvm_page.c
1240 file uvm/uvm_pager.c
1241 file uvm/uvm_pdaemon.c
1242 file uvm/uvm_pglist.c
1243 file uvm/uvm_stat.c
1244 file uvm/uvm_swap.c
1245 file uvm/uvm_unix.c
1246 file uvm/uvm_user.c
1247 file uvm/uvm_vnode.c
1248
1249 file netisdn/i4b_ctl.c isdnctl needs-flag
1250 file netisdn/i4b_isppp.c ippp needs-count
1251 file netisdn/i4b_ipr.c irip needs-count
1252 file netisdn/i4b_rbch.c isdnbchan needs-count
1253 file netisdn/i4b_tel.c isdntel needs-count
1254 file netisdn/i4b_trace.c isdntrc needs-count
1255
1256 file netisdn/i4b_mbuf.c passive_isdn
1257 file netisdn/i4b_l2.c passive_isdn
1258 file netisdn/i4b_l2fsm.c passive_isdn
1259 file netisdn/i4b_uframe.c passive_isdn
1260 file netisdn/i4b_tei.c passive_isdn
1261 file netisdn/i4b_sframe.c passive_isdn
1262 file netisdn/i4b_iframe.c passive_isdn
1263 file netisdn/i4b_l2timer.c passive_isdn
1264 file netisdn/i4b_util.c passive_isdn
1265 file netisdn/i4b_lme.c passive_isdn
1266 # Q.931 handler
1267 file netisdn/i4b_q931.c passive_isdn
1268 file netisdn/i4b_q932fac.c passive_isdn
1269 file netisdn/i4b_l3fsm.c passive_isdn
1270 file netisdn/i4b_l3timer.c passive_isdn
1271 file netisdn/i4b_l2if.c passive_isdn
1272 file netisdn/i4b_l4if.c passive_isdn
1273 # isdn device driver, interface to isdnd
1274 file netisdn/i4b_i4bdrv.c isdn needs-flag
1275 file netisdn/i4b_l4.c isdndev needs-flag
1276 file netisdn/i4b_l4mgmt.c isdndev needs-flag
1277 file netisdn/i4b_l4timer.c isdndev needs-flag
1278 # capi
1279 file netisdn/i4b_capi_l4if.c isdncapi
1280 file netisdn/i4b_capi_llif.c isdncapi
1281 file netisdn/i4b_capi_msgs.c isdncapi
1282
1283 # Game adapter (joystick)
1284 device joy
1285 file dev/ic/joy.c joy needs-flag
1286
1287 file dev/ieee1394/fwiso.c fwiso needs-count
1288