files revision 1.763
1# $NetBSD: files,v 1.763 2006/03/01 22:12:09 cube 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# 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 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]} 915define vcons 916# attribute to pull in raster support 917# 918define wsrasteremulops 919# common PC display functions 920# 921defflag opt_pcdisplay.h PCDISPLAY_SOFTCURSOR 922define pcdisplayops 923file dev/ic/pcdisplay_subr.c pcdisplayops 924file dev/ic/pcdisplay_chars.c pcdisplayops 925# VGA graphics 926# 927defparam opt_vga.h VGA_CONSOLE_SCREENTYPE 928defflag opt_vga.h VGA_CONSOLE_ATI_BROKEN_FONTSEL 929defflag opt_vga.h VGA_RASTERCONSOLE 930defflag opt_vga.h VGA_RESET 931device vga: wsemuldisplaydev, pcdisplayops 932file dev/ic/vga.c vga & !vga_rasterconsole needs-flag 933file dev/ic/vga_raster.c vga_rasterconsole needs-flag 934file dev/ic/vga_subr.c vga | vga_rasterconsole 935file dev/ic/vga_common.c vga | vga_rasterconsole 936# Integraphics Systems IGA168x and CyberPro framebuffers (linear non-VGA mode) 937# 938device igsfb: wsemuldisplaydev, wsrasteremulops, rasops8, vcons 939file dev/ic/igsfb.c igsfb needs-flag 940file dev/ic/igsfb_subr.c igsfb 941 942# STI (hp graphics) 943device sti: wsemuldisplaydev 944file dev/ic/sti.c sti & (sti_pci | sti_sgc | sti_phantom) 945 946# Attributes which machine-independent bus support can be attached to. 947# These should be defined here, because some of these busses can have 948# devices which provide these attributes, and we'd like to avoid hairy 949# ordering constraints on inclusion of the busses' "files" files. 950# 951define isabus { } # ISA attachment 952define eisabus { } # EISA attachment 953define pcibus {[bus = -1]} # PCI attachment 954define tcbus { } # TurboChannel attachment 955define mcabus { } # MicroChannel attachment 956define usbus { } # USB attachment 957define fwbus { } # IEEE 1394 attachment 958define vmebus { } # VME bus attachment 959define acpibus { } # ACPI "bus" attachment 960define pcmciabus { [controller = -1], [socket = -1]} # PCMCIA bus attachment 961define cbbus {[slot = -1]} # CardBus attachment 962define pcmciaslot {[slot = -1]} # PCMCIA slot itself 963 964# We need the USB bus controllers here so different busses can 965# use them in an 'attach-with'. 966# UHCI USB controller 967# 968 969defparam USB_MEM_RESERVE 970 971device uhci: usbus 972file dev/usb/uhci.c uhci needs-flag 973 974# OHCI USB controller 975# 976device ohci: usbus 977file dev/usb/ohci.c ohci needs-flag 978 979# EHCI USB controller 980# 981device ehci: usbus 982file dev/usb/ehci.c ehci needs-flag 983 984# SL811HS/T USB controller 985defflag opt_slhci.h SLHCI_DEBUG 986device slhci: usbus 987file dev/ic/sl811hs.c slhci needs-flag 988 989# Myson MTD803 3-in-1 Fast Ethernet Controller 990device mtd: arp, ether, ifnet, mii 991file dev/ic/mtd803.c mtd 992 993# radio devices, attaches to radio hardware driver 994device radio 995attach radio at radiodev 996 997# IEEE 1394 controllers 998# (These need to be here since it will have both PCI and CardBus attachments) 999# 1000device fwohci: fwbus 1001 1002# Sony Programmable I/O Controller 1003device spic: wsmousedev 1004file dev/ic/spic.c spic 1005 1006# IBM CPC700 PowerPC bridge 1007define cpcbus { addr, [irq=-1] } 1008device cpc: cpcbus, pcibus 1009file dev/ic/cpc700.c cpc 1010 1011attach com at cpcbus with com_cpcbus 1012file dev/ic/com_cpcbus.c com_cpcbus 1013 1014device cpctim 1015attach cpctim at cpcbus 1016file dev/ic/timer_cpcbus.c cpctim 1017 1018device cpciic 1019attach cpciic at cpcbus with iic_cpcbus 1020file dev/ic/iic_cpcbus.c iic_cpcbus 1021 1022 1023# Attribute used by various things that need BPF's virtual machine 1024# 1025define bpf_filter 1026defparam opt_bpf.h BPF_BUFSIZE 1027 1028# Attributes used by the ISDN subsystem 1029# 1030define isdndev # the ISDN subsystem 1031define passive_isdn # files needed by passive cards (XXX - protocol 1032 # specific) 1033define isdncapi # ISDN CAPI (http://www.capi.org/) 1034 1035# The isac found on the Fritz V2.0 Card. 1036define nisacsx 1037file dev/ic/isacsx.c nisacsx needs-flag 1038 1039# The 'standard' isac 1040define nisac 1041file dev/ic/isac.c nisac needs-flag 1042 1043# ISDN cards based on the Siemens ISAC/HSCX chipset (or lookalikes) 1044# 1045device isic: isdndev, passive_isdn, nisac 1046 1047file dev/ic/isic.c isic 1048file dev/ic/isic_l1.c isic|ifpci|ifritz 1049file dev/ic/isic_l1fsm.c isic|ifpci|ifritz 1050file dev/ic/hscx.c isic 1051file dev/ic/isic_bchan.c isic 1052 1053# (old) Diehl active ISDN cards 1054# 1055device daic: isdndev 1056file dev/ic/daic.c daic 1057 1058# AWM B1/T1 1059# XXX: passive_isdn 1060device iavc: isdndev, isdncapi, passive_isdn 1061file dev/ic/iavc.c iavc 1062 1063# legitimate pseudo-devices 1064# 1065defpseudo vnd { }: disk 1066defflag opt_vnd.h VND_COMPRESSION 1067defpseudo ccd: disk 1068defpseudo cgd: disk, des, blowfish, cast128, rijndael 1069defpseudo md { }: disk 1070defpseudo fss: disk 1071 1072defpseudo pty: tty 1073defpseudo rnd 1074defpseudo ksyms 1075defpseudo nullcons 1076 1077defpseudo loop: ifnet 1078defpseudo sl: ifnet 1079defpseudo ppp: ifnet, bpf_filter 1080defpseudo pppoe: ifnet, ether, sppp 1081defpseudo sppp: ifnet 1082defpseudo tun: ifnet 1083defpseudo vlan: ifnet, ether 1084defpseudo bridge: ifnet, ether 1085defpseudo bpfilter: ifnet, bpf_filter 1086defpseudo strip: ifnet 1087defpseudo gre: ifnet 1088defpseudo gif: ifnet 1089defpseudo faith: ifnet 1090defpseudo stf: ifnet 1091defpseudo tap { }: ifnet, ether, arp, bpf_filter 1092 1093defpseudo sequencer 1094defpseudo clockctl 1095defpseudo irix_kmem 1096defpseudo irix_usema 1097 1098# ISDN userland pseudo devices 1099# 1100defpseudo isdntrc: isdndev, tty 1101defpseudo isdnbchan: isdndev, tty 1102defpseudo isdntel: isdndev, tty 1103defpseudo isdnctl: isdndev, tty 1104defpseudo isdn: isdndev, tty 1105 1106# ISDN network interfaces 1107defpseudo irip: isdndev, ifnet 1108defflag opt_irip.h IRIP_VJ 1109defpseudo ippp: isdndev, sppp, ifnet 1110 1111# KTTCP network throughput testing pseudo-device 1112defpseudo kttcp 1113file dev/kttcp.c kttcp needs-flag 1114 1115# Verified exec fingerprint loader pseudo-device 1116defpseudo veriexec 1117file kern/kern_verifiedexec.c veriexec needs-flag 1118file dev/verified_exec.c veriexec needs-flag 1119 1120# isochronous pseudo device for IEEE 1394, i.LINK or FireWire 1121defpseudo fwiso: ieee1394 1122 1123# driver attach / detach user interface 1124defpseudo drvctl 1125file kern/kern_drvctl.c drvctl 1126 1127# 1128# File systems 1129# 1130include "coda/files.coda" 1131include "fs/adosfs/files.adosfs" 1132include "fs/cd9660/files.cd9660" 1133include "fs/filecorefs/files.filecorefs" 1134include "fs/msdosfs/files.msdosfs" 1135include "fs/ntfs/files.ntfs" 1136include "fs/ptyfs/files.ptyfs" 1137include "fs/udf/files.udf" 1138include "fs/smbfs/files.smbfs" 1139include "fs/sysvbfs/files.sysvbfs" 1140include "fs/tmpfs/files.tmpfs" 1141include "fs/union/files.union" 1142include "miscfs/fdesc/files.fdesc" 1143include "miscfs/kernfs/files.kernfs" 1144include "miscfs/nullfs/files.nullfs" 1145include "miscfs/overlay/files.overlay" 1146include "miscfs/portal/files.portal" 1147include "miscfs/procfs/files.procfs" 1148include "miscfs/umapfs/files.umapfs" 1149include "nfs/files.nfs" 1150include "ufs/files.ufs" 1151 1152# 1153# UVM (virtual memory) 1154# 1155include "uvm/files.uvm" 1156 1157# 1158# kernel sources 1159# 1160file dev/auconv.c auconv | mulaw 1161file dev/audio.c audio | midi | midibus needs-flag 1162file dev/audiobell.c audiobell 1163file dev/aurateconv.c aurateconv needs-flag 1164file dev/ccd.c ccd needs-flag 1165file dev/cgd.c cgd needs-flag 1166file dev/cgd_crypto.c cgd 1167file dev/clock_subr.c 1168file dev/clockctl.c clockctl needs-flag 1169file dev/dksubr.c cgd | xbd 1170file dev/dkwedge/dk.c 1171file dev/dkwedge/dkwedge_bsdlabel.c dkwedge_method_bsdlabel 1172file dev/dkwedge/dkwedge_gpt.c dkwedge_method_gpt 1173file dev/dkwedge/dkwedge_mbr.c dkwedge_method_mbr 1174file dev/firmload.c firmload 1175file dev/fss.c fss needs-count 1176file dev/md.c md needs-count 1177file dev/midi.c midi | midibus needs-flag 1178file dev/midisyn.c midisyn 1179file dev/mm.c 1180file dev/mulaw.c mulaw needs-flag 1181file dev/nullcons_subr.c nullcons needs-flag 1182file dev/radio.c radio needs-flag 1183file dev/rnd.c rnd needs-flag 1184file dev/rndpool.c rnd needs-flag 1185file dev/sequencer.c sequencer needs-flag 1186file dev/vnd.c vnd needs-flag 1187file kern/bufq_disksort.c bufq_disksort 1188file kern/bufq_fcfs.c bufq_fcfs 1189file kern/bufq_priocscan.c bufq_priocscan 1190file kern/bufq_readprio.c bufq_readprio | new_bufq_strategy 1191file kern/core_elf32.c exec_elf32 1192file kern/core_elf64.c exec_elf64 1193file kern/core_netbsd.c exec_aout | exec_coff | exec_ecoff | 1194 exec_macho | lkm 1195file kern/cnmagic.c 1196file kern/exec_aout.c exec_aout 1197file kern/exec_conf.c 1198file kern/exec_ecoff.c exec_ecoff 1199file kern/exec_elf32.c exec_elf32 1200file kern/exec_elf64.c exec_elf64 1201file kern/exec_macho.c exec_macho 1202file kern/exec_script.c exec_script 1203file kern/exec_subr.c 1204file kern/init_main.c 1205file kern/init_sysctl.c 1206file kern/init_sysent.c 1207file kern/kern_acct.c 1208file kern/kern_clock.c 1209file kern/kern_descrip.c 1210file kern/kern_event.c 1211file kern/kern_exec.c 1212file kern/kern_exit.c 1213file kern/kern_fork.c 1214file kern/kern_kcont.c kcont 1215file kern/kern_kthread.c 1216file kern/kern_ktrace.c 1217file kern/kern_ksyms.c ksyms | ddb | lkm needs-flag 1218file kern/kern_lkm.c lkm 1219file kern/kern_lock.c 1220file kern/kern_lwp.c 1221file kern/kern_malloc.c 1222file kern/kern_malloc_debug.c malloc_debug 1223file kern/kern_ntptime.c 1224file kern/kern_physio.c 1225file kern/kern_proc.c 1226file kern/kern_prot.c 1227file kern/kern_ras.c 1228file kern/kern_resource.c 1229file kern/kern_sa.c 1230file kern/kern_sig.c 1231file kern/kern_systrace.c systrace 1232file kern/kern_subr.c 1233file kern/kern_synch.c 1234file kern/kern_sysctl.c 1235file kern/kern_time.c 1236file kern/kern_timeout.c 1237file kern/kern_uuid.c 1238file kern/kern_xxx.c 1239file kern/kgdb_stub.c kgdb 1240file kern/subr_autoconf.c 1241file kern/subr_blist.c vmswap 1242file kern/subr_bufq.c 1243file kern/subr_devsw.c 1244file kern/subr_disk.c 1245file kern/subr_evcnt.c 1246file kern/subr_extent.c 1247file kern/subr_log.c 1248file kern/subr_pool.c 1249file kern/subr_prf.c 1250file kern/subr_prof.c 1251file kern/subr_prop.c 1252file kern/subr_once.c 1253file kern/subr_optstr.c 1254file kern/subr_userconf.c userconf 1255file kern/subr_workqueue.c 1256file kern/subr_xxx.c 1257file kern/sys_generic.c 1258file kern/sys_pipe.c !pipe_socketpair 1259file kern/sys_pmc.c 1260file kern/sys_process.c 1261file kern/sys_socket.c 1262file kern/syscalls.c syscall_debug 1263file kern/sysv_ipc.c sysvshm | sysvsem | sysvmsg 1264file kern/sysv_msg.c sysvmsg 1265file kern/sysv_sem.c sysvsem 1266file kern/sysv_shm.c sysvshm 1267file kern/tty.c 1268file kern/tty_conf.c 1269file kern/tty_bsdpty.c compat_bsdpty 1270file kern/tty_pty.c pty needs-flag 1271file kern/tty_ptm.c pty 1272file kern/tty_subr.c 1273file kern/tty_tty.c 1274file kern/uipc_domain.c 1275file kern/uipc_mbuf.c 1276file kern/uipc_mbuf2.c 1277file kern/uipc_proto.c 1278file kern/uipc_sem.c p1003_1b_semaphore 1279file kern/uipc_socket.c 1280file kern/uipc_socket2.c 1281file kern/uipc_syscalls.c 1282file kern/uipc_usrreq.c 1283file kern/vfs_bio.c 1284file kern/vfs_cache.c 1285file kern/vfs_getcwd.c 1286file kern/vfs_hooks.c 1287file kern/vfs_init.c 1288file kern/vfs_lockf.c 1289file kern/vfs_lookup.c 1290file kern/vfs_subr.c 1291file kern/vfs_syscalls.c 1292file kern/vfs_vnops.c 1293file kern/vfs_xattr.c 1294file kern/vnode_if.c 1295file miscfs/deadfs/dead_vnops.c 1296file miscfs/fifofs/fifo_vnops.c 1297file miscfs/genfs/genfs_vnops.c 1298file miscfs/genfs/layer_subr.c nullfs | overlay | umapfs | lkm 1299file miscfs/genfs/layer_vfsops.c nullfs | overlay | umapfs | lkm 1300file miscfs/genfs/layer_vnops.c nullfs | overlay | umapfs | lkm 1301file miscfs/specfs/spec_vnops.c 1302file miscfs/syncfs/sync_subr.c 1303file miscfs/syncfs/sync_vnops.c 1304file net/bpf.c bpfilter needs-flag 1305file net/bpf_filter.c bpf_filter 1306file net/bsd-comp.c ppp & ppp_bsdcomp 1307file net/if.c 1308file net/if_arcsubr.c arc needs-flag 1309file net/if_atmsubr.c atm 1310file net/if_bridge.c bridge needs-flag 1311file net/bridgestp.c bridge 1312file net/if_ecosubr.c eco 1313file net/if_ethersubr.c ether | fddi | netatalk | token | 1314 wlan 1315file net/if_faith.c faith & inet & inet6 needs-flag 1316file net/if_fddisubr.c fddi needs-flag 1317file net/if_gif.c gif needs-flag 1318file net/if_gre.c gre needs-flag 1319file net/if_hippisubr.c hippi needs-flag 1320file net/if_ieee1394subr.c ieee1394 1321file net/if_loop.c loop needs-flag 1322file net/if_media.c 1323file net/if_ppp.c ppp needs-flag 1324file net/if_stf.c stf & inet & inet6 needs-flag 1325file net/if_sl.c sl needs-flag 1326file net/if_spppsubr.c sppp 1327file net/if_strip.c strip needs-flag 1328file net/if_tokensubr.c token needs-flag 1329file net/if_tap.c tap needs-flag 1330file net/if_tun.c tun needs-flag 1331file net/if_vlan.c vlan needs-flag 1332file net/if_pppoe.c pppoe needs-flag 1333file net/pfil.c pfil_hooks | ipfilter | pf 1334file net/ppp-deflate.c ppp & ppp_deflate 1335file net/ppp_tty.c ppp 1336file net/radix.c 1337file net/raw_cb.c 1338file net/raw_usrreq.c 1339file net/route.c 1340file net/rtsock.c 1341file net/slcompress.c sl | ppp | strip | (irip & irip_vj) 1342file net/zlib.c (ppp & ppp_deflate) | ipsec | opencrypto | vnd_compression 1343file netinet/if_arp.c arp | netatalk needs-flag 1344file netinet/if_atm.c atm 1345file netinet/in_gif.c gif & inet 1346file netinet/ip_ecn.c ipsec | fast_ipsec | gif | stf 1347file netinet/ip_encap.c inet | inet6 1348file netinet/ip_gre.c inet & gre 1349file netinet6/in6_gif.c gif & inet6 1350 1351file netisdn/i4b_ctl.c isdnctl needs-flag 1352file netisdn/i4b_isppp.c ippp needs-count 1353file netisdn/i4b_ipr.c irip needs-count 1354file netisdn/i4b_rbch.c isdnbchan needs-count 1355file netisdn/i4b_tel.c isdntel needs-count 1356file netisdn/i4b_trace.c isdntrc needs-count 1357 1358file netisdn/i4b_mbuf.c passive_isdn 1359file netisdn/i4b_l2.c passive_isdn 1360file netisdn/i4b_l2fsm.c passive_isdn 1361file netisdn/i4b_uframe.c passive_isdn 1362file netisdn/i4b_tei.c passive_isdn 1363file netisdn/i4b_sframe.c passive_isdn 1364file netisdn/i4b_iframe.c passive_isdn 1365file netisdn/i4b_l2timer.c passive_isdn 1366file netisdn/i4b_util.c passive_isdn 1367file netisdn/i4b_lme.c passive_isdn 1368# Q.931 handler 1369file netisdn/i4b_q931.c passive_isdn 1370file netisdn/i4b_q932fac.c passive_isdn 1371file netisdn/i4b_l3fsm.c passive_isdn 1372file netisdn/i4b_l3timer.c passive_isdn 1373file netisdn/i4b_l2if.c passive_isdn 1374file netisdn/i4b_l4if.c passive_isdn 1375# isdn device driver, interface to isdnd 1376file netisdn/i4b_i4bdrv.c isdn needs-flag 1377file netisdn/i4b_l4.c isdndev needs-flag 1378file netisdn/i4b_l4mgmt.c isdndev needs-flag 1379file netisdn/i4b_l4timer.c isdndev needs-flag 1380# capi 1381file netisdn/i4b_capi_l4if.c isdncapi 1382file netisdn/i4b_capi_llif.c isdncapi 1383file netisdn/i4b_capi_msgs.c isdncapi 1384 1385# Game adapter (joystick) 1386device joy 1387file dev/ic/joy.c joy needs-flag 1388 1389include "net/agr/files.agr" 1390 1391# 1392# General Purpose Input/Output framework 1393# 1394include "dev/gpio/files.gpio" 1395