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