files.i386 revision 1.404
11.404Sriastrad# $NetBSD: files.i386,v 1.404 2020/06/29 23:32:24 riastradh Exp $ 21.2Scgd# 31.56Scgd# new style config file for i386 architecture 41.56Scgd# 51.56Scgd 61.56Scgd# maxpartitions must be first item in files.${ARCH}.newconf 71.253Swizmaxpartitions 8 81.94Sthorpej 91.193Sperrymaxusers 2 16 128 101.125Sthorpej 111.273Syamtdefparam opt_kernbase.h KERNBASE 121.273Syamt 131.124Sbouyer# delay before cpu_reset() for reboot. 141.201Slukemdefparam CPURESET_DELAY 151.101Sthorpej 161.362Sjmcneill# Obsolete Xbox support 171.362Sjmcneillobsolete defflag XBOX 181.298Sjmcneill 191.103Sthorpej# User-settable LDT (used by WINE) 201.201Slukemdefflag USER_LDT 211.104Sthorpej 221.105Sthorpej# X server support in console drivers 231.201Slukemdefflag opt_xserver.h XSERVER XSERVER_DDB 241.181Schs 251.181Schs# The REAL{BASE,EXT}MEM options 261.199Slukemdefparam opt_realmem.h REALBASEMEM REALEXTMEM 271.140Sdrochner 281.326Sjoerg# The PHYSMEM_MAX_{SIZE,ADDR} optionms 291.326Sjoergdefparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE 301.326Sjoerg 311.142Sthorpej# PCI BIOS options 321.201Slukemdefflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 331.202Slukem PCIBIOS_INTR_GUESS PCIINTR_DEBUG 341.202Slukemdefparam opt_pcibios.h PCIBIOS_IRQS_HINT 351.166Sthorpej 361.352Sdyoung# splraise()/spllower() debug 371.352Sdyoungdefflag opt_spldebug.h SPLDEBUG 381.352Sdyoung 391.392Smrg# Enable GCC spectre V2 mitigation options 401.392Smrgdefflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION 411.392Smrg 421.236Sjmmv# Beep on halt 431.318Sxtraemedefflag opt_beep.h BEEP_ONHALT 441.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_COUNT=3 451.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_PITCH=1500 461.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_PERIOD=250 471.209Syamt 481.277Sjmmv# Multiboot support 491.318Sxtraemedefflag opt_multiboot.h MULTIBOOT 501.318Sxtraemeobsolete defparam MULTIBOOT_SYMTAB_SPACE 511.318Sxtraemefile arch/i386/i386/multiboot.c multiboot 521.401Smanufile arch/x86/x86/multiboot2.c multiboot 531.277Sjmmv 541.403Sbouyerfile arch/i386/i386/autoconf.c !xenpv 551.340Sadfile arch/i386/i386/aout_machdep.c exec_aout 561.315Sadfile arch/i386/i386/busfunc.S 571.315Sadfile arch/i386/i386/cpufunc.S 581.332Sjoergfile arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 591.56Scgdfile arch/i386/i386/db_disasm.c ddb 601.56Scgdfile arch/i386/i386/db_interface.c ddb 611.357Schristosfile arch/i386/i386/db_machdep.c ddb 621.329Sadfile arch/i386/i386/dumpsys.c 631.241Sdslfile kern/subr_disk_mbr.c disk 641.352Sdyoungfile kern/subr_spldebug.c spldebug 651.60Smycroftfile arch/i386/i386/gdt.c 661.403Sbouyerfile arch/i386/i386/i386func.S !xenpv 671.327Sadfile arch/i386/i386/kobj_machdep.c modular 681.56Scgdfile arch/i386/i386/machdep.c 691.334Sxtraemefile arch/i386/i386/longrun.c 701.197Sthorpejfile arch/i386/i386/mtrr_k6.c mtrr 711.56Scgdfile arch/i386/i386/process_machdep.c 721.56Scgdfile arch/i386/i386/trap.c 731.56Scgdfile dev/cons.c 741.374Sdslfile arch/x86/x86/fpu.c 751.376Skamilfile arch/x86/x86/dbregs.c 761.393Smaxvfile arch/x86/x86/spectre.c 771.167Sthorpej 781.403Sbouyerfile arch/i386/i386/mptramp.S multiprocessor & ! xenpv 791.215Sfvdl 801.219Sthorpejfile crypto/des/arch/i386/des_enc.S des 811.219Sthorpejfile crypto/des/arch/i386/des_cbc.S des 821.219Sthorpej 831.219Sthorpejfile crypto/blowfish/arch/i386/bf_enc.S blowfish 841.246Stlsfile crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 851.56Scgd 861.56Scgd# 871.368Salnsn# Stack-less Just-In-Time compiler 881.368Salnsn# 891.368Salnsn 901.368Salnsninclude "external/bsd/sljit/conf/files.sljit" 911.368Salnsn 921.368Salnsn# 931.56Scgd# Machine-independent SCSI drivers 941.56Scgd# 951.56Scgd 961.182Slukeminclude "dev/scsipi/files.scsipi" 971.69Sperry 981.97Scgd# 991.97Scgd# Machine-independent ATA drivers 1001.97Scgd# 1011.97Scgd 1021.182Slukeminclude "dev/ata/files.ata" 1031.97Scgd 1041.79Spk# Memory Disk for install floppy 1051.338Schristosfile dev/md_root.c memory_disk_hooks & md 1061.171Sad 1071.171Sad# 1081.171Sad# Machine-independent I2O drivers 1091.171Sad# 1101.171Sad 1111.182Slukeminclude "dev/i2o/files.i2o" 1121.56Scgd 1131.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1141.142Sthorpej# of certain devices/BIOS features 1151.182Slukemdefine bioscall 1161.223Sfvdlfile arch/i386/i386/bioscall.S bioscall needs-flag 1171.142Sthorpej 1181.260Sdrochner# i386 specific mainbus attributes 1191.318Sxtraemedefine apmbus {} 1201.318Sxtraemedefine pnpbiosbus {} 1211.260Sdrochner 1221.56Scgd# 1231.56Scgd# System bus types 1241.56Scgd# 1251.65Scgd 1261.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1271.260Sdrochnerdevice mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, 1281.343Sjmcneill cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, 1291.403Sbouyer bioscall, hypervisorbus 1301.67Sthorpejattach mainbus at root 1311.403Sbouyerfile arch/i386/i386/i386_mainbus.c mainbus & !xenpv 1321.399Scherryfile arch/x86/x86/mainbus.c mainbus 1331.56Scgd 1341.55Smycroft# 1351.64Scgd# PCI-only drivers 1361.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1371.64Scgd# XXX devices to 'pci'. 1381.64Scgd# 1391.182Slukeminclude "dev/pci/files.pci" 1401.195Sthorpejinclude "dev/pci/files.agp" 1411.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1421.264Ssekiyafile arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup 1431.264Ssekiyafile arch/i386/pci/piix.c pcibios & pci_intr_fixup 1441.264Ssekiyafile arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup 1451.264Ssekiyafile arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup 1461.264Ssekiyafile arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup 1471.264Ssekiyafile arch/i386/pci/via82c586.c pcibios & pci_intr_fixup 1481.276Sxtraemefile arch/i386/pci/via8231.c pcibios & pci_intr_fixup 1491.264Ssekiyafile arch/i386/pci/amd756.c pcibios & pci_intr_fixup 1501.264Ssekiyafile arch/i386/pci/ali1543.c pcibios & pci_intr_fixup 1511.201Slukemdefparam PCI_CONF_MODE 1521.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1531.245Sdyoung 1541.318Sxtraeme# x86 specific PCI hardware 1551.318Sxtraemeinclude "arch/x86/pci/files.pci" 1561.213Sthorpej 1571.213Sthorpej# AMD Elan SC520 System Controller (PCI-Host bridge) 1581.331Sdyoungdefine elanparbus { } 1591.331Sdyoungdefine elanpexbus { } 1601.335Sdyoungdevice elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus 1611.335Sdyoungattach elansc at pcibus 1621.335Sdyoung 1631.213Sthorpejfile arch/i386/pci/elan520.c elansc 1641.107Sthorpej 1651.331Sdyoungdevice elanpar 1661.331Sdyoungattach elanpar at elanparbus 1671.331Sdyoung 1681.331Sdyoungdevice elanpex 1691.331Sdyoungattach elanpex at elanpexbus 1701.331Sdyoung 1711.310Sxtraeme# AMD Geode CS5535 Companion IDE controller 1721.310Sxtraemedevice gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common 1731.310Sxtraemeattach gcscide at pci 1741.310Sxtraemefile arch/i386/pci/gcscide.c gcscide 1751.310Sxtraeme 1761.312Sjmcneill# AMD Geode CS5536 Companion EHCI 1771.312Sjmcneilldevice gcscehci: usbus 1781.312Sjmcneillattach gcscehci at pci 1791.312Sjmcneillfile arch/i386/pci/gcscehci.c gcscehci 1801.312Sjmcneill 1811.288Skardel# AMD Geode SC1100 GCB area 1821.288Skardeldevice geodegcb {} 1831.288Skardelattach geodegcb at pci 1841.288Skardelfile arch/i386/pci/geode.c geodegcb 1851.288Skardel 1861.270Sdyoung# AMD Geode SC1100 Watchdog Timer 1871.288Skardeldevice geodewdog: sysmon_wdog, geodegcb 1881.288Skardelattach geodewdog at geodegcb 1891.288Skardelfile arch/i386/pci/geodewdg.c geodewdog 1901.288Skardel 1911.288Skardel# AMD Geode SC1100 high resolution counter 1921.288Skardeldevice geodecntr: geodegcb 1931.288Skardelattach geodecntr at geodegcb 1941.288Skardelfile arch/i386/pci/geodecntr.c geodecntr 1951.270Sdyoung 1961.107Sthorpej# PCI-EISA bridges 1971.108Sthorpejdevice pceb: eisabus, isabus 1981.107Sthorpejattach pceb at pci 1991.107Sthorpejfile arch/i386/pci/pceb.c pceb 2001.78Sthorpej 2011.78Sthorpej# PCI-ISA bridges 2021.271Sjmcneilldevice gscpcib: isabus, gpiobus 2031.271Sjmcneillattach gscpcib at pci 2041.271Sjmcneillfile arch/i386/pci/gscpcib.c gscpcib 2051.271Sjmcneill 2061.328Sxtraeme# AMD Geode CS5535/CS5536 PCI-ISA bridge 2071.328Sxtraemedevice gcscpcib: isabus, sysmon_wdog, gpiobus 2081.361Sbouyerattach gcscpcib at pci with gcscpcib_pci 2091.361Sbouyerfile arch/i386/pci/gcscpcib_pci.c gcscpcib_pci 2101.361Sbouyerfile dev/ic/gcscpcib.c gcscpcib 2111.328Sxtraeme 2121.287Sjmcneilldevice piixpcib: isabus, bioscall 2131.287Sjmcneillattach piixpcib at pci 2141.287Sjmcneillfile arch/i386/pci/piixpcib.c piixpcib 2151.287Sjmcneill 2161.283Sjmcneilldevice viapcib: isabus, i2cbus 2171.283Sjmcneillattach viapcib at pci 2181.283Sjmcneillfile arch/i386/pci/viapcib.c viapcib 2191.283Sjmcneill 2201.184Sjdolecek# PCI-MCA bridges 2211.184Sjdolecekdevice pcmb: mcabus 2221.184Sjdolecekattach pcmb at pci 2231.184Sjdolecekfile arch/i386/pci/pcmb.c pcmb 2241.64Scgd 2251.215Sfvdldevice p64h2apic 2261.215Sfvdlattach p64h2apic at pci 2271.215Sfvdlfile arch/i386/pci/p64h2apic.c p64h2apic 2281.215Sfvdl 2291.215Sfvdl 2301.64Scgd# 2311.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 2321.55Smycroft# 2331.56Scgd 2341.182Slukeminclude "dev/isa/files.isa" 2351.115Scgd 2361.369Smbalmer# Protech PS3100 cash drawer 2371.369Smbalmerdevice ptcd: gpiobus 2381.369Smbalmerattach ptcd at isa 2391.369Smbalmerfile dev/isa/ptcd.c ptcd 2401.369Smbalmer 2411.239Swiz# PC Mice: Logitech-style and Microsoft-style 2421.128Sdrochnerdevice lms: wsmousedev 2431.67Sthorpejattach lms at isa 2441.128Sdrochnerfile arch/i386/isa/lms.c lms 2451.128Sdrochnerdevice mms: wsmousedev 2461.67Sthorpejattach mms at isa 2471.128Sdrochnerfile arch/i386/isa/mms.c mms 2481.111Sdrochner 2491.250Sbjh21include "dev/pckbport/files.pckbport" 2501.113Sdrochner 2511.182Slukemdevice sysbeep 2521.182Slukemattach sysbeep at pcppi 2531.111Sdrochner 2541.56Scgd# Floppy disk controller 2551.157Sthorpejdevice fdc {drive = -1}: isadma 2561.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2571.157Sthorpej 2581.157Sthorpejattach fdc at isa with fdc_isa 2591.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2601.157Sthorpej 2611.157Sthorpejdevice fd: disk 2621.67Sthorpejattach fd at fdc 2631.76Ssoda 2641.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2651.76Ssoda# device declaration in sys/conf/files 2661.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2671.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2681.56Scgd 2691.55Smycroft# 2701.55Smycroft# EISA-only drivers 2711.55Smycroft# 2721.56Scgd 2731.182Slukeminclude "dev/eisa/files.eisa" 2741.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2751.154Sjdolecek 2761.154Sjdolecek# 2771.154Sjdolecek# MCA-only drivers 2781.154Sjdolecek# 2791.154Sjdolecek 2801.182Slukemdevice mca {[slot = -1]} : bioscall 2811.182Slukeminclude "dev/mca/files.mca" 2821.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2831.187Sjdolecek 2841.80Schristos# ISA Plug 'n Play devices 2851.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2861.130Sdrochner 2871.130Sdrochner# 2881.130Sdrochner# VME support 2891.130Sdrochner# 2901.182Slukeminclude "dev/vme/files.vme" 2911.240Sgmcgarry 2921.240Sgmcgarry# 2931.240Sgmcgarry# GPIB support 2941.240Sgmcgarry# 2951.240Sgmcgarryinclude "dev/gpib/files.gpib" 2961.77Sjtk 2971.77Sjtk# 2981.300Sdyoung# CMOS RAM 2991.300Sdyoung# 3001.300Sdyoungdefpseudo cmos 3011.300Sdyoungfile arch/i386/isa/cmos.c cmos needs-flag 3021.300Sdyoung 3031.300Sdyoung# 3041.77Sjtk# Other mainbus-attached devices 3051.77Sjtk# 3061.77Sjtk 3071.290Schristosinclude "dev/apm/files.apm" 3081.290Schristos 3091.55Smycroft# 3101.55Smycroft# Compatibility modules 3111.55Smycroft# 3121.61Smycroft 3131.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3141.294Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 3151.384Smaxvfile arch/i386/i386/compat_16_machdep.c compat_16 3161.56Scgd 3171.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3181.182Slukeminclude "compat/linux/files.linux" 3191.182Slukeminclude "compat/linux/arch/i386/files.linux_i386" 3201.223Sfvdlfile arch/i386/i386/linux_sigcode.S compat_linux 3211.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3221.263Sfvdlfile arch/x86/x86/linux_trap.c compat_linux 3231.58Smycroft 3241.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3251.182Slukeminclude "compat/freebsd/files.freebsd" 3261.131Schristos 3271.82Saugustss# OSS audio driver compatibility 3281.182Slukeminclude "compat/ossaudio/files.ossaudio" 3291.139Shaya 3301.139Shaya# 3311.139Shaya# CARDBUS 3321.139Shaya# 3331.182Slukeminclude "dev/cardbus/files.cardbus" 3341.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3351.90Sthorpej 3361.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3371.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3381.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3391.90Sthorpej# non-optimal, but I don't have a better answer right now. 3401.90Sthorpej 3411.165Sitohy# PCIC pcmcia controller 3421.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3431.90Sthorpej# like a kludge, but it might be for the best. 3441.93Sthorpej 3451.201Slukemdefparam PCIC_ISA_ALLOC_IOBASE 3461.201Slukemdefparam PCIC_ISA_ALLOC_IOSIZE 3471.201Slukemdefparam PCIC_ISA_INTR_ALLOC_MASK 3481.93Sthorpej 3491.126Spkdevice pcic: pcmciabus 3501.92Sthorpejfile dev/ic/i82365.c pcic 3511.90Sthorpej 3521.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3531.90Sthorpejattach pcic at isa with pcic_isa 3541.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3551.90Sthorpej 3561.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3571.90Sthorpejattach pcic at pci with pcic_pci 3581.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3591.90Sthorpej 3601.114Ssommerfe# PCIC pcmcia controller on PnP board 3611.182Slukemattach pcic at isapnp with pcic_isapnp 3621.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3631.114Ssommerfe 3641.114Ssommerfe# Code common to ISA and ISAPnP attachments 3651.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3661.132Sbad 3671.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3681.132Sbad# to be late, so devices which attach to it are attached late. But it 3691.132Sbad# needs to be before its isa and pci attachments. This answer is 3701.132Sbad# non-optimal, but I don't have a better answer right now. 3711.132Sbad 3721.165Sitohy# TCIC pcmcia controller 3731.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3741.132Sbad# like a kludge, but it might be for the best. 3751.132Sbad 3761.201Slukemdefparam TCIC_ISA_ALLOC_IOBASE 3771.201Slukemdefparam TCIC_ISA_ALLOC_IOSIZE 3781.201Slukemdefparam TCIC_ISA_INTR_ALLOC_MASK 3791.132Sbad 3801.132Sbaddevice tcic: pcmciabus 3811.132Sbadfile dev/ic/tcic2.c tcic 3821.132Sbad 3831.165Sitohy# TCIC pcmcia controller 3841.132Sbadattach tcic at isa with tcic_isa 3851.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3861.90Sthorpej 3871.90Sthorpej# this wants to be probed as late as possible. 3881.90Sthorpej# 3891.90Sthorpej# Machine-independent PCMCIA drivers 3901.90Sthorpej# 3911.182Slukeminclude "dev/pcmcia/files.pcmcia" 3921.90Sthorpej 3931.90Sthorpej 3941.182Slukeminclude "dev/usb/files.usb" 3951.170Sonoe 3961.289Sgdamoreinclude "dev/bluetooth/files.bluetooth" 3971.289Sgdamore 3981.349Snonakainclude "dev/sdmmc/files.sdmmc" 3991.349Snonaka 4001.182Slukeminclude "dev/ieee1394/files.ieee1394" 4011.141Sdrochner 4021.182Slukeminclude "arch/i386/pnpbios/files.pnpbios" 4031.198Sthorpej 4041.198Sthorpejinclude "dev/acpi/files.acpi" 4051.403Sbouyerfile arch/i386/acpi/acpi_wakeup_low.S acpi & !xenpv 4061.207Schristos 4071.400Snonaka# Microsoft Hyper-V 4081.400Snonakainclude "dev/hyperv/files.hyperv" 4091.400Snonaka 4101.400Snonakaattach vmbus at acpinodebus with vmbus_acpi 4111.400Snonakafile dev/acpi/vmbus_acpi.c vmbus_acpi 4121.400Snonaka 4131.344Sjmcneill# Obsolete vesabios/vesafb flags 4141.344Sjmcneillobsolete defflag opt_vesabios.h VESABIOSVERBOSE 4151.344Sjmcneillobsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH 4161.344Sjmcneillobsolete defflag opt_vesafb.h VESAFB_PM 4171.344Sjmcneill 4181.309Sjmcneill# AMD Geode LX Security Block 4191.404Sriastraddevice glxsb: opencrypto 4201.370Smbalmerattach glxsb at pci 4211.309Sjmcneillfile arch/i386/pci/glxsb.c glxsb 4221.309Sjmcneill 4231.214Sgehennainclude "arch/i386/conf/majors.i386" 424