summaryrefslogtreecommitdiff
path: root/target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-03-11 17:32:02 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-03-11 17:32:02 +0000
commit2b569137346e27c3dc70428a1ab0d4e2ed876df0 (patch)
treecb251b142b0577b9fa8e96a9a96d32a99767c749 /target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch
parent4c67f1d46475aa773135f0c31d737f6a5719e09b (diff)
downloadmtk-20170518-2b569137346e27c3dc70428a1ab0d4e2ed876df0.zip
mtk-20170518-2b569137346e27c3dc70428a1ab0d4e2ed876df0.tar.gz
mtk-20170518-2b569137346e27c3dc70428a1ab0d4e2ed876df0.tar.bz2
bcm53xx: fixup early device id 8012
Looks like the BCM53012 has a similar problem to the BCM53011. Signed-off-by: Ian Kent <raven@themaw.net> SVN-Revision: 44680
Diffstat (limited to 'target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch')
-rw-r--r--target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch b/target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch
index e963133..d3e1a59 100644
--- a/target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch
+++ b/target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch
@@ -72,7 +72,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+obj-$(CONFIG_PCI_BCM5301X) += pci-host-bcm5301x.o
--- /dev/null
+++ b/drivers/pci/host/pci-host-bcm5301x.c
-@@ -0,0 +1,459 @@
+@@ -0,0 +1,460 @@
+/*
+ * Northstar PCI-Express driver
+ * Only supports Root-Complex (RC) mode
@@ -220,6 +220,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+ dev->class = PCI_CLASS_BRIDGE_PCI << 8;
+}
+DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_BROADCOM, 0x8011, bcma_pcie2_fixup_class);
++DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_BROADCOM, 0x8012, bcma_pcie2_fixup_class);
+
+/*
+ * Check link status, return 0 if link is up in RC mode,