Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

powerpc/pci: Remove unused force_32bit_msi quirk

This is now fully replaced with the generic "no_64bit_msi" one
that is set by the respective drivers directly.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>

-12
-2
arch/powerpc/include/asm/pci-bridge.h
··· 159 159 160 160 int pci_ext_config_space; /* for pci devices */ 161 161 162 - bool force_32bit_msi; 163 - 164 162 struct pci_dev *pcidev; /* back-pointer to the pci device */ 165 163 #ifdef CONFIG_EEH 166 164 struct eeh_dev *edev; /* eeh device */
-10
arch/powerpc/kernel/pci_64.c
··· 266 266 } 267 267 EXPORT_SYMBOL(pcibus_to_node); 268 268 #endif 269 - 270 - static void quirk_radeon_32bit_msi(struct pci_dev *dev) 271 - { 272 - struct pci_dn *pdn = pci_get_pdn(dev); 273 - 274 - if (pdn) 275 - pdn->force_32bit_msi = true; 276 - } 277 - DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0x68f2, quirk_radeon_32bit_msi); 278 - DECLARE_PCI_FIXUP_FINAL(PCI_VENDOR_ID_ATI, 0xaa68, quirk_radeon_32bit_msi);