files.i386 revision 1.402
11.402Srin# $NetBSD: files.i386,v 1.402 2020/04/22 09:15:39 rin Exp $ 21.2Scgd# 31.56Scgd# new style config file for i386 architecture 41.56Scgd# 51.56Scgd 61.322Sbouyerifndef xen 71.322Sbouyer 81.56Scgd# maxpartitions must be first item in files.${ARCH}.newconf 91.253Swizmaxpartitions 8 101.94Sthorpej 111.193Sperrymaxusers 2 16 128 121.125Sthorpej 131.273Syamtdefparam opt_kernbase.h KERNBASE 141.273Syamt 151.124Sbouyer# delay before cpu_reset() for reboot. 161.201Slukemdefparam CPURESET_DELAY 171.101Sthorpej 181.362Sjmcneill# Obsolete Xbox support 191.362Sjmcneillobsolete defflag XBOX 201.298Sjmcneill 211.103Sthorpej# User-settable LDT (used by WINE) 221.201Slukemdefflag USER_LDT 231.104Sthorpej 241.105Sthorpej# X server support in console drivers 251.201Slukemdefflag opt_xserver.h XSERVER XSERVER_DDB 261.181Schs 271.181Schs# The REAL{BASE,EXT}MEM options 281.199Slukemdefparam opt_realmem.h REALBASEMEM REALEXTMEM 291.140Sdrochner 301.326Sjoerg# The PHYSMEM_MAX_{SIZE,ADDR} optionms 311.326Sjoergdefparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE 321.326Sjoerg 331.142Sthorpej# PCI BIOS options 341.201Slukemdefflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 351.202Slukem PCIBIOS_INTR_GUESS PCIINTR_DEBUG 361.202Slukemdefparam opt_pcibios.h PCIBIOS_IRQS_HINT 371.166Sthorpej 381.352Sdyoung# splraise()/spllower() debug 391.352Sdyoungdefflag opt_spldebug.h SPLDEBUG 401.352Sdyoung 411.392Smrg# Enable GCC spectre V2 mitigation options 421.392Smrgdefflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION 431.392Smrg 441.236Sjmmv# Beep on halt 451.318Sxtraemedefflag opt_beep.h BEEP_ONHALT 461.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_COUNT=3 471.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_PITCH=1500 481.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_PERIOD=250 491.209Syamt 501.277Sjmmv# Multiboot support 511.318Sxtraemedefflag opt_multiboot.h MULTIBOOT 521.318Sxtraemeobsolete defparam MULTIBOOT_SYMTAB_SPACE 531.318Sxtraemefile arch/i386/i386/multiboot.c multiboot 541.401Smanufile arch/x86/x86/multiboot2.c multiboot 551.277Sjmmv 561.56Scgdfile arch/i386/i386/autoconf.c 571.340Sadfile arch/i386/i386/aout_machdep.c exec_aout 581.315Sadfile arch/i386/i386/busfunc.S 591.315Sadfile arch/i386/i386/cpufunc.S 601.332Sjoergfile arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 611.56Scgdfile arch/i386/i386/db_disasm.c ddb 621.56Scgdfile arch/i386/i386/db_interface.c ddb 631.357Schristosfile arch/i386/i386/db_machdep.c ddb 641.329Sadfile arch/i386/i386/dumpsys.c 651.241Sdslfile kern/subr_disk_mbr.c disk 661.352Sdyoungfile kern/subr_spldebug.c spldebug 671.60Smycroftfile arch/i386/i386/gdt.c 681.315Sadfile arch/i386/i386/i386func.S 691.327Sadfile arch/i386/i386/kobj_machdep.c modular 701.56Scgdfile arch/i386/i386/machdep.c 711.334Sxtraemefile arch/i386/i386/longrun.c 721.197Sthorpejfile arch/i386/i386/mtrr_k6.c mtrr 731.56Scgdfile arch/i386/i386/process_machdep.c 741.56Scgdfile arch/i386/i386/trap.c 751.56Scgdfile dev/cons.c 761.374Sdslfile arch/x86/x86/fpu.c 771.376Skamilfile arch/x86/x86/dbregs.c 781.393Smaxvfile arch/x86/x86/spectre.c 791.167Sthorpej 801.353Sdhollandfile arch/i386/i386/mptramp.S multiprocessor 811.215Sfvdl 821.219Sthorpejfile crypto/des/arch/i386/des_enc.S des 831.219Sthorpejfile crypto/des/arch/i386/des_cbc.S des 841.219Sthorpej 851.219Sthorpejfile crypto/blowfish/arch/i386/bf_enc.S blowfish 861.246Stlsfile crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 871.56Scgd 881.56Scgd# 891.368Salnsn# Stack-less Just-In-Time compiler 901.368Salnsn# 911.368Salnsn 921.368Salnsninclude "external/bsd/sljit/conf/files.sljit" 931.368Salnsn 941.368Salnsn# 951.56Scgd# Machine-independent SCSI drivers 961.56Scgd# 971.56Scgd 981.182Slukeminclude "dev/scsipi/files.scsipi" 991.69Sperry 1001.97Scgd# 1011.97Scgd# Machine-independent ATA drivers 1021.97Scgd# 1031.97Scgd 1041.182Slukeminclude "dev/ata/files.ata" 1051.97Scgd 1061.79Spk# Memory Disk for install floppy 1071.338Schristosfile dev/md_root.c memory_disk_hooks & md 1081.171Sad 1091.171Sad# 1101.171Sad# Machine-independent I2O drivers 1111.171Sad# 1121.171Sad 1131.182Slukeminclude "dev/i2o/files.i2o" 1141.56Scgd 1151.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1161.142Sthorpej# of certain devices/BIOS features 1171.182Slukemdefine bioscall 1181.223Sfvdlfile arch/i386/i386/bioscall.S bioscall needs-flag 1191.142Sthorpej 1201.260Sdrochner# i386 specific mainbus attributes 1211.318Sxtraemedefine apmbus {} 1221.318Sxtraemedefine pnpbiosbus {} 1231.260Sdrochner 1241.56Scgd# 1251.56Scgd# System bus types 1261.56Scgd# 1271.65Scgd 1281.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1291.260Sdrochnerdevice mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, 1301.343Sjmcneill cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, 1311.323Sjmcneill bioscall 1321.67Sthorpejattach mainbus at root 1331.398Scherryfile arch/i386/i386/i386_mainbus.c mainbus 1341.399Scherryfile arch/x86/x86/mainbus.c mainbus 1351.56Scgd 1361.55Smycroft# 1371.64Scgd# PCI-only drivers 1381.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1391.64Scgd# XXX devices to 'pci'. 1401.64Scgd# 1411.182Slukeminclude "dev/pci/files.pci" 1421.195Sthorpejinclude "dev/pci/files.agp" 1431.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1441.264Ssekiyafile arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup 1451.264Ssekiyafile arch/i386/pci/piix.c pcibios & pci_intr_fixup 1461.264Ssekiyafile arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup 1471.264Ssekiyafile arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup 1481.264Ssekiyafile arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup 1491.264Ssekiyafile arch/i386/pci/via82c586.c pcibios & pci_intr_fixup 1501.276Sxtraemefile arch/i386/pci/via8231.c pcibios & pci_intr_fixup 1511.264Ssekiyafile arch/i386/pci/amd756.c pcibios & pci_intr_fixup 1521.264Ssekiyafile arch/i386/pci/ali1543.c pcibios & pci_intr_fixup 1531.201Slukemdefparam PCI_CONF_MODE 1541.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1551.245Sdyoung 1561.318Sxtraeme# x86 specific PCI hardware 1571.318Sxtraemeinclude "arch/x86/pci/files.pci" 1581.213Sthorpej 1591.213Sthorpej# AMD Elan SC520 System Controller (PCI-Host bridge) 1601.331Sdyoungdefine elanparbus { } 1611.331Sdyoungdefine elanpexbus { } 1621.335Sdyoungdevice elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus 1631.335Sdyoungattach elansc at pcibus 1641.335Sdyoung 1651.213Sthorpejfile arch/i386/pci/elan520.c elansc 1661.107Sthorpej 1671.331Sdyoungdevice elanpar 1681.331Sdyoungattach elanpar at elanparbus 1691.331Sdyoung 1701.331Sdyoungdevice elanpex 1711.331Sdyoungattach elanpex at elanpexbus 1721.331Sdyoung 1731.310Sxtraeme# AMD Geode CS5535 Companion IDE controller 1741.310Sxtraemedevice gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common 1751.310Sxtraemeattach gcscide at pci 1761.310Sxtraemefile arch/i386/pci/gcscide.c gcscide 1771.310Sxtraeme 1781.312Sjmcneill# AMD Geode CS5536 Companion EHCI 1791.312Sjmcneilldevice gcscehci: usbus 1801.312Sjmcneillattach gcscehci at pci 1811.312Sjmcneillfile arch/i386/pci/gcscehci.c gcscehci 1821.312Sjmcneill 1831.288Skardel# AMD Geode SC1100 GCB area 1841.288Skardeldevice geodegcb {} 1851.288Skardelattach geodegcb at pci 1861.288Skardelfile arch/i386/pci/geode.c geodegcb 1871.288Skardel 1881.270Sdyoung# AMD Geode SC1100 Watchdog Timer 1891.288Skardeldevice geodewdog: sysmon_wdog, geodegcb 1901.288Skardelattach geodewdog at geodegcb 1911.288Skardelfile arch/i386/pci/geodewdg.c geodewdog 1921.288Skardel 1931.288Skardel# AMD Geode SC1100 high resolution counter 1941.288Skardeldevice geodecntr: geodegcb 1951.288Skardelattach geodecntr at geodegcb 1961.288Skardelfile arch/i386/pci/geodecntr.c geodecntr 1971.270Sdyoung 1981.107Sthorpej# PCI-EISA bridges 1991.108Sthorpejdevice pceb: eisabus, isabus 2001.107Sthorpejattach pceb at pci 2011.107Sthorpejfile arch/i386/pci/pceb.c pceb 2021.78Sthorpej 2031.78Sthorpej# PCI-ISA bridges 2041.271Sjmcneilldevice gscpcib: isabus, gpiobus 2051.271Sjmcneillattach gscpcib at pci 2061.271Sjmcneillfile arch/i386/pci/gscpcib.c gscpcib 2071.271Sjmcneill 2081.328Sxtraeme# AMD Geode CS5535/CS5536 PCI-ISA bridge 2091.328Sxtraemedevice gcscpcib: isabus, sysmon_wdog, gpiobus 2101.361Sbouyerattach gcscpcib at pci with gcscpcib_pci 2111.361Sbouyerfile arch/i386/pci/gcscpcib_pci.c gcscpcib_pci 2121.361Sbouyerfile dev/ic/gcscpcib.c gcscpcib 2131.328Sxtraeme 2141.287Sjmcneilldevice piixpcib: isabus, bioscall 2151.287Sjmcneillattach piixpcib at pci 2161.287Sjmcneillfile arch/i386/pci/piixpcib.c piixpcib 2171.287Sjmcneill 2181.283Sjmcneilldevice viapcib: isabus, i2cbus 2191.283Sjmcneillattach viapcib at pci 2201.283Sjmcneillfile arch/i386/pci/viapcib.c viapcib 2211.283Sjmcneill 2221.184Sjdolecek# PCI-MCA bridges 2231.184Sjdolecekdevice pcmb: mcabus 2241.184Sjdolecekattach pcmb at pci 2251.184Sjdolecekfile arch/i386/pci/pcmb.c pcmb 2261.64Scgd 2271.215Sfvdldevice p64h2apic 2281.215Sfvdlattach p64h2apic at pci 2291.215Sfvdlfile arch/i386/pci/p64h2apic.c p64h2apic 2301.215Sfvdl 2311.215Sfvdl 2321.64Scgd# 2331.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 2341.55Smycroft# 2351.56Scgd 2361.182Slukeminclude "dev/isa/files.isa" 2371.115Scgd 2381.369Smbalmer# Protech PS3100 cash drawer 2391.369Smbalmerdevice ptcd: gpiobus 2401.369Smbalmerattach ptcd at isa 2411.369Smbalmerfile dev/isa/ptcd.c ptcd 2421.369Smbalmer 2431.239Swiz# PC Mice: Logitech-style and Microsoft-style 2441.128Sdrochnerdevice lms: wsmousedev 2451.67Sthorpejattach lms at isa 2461.128Sdrochnerfile arch/i386/isa/lms.c lms 2471.128Sdrochnerdevice mms: wsmousedev 2481.67Sthorpejattach mms at isa 2491.128Sdrochnerfile arch/i386/isa/mms.c mms 2501.111Sdrochner 2511.250Sbjh21include "dev/pckbport/files.pckbport" 2521.113Sdrochner 2531.182Slukemdevice sysbeep 2541.182Slukemattach sysbeep at pcppi 2551.111Sdrochner 2561.56Scgd# Floppy disk controller 2571.157Sthorpejdevice fdc {drive = -1}: isadma 2581.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2591.157Sthorpej 2601.157Sthorpejattach fdc at isa with fdc_isa 2611.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2621.157Sthorpej 2631.157Sthorpejdevice fd: disk 2641.67Sthorpejattach fd at fdc 2651.76Ssoda 2661.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2671.76Ssoda# device declaration in sys/conf/files 2681.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2691.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2701.56Scgd 2711.55Smycroft# 2721.55Smycroft# EISA-only drivers 2731.55Smycroft# 2741.56Scgd 2751.182Slukeminclude "dev/eisa/files.eisa" 2761.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2771.154Sjdolecek 2781.154Sjdolecek# 2791.154Sjdolecek# MCA-only drivers 2801.154Sjdolecek# 2811.154Sjdolecek 2821.182Slukemdevice mca {[slot = -1]} : bioscall 2831.182Slukeminclude "dev/mca/files.mca" 2841.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2851.187Sjdolecek 2861.80Schristos# ISA Plug 'n Play devices 2871.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2881.130Sdrochner 2891.130Sdrochner# 2901.130Sdrochner# VME support 2911.130Sdrochner# 2921.182Slukeminclude "dev/vme/files.vme" 2931.240Sgmcgarry 2941.240Sgmcgarry# 2951.240Sgmcgarry# GPIB support 2961.240Sgmcgarry# 2971.240Sgmcgarryinclude "dev/gpib/files.gpib" 2981.77Sjtk 2991.77Sjtk# 3001.300Sdyoung# CMOS RAM 3011.300Sdyoung# 3021.300Sdyoungdefpseudo cmos 3031.300Sdyoungfile arch/i386/isa/cmos.c cmos needs-flag 3041.300Sdyoung 3051.300Sdyoung# 3061.77Sjtk# Other mainbus-attached devices 3071.77Sjtk# 3081.77Sjtk 3091.290Schristosinclude "dev/apm/files.apm" 3101.290Schristos 3111.55Smycroft# 3121.55Smycroft# Compatibility modules 3131.55Smycroft# 3141.61Smycroft 3151.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3161.294Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 3171.384Smaxvfile arch/i386/i386/compat_16_machdep.c compat_16 3181.56Scgd 3191.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3201.182Slukeminclude "compat/linux/files.linux" 3211.182Slukeminclude "compat/linux/arch/i386/files.linux_i386" 3221.223Sfvdlfile arch/i386/i386/linux_sigcode.S compat_linux 3231.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3241.263Sfvdlfile arch/x86/x86/linux_trap.c compat_linux 3251.58Smycroft 3261.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3271.182Slukeminclude "compat/freebsd/files.freebsd" 3281.131Schristos 3291.82Saugustss# OSS audio driver compatibility 3301.182Slukeminclude "compat/ossaudio/files.ossaudio" 3311.139Shaya 3321.139Shaya# 3331.139Shaya# CARDBUS 3341.139Shaya# 3351.182Slukeminclude "dev/cardbus/files.cardbus" 3361.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3371.90Sthorpej 3381.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3391.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3401.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3411.90Sthorpej# non-optimal, but I don't have a better answer right now. 3421.90Sthorpej 3431.165Sitohy# PCIC pcmcia controller 3441.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3451.90Sthorpej# like a kludge, but it might be for the best. 3461.93Sthorpej 3471.201Slukemdefparam PCIC_ISA_ALLOC_IOBASE 3481.201Slukemdefparam PCIC_ISA_ALLOC_IOSIZE 3491.201Slukemdefparam PCIC_ISA_INTR_ALLOC_MASK 3501.93Sthorpej 3511.126Spkdevice pcic: pcmciabus 3521.92Sthorpejfile dev/ic/i82365.c pcic 3531.90Sthorpej 3541.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3551.90Sthorpejattach pcic at isa with pcic_isa 3561.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3571.90Sthorpej 3581.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3591.90Sthorpejattach pcic at pci with pcic_pci 3601.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3611.90Sthorpej 3621.114Ssommerfe# PCIC pcmcia controller on PnP board 3631.182Slukemattach pcic at isapnp with pcic_isapnp 3641.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3651.114Ssommerfe 3661.114Ssommerfe# Code common to ISA and ISAPnP attachments 3671.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3681.132Sbad 3691.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3701.132Sbad# to be late, so devices which attach to it are attached late. But it 3711.132Sbad# needs to be before its isa and pci attachments. This answer is 3721.132Sbad# non-optimal, but I don't have a better answer right now. 3731.132Sbad 3741.165Sitohy# TCIC pcmcia controller 3751.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3761.132Sbad# like a kludge, but it might be for the best. 3771.132Sbad 3781.201Slukemdefparam TCIC_ISA_ALLOC_IOBASE 3791.201Slukemdefparam TCIC_ISA_ALLOC_IOSIZE 3801.201Slukemdefparam TCIC_ISA_INTR_ALLOC_MASK 3811.132Sbad 3821.132Sbaddevice tcic: pcmciabus 3831.132Sbadfile dev/ic/tcic2.c tcic 3841.132Sbad 3851.165Sitohy# TCIC pcmcia controller 3861.132Sbadattach tcic at isa with tcic_isa 3871.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3881.90Sthorpej 3891.90Sthorpej# this wants to be probed as late as possible. 3901.90Sthorpej# 3911.90Sthorpej# Machine-independent PCMCIA drivers 3921.90Sthorpej# 3931.182Slukeminclude "dev/pcmcia/files.pcmcia" 3941.90Sthorpej 3951.90Sthorpej 3961.182Slukeminclude "dev/usb/files.usb" 3971.170Sonoe 3981.289Sgdamoreinclude "dev/bluetooth/files.bluetooth" 3991.289Sgdamore 4001.349Snonakainclude "dev/sdmmc/files.sdmmc" 4011.349Snonaka 4021.182Slukeminclude "dev/ieee1394/files.ieee1394" 4031.141Sdrochner 4041.182Slukeminclude "arch/i386/pnpbios/files.pnpbios" 4051.198Sthorpej 4061.198Sthorpejinclude "dev/acpi/files.acpi" 4071.323Sjmcneillfile arch/i386/acpi/acpi_wakeup_low.S acpi 4081.207Schristos 4091.400Snonaka# Microsoft Hyper-V 4101.400Snonakainclude "dev/hyperv/files.hyperv" 4111.400Snonaka 4121.400Snonakaattach vmbus at acpinodebus with vmbus_acpi 4131.400Snonakafile dev/acpi/vmbus_acpi.c vmbus_acpi 4141.400Snonaka 4151.344Sjmcneill# Obsolete vesabios/vesafb flags 4161.344Sjmcneillobsolete defflag opt_vesabios.h VESABIOSVERBOSE 4171.344Sjmcneillobsolete defparam opt_vesafb.h VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH 4181.344Sjmcneillobsolete defflag opt_vesafb.h VESAFB_PM 4191.344Sjmcneill 4201.309Sjmcneill# AMD Geode LX Security Block 4211.402Srindevice glxsb: opencrypto, rijndael 4221.370Smbalmerattach glxsb at pci 4231.309Sjmcneillfile arch/i386/pci/glxsb.c glxsb 4241.309Sjmcneill 4251.214Sgehennainclude "arch/i386/conf/majors.i386" 4261.322Sbouyerendif #xen 427