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