diff options
author | Rafał Miłecki <zajec5@gmail.com> | 2015-03-11 17:32:02 +0000 |
---|---|---|
committer | Rafał Miłecki <zajec5@gmail.com> | 2015-03-11 17:32:02 +0000 |
commit | bd74798e933f299169413b39c2aca45154505133 (patch) | |
tree | fd8ec1f78598bc52625eb3476bc21514815661a8 | |
parent | 3ce21086f27808055d446d86996183913529f87e (diff) | |
download | upstream-bd74798e933f299169413b39c2aca45154505133.tar.gz upstream-bd74798e933f299169413b39c2aca45154505133.tar.bz2 upstream-bd74798e933f299169413b39c2aca45154505133.zip |
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44680 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/bcm53xx/patches-3.14/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch | 3 | ||||
-rw-r--r-- | target/linux/bcm53xx/patches-3.18/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch | 3 |
2 files changed, 4 insertions, 2 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 e9631335de..d3e1a59edf 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, diff --git a/target/linux/bcm53xx/patches-3.18/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch b/target/linux/bcm53xx/patches-3.18/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch index 1a8460490f..9c8aa3bd0e 100644 --- a/target/linux/bcm53xx/patches-3.18/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch +++ b/target/linux/bcm53xx/patches-3.18/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, |