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