files.i386 revision 1.388
11.388Smaxv#	$NetBSD: files.i386,v 1.388 2017/10/08 09:06:50 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.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.277Sjmmv
551.56Scgdfile	arch/i386/i386/autoconf.c
561.340Sadfile	arch/i386/i386/aout_machdep.c	exec_aout
571.315Sadfile	arch/i386/i386/busfunc.S
581.315Sadfile	arch/i386/i386/cpufunc.S
591.332Sjoergfile	arch/i386/i386/cpu_in_cksum.S	(inet | inet6) & cpu_in_cksum
601.56Scgdfile	arch/i386/i386/db_disasm.c	ddb
611.56Scgdfile	arch/i386/i386/db_interface.c	ddb
621.357Schristosfile	arch/i386/i386/db_machdep.c	ddb
631.329Sadfile	arch/i386/i386/dumpsys.c
641.241Sdslfile	kern/subr_disk_mbr.c		disk
651.352Sdyoungfile	kern/subr_spldebug.c		spldebug
661.60Smycroftfile	arch/i386/i386/gdt.c
671.315Sadfile	arch/i386/i386/i386func.S
681.152Swsfile	arch/i386/i386/ipkdb_glue.c	ipkdb
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.373Sdslfile	arch/x86/x86/convert_xmm_s87.c
751.56Scgdfile	arch/i386/i386/trap.c
761.56Scgdfile	dev/cons.c
771.374Sdslfile	arch/x86/x86/fpu.c
781.376Skamilfile	arch/x86/x86/dbregs.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.65Scgdfile	arch/i386/i386/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.284Srittera# NDIS compatibilty (COMPAT_NDIS)
3291.286Sritterainclude "compat/ndis/files.ndis"
3301.284Srittera
3311.82Saugustss# OSS audio driver compatibility
3321.182Slukeminclude	"compat/ossaudio/files.ossaudio"
3331.139Shaya
3341.139Shaya#
3351.139Shaya# CARDBUS
3361.139Shaya#
3371.182Slukeminclude	"dev/cardbus/files.cardbus"
3381.139Shayafile	arch/i386/i386/rbus_machdep.c	cardbus
3391.90Sthorpej
3401.90Sthorpej# XXXX pcic here because it needs to be late.  The catch: pcic needs
3411.90Sthorpej# to be late, so devices which attach to it are attached late.  But it
3421.90Sthorpej# needs to be before its isa and pci attachments.  This answer is
3431.90Sthorpej# non-optimal, but I don't have a better answer right now.
3441.90Sthorpej
3451.165Sitohy# PCIC pcmcia controller
3461.90Sthorpej# XXX this needs to be done very late, so it's done here.  This feels
3471.90Sthorpej# like a kludge, but it might be for the best.
3481.93Sthorpej
3491.201Slukemdefparam		PCIC_ISA_ALLOC_IOBASE
3501.201Slukemdefparam		PCIC_ISA_ALLOC_IOSIZE
3511.201Slukemdefparam		PCIC_ISA_INTR_ALLOC_MASK
3521.93Sthorpej
3531.126Spkdevice	pcic: pcmciabus
3541.92Sthorpejfile	dev/ic/i82365.c			pcic
3551.90Sthorpej
3561.114Ssommerfe# PCIC pcmcia controller on ISA bus.
3571.90Sthorpejattach	pcic at isa with pcic_isa
3581.90Sthorpejfile	dev/isa/i82365_isa.c		pcic_isa
3591.90Sthorpej
3601.114Ssommerfe# PCIC pcmcia controller on PCI bus.
3611.90Sthorpejattach	pcic at pci with pcic_pci
3621.90Sthorpejfile	dev/pci/i82365_pci.c		pcic_pci
3631.90Sthorpej
3641.114Ssommerfe# PCIC pcmcia controller on PnP board
3651.182Slukemattach	pcic at isapnp with pcic_isapnp
3661.114Ssommerfefile	dev/isapnp/i82365_isapnp.c	pcic_isapnp
3671.114Ssommerfe
3681.114Ssommerfe# Code common to ISA and ISAPnP attachments
3691.127Snathanwfile	dev/isa/i82365_isasubr.c	pcic_isa | pcic_isapnp | pcic_pci
3701.132Sbad
3711.132Sbad# XXXX tcic here because it needs to be late.  The catch: tcic needs
3721.132Sbad# to be late, so devices which attach to it are attached late.  But it
3731.132Sbad# needs to be before its isa and pci attachments.  This answer is
3741.132Sbad# non-optimal, but I don't have a better answer right now.
3751.132Sbad
3761.165Sitohy# TCIC pcmcia controller
3771.132Sbad# XXX this needs to be done very late, so it's done here.  This feels
3781.132Sbad# like a kludge, but it might be for the best.
3791.132Sbad
3801.201Slukemdefparam		TCIC_ISA_ALLOC_IOBASE
3811.201Slukemdefparam		TCIC_ISA_ALLOC_IOSIZE
3821.201Slukemdefparam		TCIC_ISA_INTR_ALLOC_MASK
3831.132Sbad
3841.132Sbaddevice	tcic: pcmciabus
3851.132Sbadfile	dev/ic/tcic2.c			tcic
3861.132Sbad
3871.165Sitohy# TCIC pcmcia controller
3881.132Sbadattach	tcic at isa with tcic_isa
3891.132Sbadfile	dev/isa/tcic2_isa.c		tcic_isa
3901.90Sthorpej
3911.90Sthorpej# this wants to be probed as late as possible.
3921.90Sthorpej#
3931.90Sthorpej# Machine-independent PCMCIA drivers
3941.90Sthorpej#
3951.182Slukeminclude	"dev/pcmcia/files.pcmcia"
3961.90Sthorpej
3971.90Sthorpej
3981.182Slukeminclude	"dev/usb/files.usb"
3991.170Sonoe
4001.289Sgdamoreinclude	"dev/bluetooth/files.bluetooth"
4011.289Sgdamore
4021.349Snonakainclude	"dev/sdmmc/files.sdmmc"
4031.349Snonaka
4041.182Slukeminclude	"dev/ieee1394/files.ieee1394"
4051.141Sdrochner
4061.182Slukeminclude	"arch/i386/pnpbios/files.pnpbios"
4071.198Sthorpej
4081.198Sthorpejinclude "dev/acpi/files.acpi"
4091.323Sjmcneillfile	arch/i386/acpi/acpi_wakeup_low.S	acpi
4101.207Schristos
4111.344Sjmcneill# Obsolete vesabios/vesafb flags
4121.344Sjmcneillobsolete	defflag	opt_vesabios.h	VESABIOSVERBOSE
4131.344Sjmcneillobsolete	defparam opt_vesafb.h	VESAFB_WIDTH VESAFB_HEIGHT VESAFB_DEPTH
4141.344Sjmcneillobsolete	defflag	opt_vesafb.h	VESAFB_PM
4151.344Sjmcneill
4161.309Sjmcneill# AMD Geode LX Security Block
4171.309Sjmcneilldevice	glxsb: opencrypto
4181.370Smbalmerattach	glxsb at pci
4191.309Sjmcneillfile	arch/i386/pci/glxsb.c		glxsb
4201.309Sjmcneill
4211.214Sgehennainclude "arch/i386/conf/majors.i386"
4221.322Sbouyerendif #xen
423