aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2016-04-05 06:47:11 +0000
committerRafał Miłecki <zajec5@gmail.com>2016-04-05 06:47:11 +0000
commit7c7705574aacbac50945c630074f5beefff31195 (patch)
tree1a8239a4e364fb150a2d91f95be928b73437dff9
parent157cb923cbab2a1ee8d84b0710fbc3d08e7bfdfb (diff)
downloadupstream-7c7705574aacbac50945c630074f5beefff31195.tar.gz
upstream-7c7705574aacbac50945c630074f5beefff31195.tar.bz2
upstream-7c7705574aacbac50945c630074f5beefff31195.zip
bcm53xx: fixup 14e4:d612 device class to bridge as well
14e4:d612 was found in D-Link DIR-885L and Netgear R8500. It's most likely a bridge used by all 14e4:4365 BCM4366 devices. Without this fixup device wasn't treated as a bridge: [ 2.849895] pci 0000:00:00.0: ignoring class 0x020000 (doesn't match header type 01) and didn't get its resources assigned. This resulted in child devices not being able to get any resources (due to the parrent missing them): [ 3.375428] pci 0000:01:00.0: BAR 2: no space for [mem size 0x00400000 64bit] [ 3.387949] pci 0000:01:00.0: BAR 2: failed to assign [mem size 0x00400000 64bit] [ 3.725797] pci 0000:01:00.0: BAR 0: no space for [mem size 0x00008000 64bit] [ 3.738314] pci 0000:01:00.0: BAR 0: failed to assign [mem size 0x00008000 64bit] Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/branches/chaos_calmer@49118 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/bcm53xx/patches-3.18/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.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 9c8aa3bd0e..6c8e0a6485 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,460 @@
+@@ -0,0 +1,461 @@
+/*
+ * Northstar PCI-Express driver
+ * Only supports Root-Complex (RC) mode
@@ -221,6 +221,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
+}
+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);
++DECLARE_PCI_FIXUP_EARLY(PCI_VENDOR_ID_BROADCOM, 0xd612, bcma_pcie2_fixup_class);
+
+/*
+ * Check link status, return 0 if link is up in RC mode,