You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
Revert "PCI: loongson: Add more devices that need MRRS quirk"
This reverts commit faa050d2ff which is
commit c768f8c5f40fcdc6f058cc2f02592163d6c6716c upstream.
It breaks the Android kernel abi and it not needed for any Android
devices at this time. If it is needed, it can be brought back in an
ABI-safe way.
Bug: 161946584
Change-Id: I0d81c2395d7e4e42c81631040b40e936f2ccdf6a
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
This commit is contained in:
@@ -13,14 +13,9 @@
|
||||
#include "../pci.h"
|
||||
|
||||
/* Device IDs */
|
||||
#define DEV_LS2K_PCIE_PORT0 0x1a05
|
||||
#define DEV_LS7A_PCIE_PORT0 0x7a09
|
||||
#define DEV_LS7A_PCIE_PORT1 0x7a19
|
||||
#define DEV_LS7A_PCIE_PORT2 0x7a29
|
||||
#define DEV_LS7A_PCIE_PORT3 0x7a39
|
||||
#define DEV_LS7A_PCIE_PORT4 0x7a49
|
||||
#define DEV_LS7A_PCIE_PORT5 0x7a59
|
||||
#define DEV_LS7A_PCIE_PORT6 0x7a69
|
||||
#define DEV_PCIE_PORT_0 0x7a09
|
||||
#define DEV_PCIE_PORT_1 0x7a19
|
||||
#define DEV_PCIE_PORT_2 0x7a29
|
||||
|
||||
#define DEV_LS2K_APB 0x7a02
|
||||
#define DEV_LS7A_CONF 0x7a10
|
||||
@@ -43,11 +38,11 @@ static void bridge_class_quirk(struct pci_dev *dev)
|
||||
dev->class = PCI_CLASS_BRIDGE_PCI << 8;
|
||||
}
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT0, bridge_class_quirk);
|
||||
DEV_PCIE_PORT_0, bridge_class_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT1, bridge_class_quirk);
|
||||
DEV_PCIE_PORT_1, bridge_class_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT2, bridge_class_quirk);
|
||||
DEV_PCIE_PORT_2, bridge_class_quirk);
|
||||
|
||||
static void system_bus_quirk(struct pci_dev *pdev)
|
||||
{
|
||||
@@ -77,21 +72,11 @@ static void loongson_mrrs_quirk(struct pci_dev *pdev)
|
||||
bridge->no_inc_mrrs = 1;
|
||||
}
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS2K_PCIE_PORT0, loongson_mrrs_quirk);
|
||||
DEV_PCIE_PORT_0, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT0, loongson_mrrs_quirk);
|
||||
DEV_PCIE_PORT_1, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT1, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT2, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT3, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT4, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT5, loongson_mrrs_quirk);
|
||||
DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_LOONGSON,
|
||||
DEV_LS7A_PCIE_PORT6, loongson_mrrs_quirk);
|
||||
DEV_PCIE_PORT_2, loongson_mrrs_quirk);
|
||||
|
||||
static void __iomem *cfg1_map(struct loongson_pci *priv, int bus,
|
||||
unsigned int devfn, int where)
|
||||
|
||||
Reference in New Issue
Block a user