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