John Newlin | b744f44 | 2016-06-21 10:48:09 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the PCI specific kernel interface routines under Linux. |
| 3 | # |
| 4 | |
| 5 | obj-y += pci.o |
| 6 | |
Petri Gynther | a37a38b | 2016-06-21 18:00:07 -0700 | [diff] [blame] | 7 | ifeq ($(CONFIG_MIPS_GENERIC_PCI),y) |
| 8 | obj-y += pci-generic.o |
| 9 | else |
| 10 | obj-y += pci-legacy.o |
| 11 | endif |
| 12 | |
John Newlin | b744f44 | 2016-06-21 10:48:09 -0700 | [diff] [blame] | 13 | # |
| 14 | # PCI bus host bridge specific code |
| 15 | # |
| 16 | obj-$(CONFIG_MIPS_BONITO64) += ops-bonito64.o |
| 17 | obj-$(CONFIG_PCI_GT64XXX_PCI0) += ops-gt64xxx_pci0.o |
| 18 | obj-$(CONFIG_MIPS_MSC) += ops-msc.o |
| 19 | obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o |
| 20 | obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o |
| 21 | obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o |
| 22 | obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o |
| 23 | obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o |
| 24 | obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o |
| 25 | obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \ |
| 26 | ops-bcm63xx.o |
| 27 | obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o |
Petri Gynther | a37a38b | 2016-06-21 18:00:07 -0700 | [diff] [blame] | 28 | obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o |
John Newlin | b744f44 | 2016-06-21 10:48:09 -0700 | [diff] [blame] | 29 | obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o |
| 30 | obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o |
Petri Gynther | a37a38b | 2016-06-21 18:00:07 -0700 | [diff] [blame] | 31 | obj-$(CONFIG_MIPS_PCI_VIRTIO) += pci-virtio-guest.o |
John Newlin | b744f44 | 2016-06-21 10:48:09 -0700 | [diff] [blame] | 32 | # |
| 33 | # These are still pretty much in the old state, watch, go blind. |
| 34 | # |
| 35 | obj-$(CONFIG_LASAT) += pci-lasat.o |
| 36 | obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o |
| 37 | obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o |
| 38 | obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o |
Petri Gynther | a37a38b | 2016-06-21 18:00:07 -0700 | [diff] [blame] | 39 | obj-$(CONFIG_LOONGSON_MACH3X) += fixup-loongson3.o ops-loongson3.o |
John Newlin | b744f44 | 2016-06-21 10:48:09 -0700 | [diff] [blame] | 40 | obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o pci-malta.o |
| 41 | obj-$(CONFIG_PMC_MSP7120_GW) += fixup-pmcmsp.o ops-pmcmsp.o |
| 42 | obj-$(CONFIG_PMC_MSP7120_EVAL) += fixup-pmcmsp.o ops-pmcmsp.o |
| 43 | obj-$(CONFIG_PMC_MSP7120_FPGA) += fixup-pmcmsp.o ops-pmcmsp.o |
| 44 | obj-$(CONFIG_SGI_IP27) += ops-bridge.o pci-ip27.o |
| 45 | obj-$(CONFIG_SGI_IP32) += fixup-ip32.o ops-mace.o pci-ip32.o |
| 46 | obj-$(CONFIG_SIBYTE_SB1250) += fixup-sb1250.o pci-sb1250.o |
| 47 | obj-$(CONFIG_SIBYTE_BCM112X) += fixup-sb1250.o pci-sb1250.o |
| 48 | obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1480.o pci-bcm1480ht.o |
| 49 | obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o |
| 50 | obj-$(CONFIG_LANTIQ) += fixup-lantiq.o |
| 51 | obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o |
Petri Gynther | a37a38b | 2016-06-21 18:00:07 -0700 | [diff] [blame] | 52 | obj-$(CONFIG_SOC_RT288X) += pci-rt2880.o |
John Newlin | b744f44 | 2016-06-21 10:48:09 -0700 | [diff] [blame] | 53 | obj-$(CONFIG_SOC_RT3883) += pci-rt3883.o |
| 54 | obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o |
| 55 | obj-$(CONFIG_TANBAC_TB0226) += fixup-tb0226.o |
| 56 | obj-$(CONFIG_TANBAC_TB0287) += fixup-tb0287.o |
| 57 | obj-$(CONFIG_TOSHIBA_JMR3927) += fixup-jmr3927.o |
| 58 | obj-$(CONFIG_SOC_TX4927) += pci-tx4927.o |
| 59 | obj-$(CONFIG_SOC_TX4938) += pci-tx4938.o |
| 60 | obj-$(CONFIG_SOC_TX4939) += pci-tx4939.o |
| 61 | obj-$(CONFIG_TOSHIBA_RBTX4927) += fixup-rbtx4927.o |
| 62 | obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup-rbtx4938.o |
| 63 | obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o |
| 64 | obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o |
| 65 | obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o |
| 66 | obj-$(CONFIG_CAVIUM_OCTEON_SOC) += pci-octeon.o pcie-octeon.o |
| 67 | obj-$(CONFIG_CPU_XLR) += pci-xlr.o |
| 68 | obj-$(CONFIG_CPU_XLP) += pci-xlp.o |
| 69 | |
| 70 | ifdef CONFIG_PCI_MSI |
| 71 | obj-$(CONFIG_CAVIUM_OCTEON_SOC) += msi-octeon.o |
| 72 | obj-$(CONFIG_CPU_XLP) += msi-xlp.o |
| 73 | endif |