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