blob: 8185a2bfaf093076a7f2113403daeb130df431ce [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002#
3# Makefile for the PCI specific kernel interface routines under Linux.
4#
5
Jan Beulichcaa51712007-07-09 11:55:51 -07006obj-y += pci.o
Paul Burtonc5611df2016-10-05 18:18:12 +01007obj-$(CONFIG_PCI_DRIVERS_LEGACY)+= pci-legacy.o
Paul Burton87dd9a42016-10-05 18:18:13 +01008obj-$(CONFIG_PCI_DRIVERS_GENERIC)+= pci-generic.o
Linus Torvalds1da177e2005-04-16 15:20:36 -07009
10#
11# PCI bus host bridge specific code
12#
Linus Torvalds1da177e2005-04-16 15:20:36 -070013obj-$(CONFIG_MIPS_BONITO64) += ops-bonito64.o
Yoichi Yuasa252161e2007-03-14 21:51:26 +090014obj-$(CONFIG_PCI_GT64XXX_PCI0) += ops-gt64xxx_pci0.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070015obj-$(CONFIG_MIPS_MSC) += ops-msc.o
Brian Murphy1f21d2b2007-08-21 22:34:16 +020016obj-$(CONFIG_MIPS_NILE4) += ops-nile4.o
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090017obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070018obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o
Shinya Kuribayashicd741b62008-10-24 06:00:01 +090019obj-$(CONFIG_NEC_MARKEINS) += ops-emma2rh.o pci-emma2rh.o fixup-emma2rh.o
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +090020obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o
Aurelien Jarno2dc42b42008-09-27 16:06:16 +020021obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
Maxime Bizone7300d02009-08-18 13:23:37 +010022obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
23 ops-bcm63xx.o
Manuel Lauss7517de32011-08-12 11:39:44 +020024obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o
Sergey Ryazanov3ed7a2a2014-10-29 03:18:47 +040025obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o
Gabor Juhosf8365ec2012-03-14 10:36:10 +010026obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o
Gabor Juhos67644c52012-03-14 10:45:29 +010027obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o
David Daneyae6e7e62014-05-28 23:52:14 +020028obj-$(CONFIG_MIPS_PCI_VIRTIO) += pci-virtio-guest.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070029#
30# These are still pretty much in the old state, watch, go blind.
31#
Brian Murphy1f21d2b2007-08-21 22:34:16 +020032obj-$(CONFIG_LASAT) += pci-lasat.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070033obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o
Wu Zhangjin1032bce2009-11-10 00:06:13 +080034obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o
35obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o
Huacai Chen5a21e0b2014-06-26 11:41:32 +080036obj-$(CONFIG_LOONGSON_MACH3X) += fixup-loongson3.o ops-loongson3.o
Ralf Baechle0dad5d22013-06-25 16:39:34 +020037obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o pci-malta.o
Marc St-Jean6f95e602007-06-14 15:56:23 -060038obj-$(CONFIG_PMC_MSP7120_GW) += fixup-pmcmsp.o ops-pmcmsp.o
39obj-$(CONFIG_PMC_MSP7120_EVAL) += fixup-pmcmsp.o ops-pmcmsp.o
40obj-$(CONFIG_PMC_MSP7120_FPGA) += fixup-pmcmsp.o ops-pmcmsp.o
Ralf Baechle9e0c7af2006-06-17 00:55:45 +010041obj-$(CONFIG_SGI_IP27) += ops-bridge.o pci-ip27.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070042obj-$(CONFIG_SGI_IP32) += fixup-ip32.o ops-mace.o pci-ip32.o
43obj-$(CONFIG_SIBYTE_SB1250) += fixup-sb1250.o pci-sb1250.o
Mark Mason80f834e2006-01-17 11:55:52 -080044obj-$(CONFIG_SIBYTE_BCM112X) += fixup-sb1250.o pci-sb1250.o
Andrew Isaacson8a1417d2005-10-19 23:59:11 -070045obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1480.o pci-bcm1480ht.o
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +010046obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o
John Crispin57c8cb82012-05-11 18:47:30 +020047obj-$(CONFIG_LANTIQ) += fixup-lantiq.o
48obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o
John Crispin7e5873d2016-01-04 20:24:01 +010049obj-$(CONFIG_SOC_MT7620) += pci-mt7620.o
John Crispin93a7de82015-02-23 06:17:32 +010050obj-$(CONFIG_SOC_RT288X) += pci-rt2880.o
Gabor Juhos12d14e02013-08-23 14:03:20 +020051obj-$(CONFIG_SOC_RT3883) += pci-rt3883.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070052obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o
53obj-$(CONFIG_TANBAC_TB0226) += fixup-tb0226.o
Yoichi Yuasa4d666d72005-09-09 13:01:49 -070054obj-$(CONFIG_TANBAC_TB0287) += fixup-tb0287.o
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +090055obj-$(CONFIG_TOSHIBA_JMR3927) += fixup-jmr3927.o
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090056obj-$(CONFIG_SOC_TX4927) += pci-tx4927.o
57obj-$(CONFIG_SOC_TX4938) += pci-tx4938.o
Atsushi Nemoto0dcdbe62008-09-01 22:22:39 +090058obj-$(CONFIG_SOC_TX4939) += pci-tx4939.o
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090059obj-$(CONFIG_TOSHIBA_RBTX4927) += fixup-rbtx4927.o
60obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup-rbtx4938.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070061obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o
62obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
Ralf Baechle73b43902008-07-16 16:12:25 +010063obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
David Daney9ddebc42013-05-22 15:10:46 +000064obj-$(CONFIG_CAVIUM_OCTEON_SOC) += pci-octeon.o pcie-octeon.o
Jayachandran Cc3c8cfb2011-11-11 17:07:40 +053065obj-$(CONFIG_CPU_XLR) += pci-xlr.o
Ganesan Ramalingam9bac6242012-07-24 17:28:54 +020066obj-$(CONFIG_CPU_XLP) += pci-xlp.o
David Daney01a62212009-06-29 17:18:51 -070067
68ifdef CONFIG_PCI_MSI
David Daney9ddebc42013-05-22 15:10:46 +000069obj-$(CONFIG_CAVIUM_OCTEON_SOC) += msi-octeon.o
Jayachandran Cc24a8a72013-12-21 16:52:13 +053070obj-$(CONFIG_CPU_XLP) += msi-xlp.o
David Daney01a62212009-06-29 17:18:51 -070071endif