files.i386 revision 1.393
11.393Smaxv# $NetBSD: files.i386,v 1.393 2018/05/22 11:09:57 maxv 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.379Smaxvdefflag PMC 221.388Smaxvdefflag KASLR 231.379Smaxv 241.103Sthorpej# User-settable LDT (used by WINE) 251.201Slukemdefflag USER_LDT 261.104Sthorpej 271.105Sthorpej# X server support in console drivers 281.201Slukemdefflag opt_xserver.h XSERVER XSERVER_DDB 291.181Schs 301.181Schs# The REAL{BASE,EXT}MEM options 311.199Slukemdefparam opt_realmem.h REALBASEMEM REALEXTMEM 321.140Sdrochner 331.326Sjoerg# The PHYSMEM_MAX_{SIZE,ADDR} optionms 341.326Sjoergdefparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE 351.326Sjoerg 361.142Sthorpej# PCI BIOS options 371.201Slukemdefflag opt_pcibios.h PCIBIOS PCIBIOSVERBOSE 381.202Slukem PCIBIOS_INTR_GUESS PCIINTR_DEBUG 391.202Slukemdefparam opt_pcibios.h PCIBIOS_IRQS_HINT 401.166Sthorpej 411.352Sdyoung# splraise()/spllower() debug 421.352Sdyoungdefflag opt_spldebug.h SPLDEBUG 431.352Sdyoung 441.392Smrg# Enable GCC spectre V2 mitigation options 451.392Smrgdefflag opt_spectre.h SPECTRE_V2_GCC_MITIGATION 461.392Smrg 471.236Sjmmv# Beep on halt 481.318Sxtraemedefflag opt_beep.h BEEP_ONHALT 491.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_COUNT=3 501.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_PITCH=1500 511.318Sxtraemedefparam opt_beep.h BEEP_ONHALT_PERIOD=250 521.209Syamt 531.277Sjmmv# Multiboot support 541.318Sxtraemedefflag opt_multiboot.h MULTIBOOT 551.318Sxtraemeobsolete defparam MULTIBOOT_SYMTAB_SPACE 561.318Sxtraemefile arch/i386/i386/multiboot.c multiboot 571.277Sjmmv 581.56Scgdfile arch/i386/i386/autoconf.c 591.340Sadfile arch/i386/i386/aout_machdep.c exec_aout 601.315Sadfile arch/i386/i386/busfunc.S 611.315Sadfile arch/i386/i386/cpufunc.S 621.332Sjoergfile arch/i386/i386/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum 631.56Scgdfile arch/i386/i386/db_disasm.c ddb 641.56Scgdfile arch/i386/i386/db_interface.c ddb 651.357Schristosfile arch/i386/i386/db_machdep.c ddb 661.329Sadfile arch/i386/i386/dumpsys.c 671.241Sdslfile kern/subr_disk_mbr.c disk 681.352Sdyoungfile kern/subr_spldebug.c spldebug 691.60Smycroftfile arch/i386/i386/gdt.c 701.315Sadfile arch/i386/i386/i386func.S 711.327Sadfile arch/i386/i386/kobj_machdep.c modular 721.56Scgdfile arch/i386/i386/machdep.c 731.334Sxtraemefile arch/i386/i386/longrun.c 741.197Sthorpejfile arch/i386/i386/mtrr_k6.c mtrr 751.56Scgdfile arch/i386/i386/process_machdep.c 761.373Sdslfile arch/x86/x86/convert_xmm_s87.c 771.56Scgdfile arch/i386/i386/trap.c 781.56Scgdfile dev/cons.c 791.374Sdslfile arch/x86/x86/fpu.c 801.376Skamilfile arch/x86/x86/dbregs.c 811.393Smaxvfile arch/x86/x86/spectre.c 821.167Sthorpej 831.353Sdhollandfile arch/i386/i386/mptramp.S multiprocessor 841.215Sfvdl 851.219Sthorpejfile crypto/des/arch/i386/des_enc.S des 861.219Sthorpejfile crypto/des/arch/i386/des_cbc.S des 871.219Sthorpej 881.219Sthorpejfile crypto/blowfish/arch/i386/bf_enc.S blowfish 891.246Stlsfile crypto/blowfish/arch/i386/bf_cbc.S blowfish & !i386_cpu 901.56Scgd 911.56Scgd# 921.368Salnsn# Stack-less Just-In-Time compiler 931.368Salnsn# 941.368Salnsn 951.368Salnsninclude "external/bsd/sljit/conf/files.sljit" 961.368Salnsn 971.368Salnsn# 981.56Scgd# Machine-independent SCSI drivers 991.56Scgd# 1001.56Scgd 1011.182Slukeminclude "dev/scsipi/files.scsipi" 1021.69Sperry 1031.97Scgd# 1041.97Scgd# Machine-independent ATA drivers 1051.97Scgd# 1061.97Scgd 1071.182Slukeminclude "dev/ata/files.ata" 1081.97Scgd 1091.79Spk# Memory Disk for install floppy 1101.338Schristosfile dev/md_root.c memory_disk_hooks & md 1111.171Sad 1121.171Sad# 1131.171Sad# Machine-independent I2O drivers 1141.171Sad# 1151.171Sad 1161.182Slukeminclude "dev/i2o/files.i2o" 1171.56Scgd 1181.142Sthorpej# attribute used to bring in BIOS trampoline code for real-mode probing 1191.142Sthorpej# of certain devices/BIOS features 1201.182Slukemdefine bioscall 1211.223Sfvdlfile arch/i386/i386/bioscall.S bioscall needs-flag 1221.142Sthorpej 1231.260Sdrochner# i386 specific mainbus attributes 1241.318Sxtraemedefine apmbus {} 1251.318Sxtraemedefine pnpbiosbus {} 1261.260Sdrochner 1271.56Scgd# 1281.56Scgd# System bus types 1291.56Scgd# 1301.65Scgd 1311.142Sthorpej# XXX BIOS32 only if something that uses it is configured! 1321.260Sdrochnerdevice mainbus: isabus, eisabus, mcabus, pcibus, bios32, acpibus, 1331.343Sjmcneill cpubus, ioapicbus, apmbus, pnpbiosbus, ipmibus, 1341.323Sjmcneill bioscall 1351.67Sthorpejattach mainbus at root 1361.65Scgdfile arch/i386/i386/mainbus.c mainbus 1371.56Scgd 1381.55Smycroft# 1391.64Scgd# PCI-only drivers 1401.64Scgd# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches 1411.64Scgd# XXX devices to 'pci'. 1421.64Scgd# 1431.182Slukeminclude "dev/pci/files.pci" 1441.195Sthorpejinclude "dev/pci/files.agp" 1451.142Sthorpejfile arch/i386/pci/pcibios.c pcibios 1461.264Ssekiyafile arch/i386/pci/pci_intr_fixup.c pcibios & pci_intr_fixup 1471.264Ssekiyafile arch/i386/pci/piix.c pcibios & pci_intr_fixup 1481.264Ssekiyafile arch/i386/pci/opti82c558.c pcibios & pci_intr_fixup 1491.264Ssekiyafile arch/i386/pci/opti82c700.c pcibios & pci_intr_fixup 1501.264Ssekiyafile arch/i386/pci/sis85c503.c pcibios & pci_intr_fixup 1511.264Ssekiyafile arch/i386/pci/via82c586.c pcibios & pci_intr_fixup 1521.276Sxtraemefile arch/i386/pci/via8231.c pcibios & pci_intr_fixup 1531.264Ssekiyafile arch/i386/pci/amd756.c pcibios & pci_intr_fixup 1541.264Ssekiyafile arch/i386/pci/ali1543.c pcibios & pci_intr_fixup 1551.201Slukemdefparam PCI_CONF_MODE 1561.127Snathanwfile arch/i386/pci/pcic_pci_machdep.c pcic_pci 1571.245Sdyoung 1581.318Sxtraeme# x86 specific PCI hardware 1591.318Sxtraemeinclude "arch/x86/pci/files.pci" 1601.213Sthorpej 1611.213Sthorpej# AMD Elan SC520 System Controller (PCI-Host bridge) 1621.331Sdyoungdefine elanparbus { } 1631.331Sdyoungdefine elanpexbus { } 1641.335Sdyoungdevice elansc: sysmon_wdog, gpiobus, elanparbus, elanpexbus, pcibus 1651.335Sdyoungattach elansc at pcibus 1661.335Sdyoung 1671.213Sthorpejfile arch/i386/pci/elan520.c elansc 1681.107Sthorpej 1691.331Sdyoungdevice elanpar 1701.331Sdyoungattach elanpar at elanparbus 1711.331Sdyoung 1721.331Sdyoungdevice elanpex 1731.331Sdyoungattach elanpex at elanpexbus 1741.331Sdyoung 1751.310Sxtraeme# AMD Geode CS5535 Companion IDE controller 1761.310Sxtraemedevice gcscide: ata, ata_dma, ata_udma, pciide_common, wdc_common 1771.310Sxtraemeattach gcscide at pci 1781.310Sxtraemefile arch/i386/pci/gcscide.c gcscide 1791.310Sxtraeme 1801.312Sjmcneill# AMD Geode CS5536 Companion EHCI 1811.312Sjmcneilldevice gcscehci: usbus 1821.312Sjmcneillattach gcscehci at pci 1831.312Sjmcneillfile arch/i386/pci/gcscehci.c gcscehci 1841.312Sjmcneill 1851.288Skardel# AMD Geode SC1100 GCB area 1861.288Skardeldevice geodegcb {} 1871.288Skardelattach geodegcb at pci 1881.288Skardelfile arch/i386/pci/geode.c geodegcb 1891.288Skardel 1901.270Sdyoung# AMD Geode SC1100 Watchdog Timer 1911.288Skardeldevice geodewdog: sysmon_wdog, geodegcb 1921.288Skardelattach geodewdog at geodegcb 1931.288Skardelfile arch/i386/pci/geodewdg.c geodewdog 1941.288Skardel 1951.288Skardel# AMD Geode SC1100 high resolution counter 1961.288Skardeldevice geodecntr: geodegcb 1971.288Skardelattach geodecntr at geodegcb 1981.288Skardelfile arch/i386/pci/geodecntr.c geodecntr 1991.270Sdyoung 2001.107Sthorpej# PCI-EISA bridges 2011.108Sthorpejdevice pceb: eisabus, isabus 2021.107Sthorpejattach pceb at pci 2031.107Sthorpejfile arch/i386/pci/pceb.c pceb 2041.78Sthorpej 2051.78Sthorpej# PCI-ISA bridges 2061.271Sjmcneilldevice gscpcib: isabus, gpiobus 2071.271Sjmcneillattach gscpcib at pci 2081.271Sjmcneillfile arch/i386/pci/gscpcib.c gscpcib 2091.271Sjmcneill 2101.328Sxtraeme# AMD Geode CS5535/CS5536 PCI-ISA bridge 2111.328Sxtraemedevice gcscpcib: isabus, sysmon_wdog, gpiobus 2121.361Sbouyerattach gcscpcib at pci with gcscpcib_pci 2131.361Sbouyerfile arch/i386/pci/gcscpcib_pci.c gcscpcib_pci 2141.361Sbouyerfile dev/ic/gcscpcib.c gcscpcib 2151.328Sxtraeme 2161.287Sjmcneilldevice piixpcib: isabus, bioscall 2171.287Sjmcneillattach piixpcib at pci 2181.287Sjmcneillfile arch/i386/pci/piixpcib.c piixpcib 2191.287Sjmcneill 2201.283Sjmcneilldevice viapcib: isabus, i2cbus 2211.283Sjmcneillattach viapcib at pci 2221.283Sjmcneillfile arch/i386/pci/viapcib.c viapcib 2231.283Sjmcneill 2241.184Sjdolecek# PCI-MCA bridges 2251.184Sjdolecekdevice pcmb: mcabus 2261.184Sjdolecekattach pcmb at pci 2271.184Sjdolecekfile arch/i386/pci/pcmb.c pcmb 2281.64Scgd 2291.215Sfvdldevice p64h2apic 2301.215Sfvdlattach p64h2apic at pci 2311.215Sfvdlfile arch/i386/pci/p64h2apic.c p64h2apic 2321.215Sfvdl 2331.215Sfvdl 2341.64Scgd# 2351.55Smycroft# ISA and mixed ISA+EISA or ISA+PCI drivers 2361.55Smycroft# 2371.56Scgd 2381.182Slukeminclude "dev/isa/files.isa" 2391.115Scgd 2401.369Smbalmer# Protech PS3100 cash drawer 2411.369Smbalmerdevice ptcd: gpiobus 2421.369Smbalmerattach ptcd at isa 2431.369Smbalmerfile dev/isa/ptcd.c ptcd 2441.369Smbalmer 2451.239Swiz# PC Mice: Logitech-style and Microsoft-style 2461.128Sdrochnerdevice lms: wsmousedev 2471.67Sthorpejattach lms at isa 2481.128Sdrochnerfile arch/i386/isa/lms.c lms 2491.128Sdrochnerdevice mms: wsmousedev 2501.67Sthorpejattach mms at isa 2511.128Sdrochnerfile arch/i386/isa/mms.c mms 2521.111Sdrochner 2531.250Sbjh21include "dev/pckbport/files.pckbport" 2541.113Sdrochner 2551.182Slukemdevice sysbeep 2561.182Slukemattach sysbeep at pcppi 2571.111Sdrochner 2581.56Scgd# Floppy disk controller 2591.157Sthorpejdevice fdc {drive = -1}: isadma 2601.157Sthorpejfile dev/isa/fd.c fdc needs-flag 2611.157Sthorpej 2621.157Sthorpejattach fdc at isa with fdc_isa 2631.157Sthorpejfile dev/isa/fdc_isa.c fdc_isa 2641.157Sthorpej 2651.157Sthorpejdevice fd: disk 2661.67Sthorpejattach fd at fdc 2671.76Ssoda 2681.76Ssoda# Adaptec AHA-284x VL SCSI controllers 2691.76Ssoda# device declaration in sys/conf/files 2701.150Sfvdlattach ahc at isa with ahc_isa: ahc_aic77xx, smc93cx6 2711.76Ssodafile arch/i386/isa/ahc_isa.c ahc_isa 2721.56Scgd 2731.55Smycroft# 2741.55Smycroft# EISA-only drivers 2751.55Smycroft# 2761.56Scgd 2771.182Slukeminclude "dev/eisa/files.eisa" 2781.72Scgdfile arch/i386/eisa/eisa_machdep.c eisa 2791.154Sjdolecek 2801.154Sjdolecek# 2811.154Sjdolecek# MCA-only drivers 2821.154Sjdolecek# 2831.154Sjdolecek 2841.182Slukemdevice mca {[slot = -1]} : bioscall 2851.182Slukeminclude "dev/mca/files.mca" 2861.159Sjdolecekfile arch/i386/mca/mca_machdep.c mca 2871.187Sjdolecek 2881.80Schristos# ISA Plug 'n Play devices 2891.80Schristosfile arch/i386/isa/isapnp_machdep.c isapnp 2901.130Sdrochner 2911.130Sdrochner# 2921.130Sdrochner# VME support 2931.130Sdrochner# 2941.182Slukeminclude "dev/vme/files.vme" 2951.240Sgmcgarry 2961.240Sgmcgarry# 2971.240Sgmcgarry# GPIB support 2981.240Sgmcgarry# 2991.240Sgmcgarryinclude "dev/gpib/files.gpib" 3001.77Sjtk 3011.77Sjtk# 3021.300Sdyoung# CMOS RAM 3031.300Sdyoung# 3041.300Sdyoungdefpseudo cmos 3051.300Sdyoungfile arch/i386/isa/cmos.c cmos needs-flag 3061.300Sdyoung 3071.300Sdyoung# 3081.77Sjtk# Other mainbus-attached devices 3091.77Sjtk# 3101.77Sjtk 3111.290Schristosinclude "dev/apm/files.apm" 3121.290Schristos 3131.55Smycroft# 3141.55Smycroft# Compatibility modules 3151.55Smycroft# 3161.61Smycroft 3171.120Smycroft# Binary compatibility with previous NetBSD releases (COMPAT_XX) 3181.294Sdrochnerfile arch/i386/i386/compat_13_machdep.c compat_13 3191.384Smaxvfile arch/i386/i386/compat_16_machdep.c compat_16 3201.56Scgd 3211.59Smycroft# Linux binary compatibility (COMPAT_LINUX) 3221.182Slukeminclude "compat/linux/files.linux" 3231.182Slukeminclude "compat/linux/arch/i386/files.linux_i386" 3241.223Sfvdlfile arch/i386/i386/linux_sigcode.S compat_linux 3251.176Sjdolecekfile arch/i386/i386/linux_syscall.c compat_linux 3261.263Sfvdlfile arch/x86/x86/linux_trap.c compat_linux 3271.58Smycroft 3281.59Smycroft# FreeBSD binary compatibility (COMPAT_FREEBSD) 3291.182Slukeminclude "compat/freebsd/files.freebsd" 3301.131Schristos 3311.284Srittera# NDIS compatibilty (COMPAT_NDIS) 3321.286Sritterainclude "compat/ndis/files.ndis" 3331.284Srittera 3341.82Saugustss# OSS audio driver compatibility 3351.182Slukeminclude "compat/ossaudio/files.ossaudio" 3361.139Shaya 3371.139Shaya# 3381.139Shaya# CARDBUS 3391.139Shaya# 3401.182Slukeminclude "dev/cardbus/files.cardbus" 3411.139Shayafile arch/i386/i386/rbus_machdep.c cardbus 3421.90Sthorpej 3431.90Sthorpej# XXXX pcic here because it needs to be late. The catch: pcic needs 3441.90Sthorpej# to be late, so devices which attach to it are attached late. But it 3451.90Sthorpej# needs to be before its isa and pci attachments. This answer is 3461.90Sthorpej# non-optimal, but I don't have a better answer right now. 3471.90Sthorpej 3481.165Sitohy# PCIC pcmcia controller 3491.90Sthorpej# XXX this needs to be done very late, so it's done here. This feels 3501.90Sthorpej# like a kludge, but it might be for the best. 3511.93Sthorpej 3521.201Slukemdefparam PCIC_ISA_ALLOC_IOBASE 3531.201Slukemdefparam PCIC_ISA_ALLOC_IOSIZE 3541.201Slukemdefparam PCIC_ISA_INTR_ALLOC_MASK 3551.93Sthorpej 3561.126Spkdevice pcic: pcmciabus 3571.92Sthorpejfile dev/ic/i82365.c pcic 3581.90Sthorpej 3591.114Ssommerfe# PCIC pcmcia controller on ISA bus. 3601.90Sthorpejattach pcic at isa with pcic_isa 3611.90Sthorpejfile dev/isa/i82365_isa.c pcic_isa 3621.90Sthorpej 3631.114Ssommerfe# PCIC pcmcia controller on PCI bus. 3641.90Sthorpejattach pcic at pci with pcic_pci 3651.90Sthorpejfile dev/pci/i82365_pci.c pcic_pci 3661.90Sthorpej 3671.114Ssommerfe# PCIC pcmcia controller on PnP board 3681.182Slukemattach pcic at isapnp with pcic_isapnp 3691.114Ssommerfefile dev/isapnp/i82365_isapnp.c pcic_isapnp 3701.114Ssommerfe 3711.114Ssommerfe# Code common to ISA and ISAPnP attachments 3721.127Snathanwfile dev/isa/i82365_isasubr.c pcic_isa | pcic_isapnp | pcic_pci 3731.132Sbad 3741.132Sbad# XXXX tcic here because it needs to be late. The catch: tcic needs 3751.132Sbad# to be late, so devices which attach to it are attached late. But it 3761.132Sbad# needs to be before its isa and pci attachments. This answer is 3771.132Sbad# non-optimal, but I don't have a better answer right now. 3781.132Sbad 3791.165Sitohy# TCIC pcmcia controller 3801.132Sbad# XXX this needs to be done very late, so it's done here. This feels 3811.132Sbad# like a kludge, but it might be for the best. 3821.132Sbad 3831.201Slukemdefparam TCIC_ISA_ALLOC_IOBASE 3841.201Slukemdefparam TCIC_ISA_ALLOC_IOSIZE 3851.201Slukemdefparam TCIC_ISA_INTR_ALLOC_MASK 3861.132Sbad 3871.132Sbaddevice tcic: pcmciabus 3881.132Sbadfile dev/ic/tcic2.c tcic 3891.132Sbad 3901.165Sitohy# TCIC pcmcia controller 3911.132Sbadattach tcic at isa with tcic_isa 3921.132Sbadfile dev/isa/tcic2_isa.c tcic_isa 3931.90Sthorpej 3941.90Sthorpej# this wants to be probed as late as possible. 3951.90Sthorpej# 3961.90Sthorpej# Machine-independent PCMCIA drivers 3971.90Sthorpej# 3981.182Slukeminclude "dev/pcmcia/files.pcmcia" 3991.90Sthorpej 4001.90Sthorpej 4011.182Slukeminclude "dev/usb/files.usb" 4021.170Sonoe 4031.289Sgdamoreinclude "dev/bluetooth/files.bluetooth" 4041.289Sgdamore 4051.349Snonakainclude "dev/sdmmc/files.sdmmc" 4061.349Snonaka 4071.182Slukeminclude "dev/ieee1394/files.ieee1394" 4081.141Sdrochner 4091.182Slukeminclude "arch/i386/pnpbios/files.pnpbios" 4101.198Sthorpej 4111.198Sthorpejinclude "dev/acpi/files.acpi" 4121.323Sjmcneillfile arch/i386/acpi/acpi_wakeup_low.S acpi 4131.207Schristos 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.309Sjmcneilldevice glxsb: opencrypto 4211.370Smbalmerattach glxsb at pci 4221.309Sjmcneillfile arch/i386/pci/glxsb.c glxsb 4231.309Sjmcneill 4241.214Sgehennainclude "arch/i386/conf/majors.i386" 4251.322Sbouyerendif #xen 426