blob: 6ddefafd00cb872ccb3e0e43744f93e5fff54898 [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
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090016obj-$(CONFIG_SOC_TX3927) += ops-tx3927.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070017obj-$(CONFIG_PCI_VR41XX) += ops-vr41xx.o pci-vr41xx.o
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +090018obj-$(CONFIG_PCI_TX4927) += ops-tx4927.o
Aurelien Jarno2dc42b42008-09-27 16:06:16 +020019obj-$(CONFIG_BCM47XX) += pci-bcm47xx.o
Maxime Bizone7300d02009-08-18 13:23:37 +010020obj-$(CONFIG_BCM63XX) += pci-bcm63xx.o fixup-bcm63xx.o \
21 ops-bcm63xx.o
Manuel Lauss7517de32011-08-12 11:39:44 +020022obj-$(CONFIG_MIPS_ALCHEMY) += pci-alchemy.o
Sergey Ryazanov3ed7a2a2014-10-29 03:18:47 +040023obj-$(CONFIG_PCI_AR2315) += pci-ar2315.o
Gabor Juhosf8365ec2012-03-14 10:36:10 +010024obj-$(CONFIG_SOC_AR71XX) += pci-ar71xx.o
Gabor Juhos67644c52012-03-14 10:45:29 +010025obj-$(CONFIG_PCI_AR724X) += pci-ar724x.o
Thomas Bogendoerfera57140e2019-05-07 23:09:13 +020026obj-$(CONFIG_PCI_XTALK_BRIDGE) += pci-xtalk-bridge.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070027#
28# These are still pretty much in the old state, watch, go blind.
29#
John Crispin73d8e6a2019-01-11 15:22:38 +010030obj-$(CONFIG_ATH79) += fixup-ath79.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070031obj-$(CONFIG_MIPS_COBALT) += fixup-cobalt.o
Wu Zhangjin1032bce2009-11-10 00:06:13 +080032obj-$(CONFIG_LEMOTE_FULOONG2E) += fixup-fuloong2e.o ops-loongson2.o
33obj-$(CONFIG_LEMOTE_MACH2F) += fixup-lemote2f.o ops-loongson2.o
Ralf Baechle0dad5d22013-06-25 16:39:34 +020034obj-$(CONFIG_MIPS_MALTA) += fixup-malta.o pci-malta.o
Thomas Bogendoerfera57140e2019-05-07 23:09:13 +020035obj-$(CONFIG_SGI_IP27) += pci-ip27.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070036obj-$(CONFIG_SGI_IP32) += fixup-ip32.o ops-mace.o pci-ip32.o
37obj-$(CONFIG_SIBYTE_SB1250) += fixup-sb1250.o pci-sb1250.o
Mark Mason80f834e2006-01-17 11:55:52 -080038obj-$(CONFIG_SIBYTE_BCM112X) += fixup-sb1250.o pci-sb1250.o
Andrew Isaacson8a1417d2005-10-19 23:59:11 -070039obj-$(CONFIG_SIBYTE_BCM1x80) += pci-bcm1480.o pci-bcm1480ht.o
Thomas Bogendoerfer14b36af2006-12-05 17:05:44 +010040obj-$(CONFIG_SNI_RM) += fixup-sni.o ops-sni.o
John Crispin57c8cb82012-05-11 18:47:30 +020041obj-$(CONFIG_LANTIQ) += fixup-lantiq.o
42obj-$(CONFIG_PCI_LANTIQ) += pci-lantiq.o ops-lantiq.o
John Crispin7e5873d2016-01-04 20:24:01 +010043obj-$(CONFIG_SOC_MT7620) += pci-mt7620.o
John Crispin93a7de82015-02-23 06:17:32 +010044obj-$(CONFIG_SOC_RT288X) += pci-rt2880.o
Gabor Juhos12d14e02013-08-23 14:03:20 +020045obj-$(CONFIG_SOC_RT3883) += pci-rt3883.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070046obj-$(CONFIG_TANBAC_TB0219) += fixup-tb0219.o
47obj-$(CONFIG_TANBAC_TB0226) += fixup-tb0226.o
Yoichi Yuasa4d666d72005-09-09 13:01:49 -070048obj-$(CONFIG_TANBAC_TB0287) += fixup-tb0287.o
Atsushi Nemoto89d63fe2008-07-11 00:33:08 +090049obj-$(CONFIG_TOSHIBA_JMR3927) += fixup-jmr3927.o
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090050obj-$(CONFIG_SOC_TX4927) += pci-tx4927.o
51obj-$(CONFIG_SOC_TX4938) += pci-tx4938.o
Atsushi Nemoto0dcdbe62008-09-01 22:22:39 +090052obj-$(CONFIG_SOC_TX4939) += pci-tx4939.o
Atsushi Nemotoedcaf1a2008-07-11 23:27:54 +090053obj-$(CONFIG_TOSHIBA_RBTX4927) += fixup-rbtx4927.o
54obj-$(CONFIG_TOSHIBA_RBTX4938) += fixup-rbtx4938.o
Linus Torvalds1da177e2005-04-16 15:20:36 -070055obj-$(CONFIG_VICTOR_MPC30X) += fixup-mpc30x.o
56obj-$(CONFIG_ZAO_CAPCELLA) += fixup-capcella.o
Ralf Baechle73b43902008-07-16 16:12:25 +010057obj-$(CONFIG_MIKROTIK_RB532) += pci-rc32434.o ops-rc32434.o fixup-rc32434.o
David Daney9ddebc42013-05-22 15:10:46 +000058obj-$(CONFIG_CAVIUM_OCTEON_SOC) += pci-octeon.o pcie-octeon.o
David Daney01a62212009-06-29 17:18:51 -070059
60ifdef CONFIG_PCI_MSI
David Daney9ddebc42013-05-22 15:10:46 +000061obj-$(CONFIG_CAVIUM_OCTEON_SOC) += msi-octeon.o
David Daney01a62212009-06-29 17:18:51 -070062endif