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