mirror of https://github.com/hak5/openwrt-owl.git
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: 44680owl
parent
4c67f1d464
commit
2b56913734
|
@ -72,7 +72,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
+obj-$(CONFIG_PCI_BCM5301X) += pci-host-bcm5301x.o
|
+obj-$(CONFIG_PCI_BCM5301X) += pci-host-bcm5301x.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/pci/host/pci-host-bcm5301x.c
|
+++ b/drivers/pci/host/pci-host-bcm5301x.c
|
||||||
@@ -0,0 +1,459 @@
|
@@ -0,0 +1,460 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Northstar PCI-Express driver
|
+ * Northstar PCI-Express driver
|
||||||
+ * Only supports Root-Complex (RC) mode
|
+ * 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;
|
+ 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, 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,
|
+ * Check link status, return 0 if link is up in RC mode,
|
||||||
|
|
|
@ -72,7 +72,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
|
||||||
+obj-$(CONFIG_PCI_BCM5301X) += pci-host-bcm5301x.o
|
+obj-$(CONFIG_PCI_BCM5301X) += pci-host-bcm5301x.o
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/drivers/pci/host/pci-host-bcm5301x.c
|
+++ b/drivers/pci/host/pci-host-bcm5301x.c
|
||||||
@@ -0,0 +1,459 @@
|
@@ -0,0 +1,460 @@
|
||||||
+/*
|
+/*
|
||||||
+ * Northstar PCI-Express driver
|
+ * Northstar PCI-Express driver
|
||||||
+ * Only supports Root-Complex (RC) mode
|
+ * 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;
|
+ 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, 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,
|
+ * Check link status, return 0 if link is up in RC mode,
|
||||||
|
|
Loading…
Reference in New Issue