11.409Simil# $NetBSD: files.i386,v 1.409 2025/01/07 14:37:09 imil 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.408Sandvar# The PHYSMEM_MAX_{SIZE,ADDR} options 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.407Schristosfile arch/i386/i386/process_machdep.c 721.405Smgornyfile arch/x86/x86/convert_xmm_s87.c 731.56Scgdfile arch/i386/i386/trap.c 741.56Scgdfile dev/cons.c 751.374Sdslfile arch/x86/x86/fpu.c 761.376Skamilfile arch/x86/x86/dbregs.c 771.393Smaxvfile arch/x86/x86/spectre.c 781.167Sthorpej 791.403Sbouyerfile arch/i386/i386/mptramp.S multiprocessor & ! xenpv 801.215Sfvdl 811.219Sthorpejfile crypto/des/arch/i386/des_enc.S des 821.219Sthorpejfile crypto/des/arch/i386/des_cbc.S des 831.219Sthorpej 841.219Sthorpejfile crypto/blowfish/arch/i386/bf_enc.S blowfish 851.246Stlsfile crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 861.56Scgd 871.56Scgd# 881.368Salnsn# Stack-less Just-In-Time compiler 891.368Salnsn# 901.368Salnsn 911.368Salnsninclude "external/bsd/sljit/conf/files.sljit" 921.368Salnsn 931.368Salnsn# 941.56Scgd# Machine-independent SCSI drivers 951.56Scgd# 961.56Scgd 971.182Slukeminclude "dev/scsipi/files.scsipi" 981.69Sperry 991.97Scgd# 1001.97Scgd# Machine-independent ATA drivers 1011.97Scgd# 1021.97Scgd 1031.182Slukeminclude "dev/ata/files.ata" 1041.97Scgd 1051.79Spk# Memory Disk for install floppy 1061.338Schristosfile dev/md_root.c memory_disk_hooks & md 1071.171Sad 1081.171Sad# 1091.171Sad# Machine-independent I2O drivers 1101.171Sad# 1111.171Sad 1121.182Slukeminclude "dev/i2o/files.i2o" 1131.56Scgd 1141.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1151.142Sthorpej# of certain devices/BIOS features 1161.182Slukemdefine bioscall 1171.223Sfvdlfile arch/i386/i386/bioscall.S bioscall needs-flag 1181.142Sthorpej 1191.260Sdrochner# i386 specific mainbus attributes 1201.318Sxtraemedefine apmbus {} 1211.318Sxtraemedefine pnpbiosbus {} 1221.260Sdrochner 1231.56Scgd# 1241.56Scgd# System bus types 1251.56Scgd# 1261.65Scgd 1271.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1281.260Sdrochnerdevice mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, 1291.343Sjmcneill cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, 1301.409Simil bioscall, hypervisorbus, pvbus 1311.67Sthorpejattach mainbus at root 1321.403Sbouyerfile arch/i386/i386/i386_mainbus.c mainbus & !xenpv 1331.399Scherryfile arch/x86/x86/mainbus.c mainbus 1341.56Scgd 1351.55Smycroft# 1361.64Scgd# PCI-only drivers 1371.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1381.64Scgd# XXX devices to 'pci'. 1391.64Scgd# 1401.182Slukeminclude "dev/pci/files.pci" 1411.195Sthorpejinclude "dev/pci/files.agp" 1421.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1431.264Ssekiyafile arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup 1441.264Ssekiyafile arch/i386/pci/piix.c pcibios & pci_intr_fixup 1451.264Ssekiyafile arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup 1461.264Ssekiyafile arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup 1471.264Ssekiyafile arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup 1481.264Ssekiyafile arch/i386/pci/via82c586.c pcibios & pci_intr_fixup 1491.276Sxtraemefile arch/i386/pci/via8231.c pcibios & pci_intr_fixup 1501.264Ssekiyafile arch/i386/pci/amd756.c pcibios & pci_intr_fixup 1511.264Ssekiyafile arch/i386/pci/ali1543.c pcibios & pci_intr_fixup 1521.201Slukemdefparam PCI_CONF_MODE 1531.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1541.245Sdyoung 1551.318Sxtraeme# x86 specific PCI hardware 1561.318Sxtraemeinclude "arch/x86/pci/files.pci" 1571.213Sthorpej 1581.213Sthorpej# AMD Elan SC520 System Controller (PCI-Host bridge) 1591.331Sdyoungdefine elanparbus { } 1601.331Sdyoungdefine elanpexbus { } 1611.335Sdyoungdevice elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus 1621.335Sdyoungattach elansc at pcibus 1631.335Sdyoung 1641.213Sthorpejfile arch/i386/pci/elan520.c elansc 1651.107Sthorpej 1661.331Sdyoungdevice elanpar 1671.331Sdyoungattach elanpar at elanparbus 1681.331Sdyoung 1691.331Sdyoungdevice elanpex 1701.331Sdyoungattach elanpex at elanpexbus 1711.331Sdyoung 1721.310Sxtraeme# AMD Geode CS5535 Companion IDE controller 1731.310Sxtraemedevice gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common 1741.310Sxtraemeattach gcscide at pci 1751.310Sxtraemefile arch/i386/pci/gcscide.c gcscide 1761.310Sxtraeme 1771.312Sjmcneill# AMD Geode CS5536 Companion EHCI 1781.312Sjmcneilldevice gcscehci: usbus 1791.312Sjmcneillattach gcscehci at pci 1801.312Sjmcneillfile arch/i386/pci/gcscehci.c gcscehci 1811.312Sjmcneill 1821.288Skardel# AMD Geode SC1100 GCB area 1831.288Skardeldevice geodegcb {} 1841.288Skardelattach geodegcb at pci 1851.288Skardelfile arch/i386/pci/geode.c geodegcb 1861.288Skardel 1871.270Sdyoung# AMD Geode SC1100 Watchdog Timer 1881.288Skardeldevice geodewdog: sysmon_wdog, geodegcb 1891.288Skardelattach geodewdog at geodegcb 1901.288Skardelfile arch/i386/pci/geodewdg.c geodewdog 1911.288Skardel 1921.288Skardel# AMD Geode SC1100 high resolution counter 1931.288Skardeldevice geodecntr: geodegcb 1941.288Skardelattach geodecntr at geodegcb 1951.288Skardelfile arch/i386/pci/geodecntr.c geodecntr 1961.270Sdyoung 1971.107Sthorpej# PCI-EISA bridges 1981.108Sthorpejdevice pceb: eisabus, isabus 1991.107Sthorpejattach pceb at pci 2001.107Sthorpejfile arch/i386/pci/pceb.c pceb 2011.78Sthorpej 2021.78Sthorpej# PCI-ISA bridges 2031.271Sjmcneilldevice gscpcib: isabus, gpiobus 2041.271Sjmcneillattach gscpcib at pci 2051.271Sjmcneillfile arch/i386/pci/gscpcib.c gscpcib 2061.271Sjmcneill 2071.328Sxtraeme# AMD Geode CS5535/CS5536 PCI-ISA bridge 2081.328Sxtraemedevice gcscpcib: isabus, sysmon_wdog, gpiobus 2091.361Sbouyerattach gcscpcib at pci with gcscpcib_pci 2101.361Sbouyerfile arch/i386/pci/gcscpcib_pci.c gcscpcib_pci 2111.361Sbouyerfile dev/ic/gcscpcib.c gcscpcib 2121.328Sxtraeme 2131.287Sjmcneilldevice piixpcib: isabus, bioscall 2141.287Sjmcneillattach piixpcib at pci 2151.287Sjmcneillfile arch/i386/pci/piixpcib.c piixpcib 2161.287Sjmcneill 2171.283Sjmcneilldevice viapcib: isabus, i2cbus 2181.283Sjmcneillattach viapcib at pci 2191.283Sjmcneillfile arch/i386/pci/viapcib.c viapcib 2201.283Sjmcneill 2211.184Sjdolecek# PCI-MCA bridges 2221.184Sjdolecekdevice pcmb: mcabus 2231.184Sjdolecekattach pcmb at pci 2241.184Sjdolecekfile arch/i386/pci/pcmb.c pcmb 2251.64Scgd 2261.215Sfvdldevice p64h2apic 2271.215Sfvdlattach p64h2apic at pci 2281.215Sfvdlfile arch/i386/pci/p64h2apic.c p64h2apic 2291.215Sfvdl 2301.215Sfvdl 2311.64Scgd# 2321.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 2331.55Smycroft# 2341.56Scgd 2351.182Slukeminclude "dev/isa/files.isa" 2361.115Scgd 2371.369Smbalmer# Protech PS3100 cash drawer 2381.369Smbalmerdevice ptcd: gpiobus 2391.369Smbalmerattach ptcd at isa 2401.369Smbalmerfile dev/isa/ptcd.c ptcd 2411.369Smbalmer 2421.239Swiz# PC Mice: Logitech-style and Microsoft-style 2431.128Sdrochnerdevice lms: wsmousedev 2441.67Sthorpejattach lms at isa 2451.128Sdrochnerfile arch/i386/isa/lms.c lms 2461.128Sdrochnerdevice mms: wsmousedev 2471.67Sthorpejattach mms at isa 2481.128Sdrochnerfile arch/i386/isa/mms.c mms 2491.111Sdrochner 2501.250Sbjh21include "dev/pckbport/files.pckbport" 2511.113Sdrochner 2521.182Slukemdevice sysbeep 2531.182Slukemattach sysbeep at pcppi 2541.111Sdrochner 2551.56Scgd# Floppy disk controller 2561.157Sthorpejdevice fdc {drive = -1}: isadma 2571.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2581.157Sthorpej 2591.157Sthorpejattach fdc at isa with fdc_isa 2601.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2611.157Sthorpej 2621.157Sthorpejdevice fd: disk 2631.67Sthorpejattach fd at fdc 2641.76Ssoda 2651.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2661.76Ssoda# device declaration in sys/conf/files 2671.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2681.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2691.56Scgd 2701.55Smycroft# 2711.55Smycroft# EISA-only drivers 2721.55Smycroft# 2731.56Scgd 2741.182Slukeminclude "dev/eisa/files.eisa" 2751.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2761.154Sjdolecek 2771.154Sjdolecek# 2781.154Sjdolecek# MCA-only drivers 2791.154Sjdolecek# 2801.154Sjdolecek 2811.182Slukemdevice mca {[slot = -1]} : bioscall 2821.182Slukeminclude "dev/mca/files.mca" 2831.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2841.187Sjdolecek 2851.80Schristos# ISA Plug 'n Play devices 2861.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2871.130Sdrochner 2881.130Sdrochner# 2891.130Sdrochner# VME support 2901.130Sdrochner# 2911.182Slukeminclude "dev/vme/files.vme" 2921.240Sgmcgarry 2931.240Sgmcgarry# 2941.240Sgmcgarry# GPIB support 2951.240Sgmcgarry# 2961.240Sgmcgarryinclude "dev/gpib/files.gpib" 2971.77Sjtk 2981.77Sjtk# 2991.300Sdyoung# CMOS RAM 3001.300Sdyoung# 3011.300Sdyoungdefpseudo cmos 3021.300Sdyoungfile arch/i386/isa/cmos.c cmos needs-flag 3031.300Sdyoung 3041.300Sdyoung# 3051.77Sjtk# Other mainbus-attached devices 3061.77Sjtk# 3071.77Sjtk 3081.290Schristosinclude "dev/apm/files.apm" 3091.290Schristos 3101.55Smycroft# 3111.55Smycroft# Compatibility modules 3121.55Smycroft# 3131.61Smycroft 3141.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3151.294Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 3161.384Smaxvfile arch/i386/i386/compat_16_machdep.c compat_16 3171.56Scgd 3181.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3191.182Slukeminclude "compat/linux/files.linux" 3201.182Slukeminclude "compat/linux/arch/i386/files.linux_i386" 3211.223Sfvdlfile arch/i386/i386/linux_sigcode.S compat_linux 3221.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3231.263Sfvdlfile arch/x86/x86/linux_trap.c compat_linux 3241.58Smycroft 3251.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3261.182Slukeminclude "compat/freebsd/files.freebsd" 3271.131Schristos 3281.82Saugustss# OSS audio driver compatibility 3291.182Slukeminclude "compat/ossaudio/files.ossaudio" 3301.139Shaya 3311.139Shaya# 3321.139Shaya# CARDBUS 3331.139Shaya# 3341.182Slukeminclude "dev/cardbus/files.cardbus" 3351.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3361.90Sthorpej 3371.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3381.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3391.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3401.90Sthorpej# non-optimal, but I don't have a better answer right now. 3411.90Sthorpej 3421.165Sitohy# PCIC pcmcia controller 3431.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3441.90Sthorpej# like a kludge, but it might be for the best. 3451.93Sthorpej 3461.201Slukemdefparam PCIC_ISA_ALLOC_IOBASE 3471.201Slukemdefparam PCIC_ISA_ALLOC_IOSIZE 3481.201Slukemdefparam PCIC_ISA_INTR_ALLOC_MASK 3491.93Sthorpej 3501.126Spkdevice pcic: pcmciabus 3511.92Sthorpejfile dev/ic/i82365.c pcic 3521.90Sthorpej 3531.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3541.90Sthorpejattach pcic at isa with pcic_isa 3551.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3561.90Sthorpej 3571.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3581.90Sthorpejattach pcic at pci with pcic_pci 3591.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3601.90Sthorpej 3611.114Ssommerfe# PCIC pcmcia controller on PnP board 3621.182Slukemattach pcic at isapnp with pcic_isapnp 3631.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3641.114Ssommerfe 3651.114Ssommerfe# Code common to ISA and ISAPnP attachments 3661.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3671.132Sbad 3681.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3691.132Sbad# to be late, so devices which attach to it are attached late. But it 3701.132Sbad# needs to be before its isa and pci attachments. This answer is 3711.132Sbad# non-optimal, but I don't have a better answer right now. 3721.132Sbad 3731.165Sitohy# TCIC pcmcia controller 3741.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3751.132Sbad# like a kludge, but it might be for the best. 3761.132Sbad 3771.201Slukemdefparam TCIC_ISA_ALLOC_IOBASE 3781.201Slukemdefparam TCIC_ISA_ALLOC_IOSIZE 3791.201Slukemdefparam TCIC_ISA_INTR_ALLOC_MASK 3801.132Sbad 3811.132Sbaddevice tcic: pcmciabus 3821.132Sbadfile dev/ic/tcic2.c tcic 3831.132Sbad 3841.165Sitohy# TCIC pcmcia controller 3851.132Sbadattach tcic at isa with tcic_isa 3861.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3871.90Sthorpej 3881.90Sthorpej# this wants to be probed as late as possible. 3891.90Sthorpej# 3901.90Sthorpej# Machine-independent PCMCIA drivers 3911.90Sthorpej# 3921.182Slukeminclude "dev/pcmcia/files.pcmcia" 3931.90Sthorpej 3941.90Sthorpej 3951.182Slukeminclude "dev/usb/files.usb" 3961.170Sonoe 3971.289Sgdamoreinclude "dev/bluetooth/files.bluetooth" 3981.289Sgdamore 3991.349Snonakainclude "dev/sdmmc/files.sdmmc" 4001.349Snonaka 4011.182Slukeminclude "dev/ieee1394/files.ieee1394" 4021.141Sdrochner 4031.182Slukeminclude "arch/i386/pnpbios/files.pnpbios" 4041.198Sthorpej 4051.198Sthorpejinclude "dev/acpi/files.acpi" 4061.403Sbouyerfile arch/i386/acpi/acpi_wakeup_low.S acpi & !xenpv 4071.207Schristos 4081.400Snonaka# Microsoft Hyper-V 4091.400Snonakainclude "dev/hyperv/files.hyperv" 4101.400Snonaka 4111.400Snonakaattach vmbus at acpinodebus with vmbus_acpi 4121.400Snonakafile dev/acpi/vmbus_acpi.c vmbus_acpi 4131.400Snonaka 4141.344Sjmcneill# Obsolete vesabios/vesafb flags 4151.344Sjmcneillobsolete defflag opt_vesabios.h VESABIOSVERBOSE 4161.344Sjmcneillobsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH 4171.344Sjmcneillobsolete defflag opt_vesafb.h VESAFB_PM 4181.344Sjmcneill 4191.309Sjmcneill# AMD Geode LX Security Block 4201.404Sriastraddevice glxsb: opencrypto 4211.370Smbalmerattach glxsb at pci 4221.309Sjmcneillfile arch/i386/pci/glxsb.c glxsb 4231.309Sjmcneill 4241.409Simil# PVbus support 4251.409Similinclude "arch/x86/pv/files.pv" 4261.409Simil 4271.214Sgehennainclude "arch/i386/conf/majors.i386" 428