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