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