bcm53xx: fixup 14e4:d612 device class to bridge as well
authorRafał Miłecki <[email protected]>
Tue, 5 Apr 2016 06:47:11 +0000 (06:47 +0000)
committerRafał Miłecki <[email protected]>
Tue, 5 Apr 2016 06:47:11 +0000 (06:47 +0000)
commitb6b9c7002211b93220b0e5a8ddc61d9b8dfee1b7
treef15e7f7aad6a940a718bb86d3113c4a832a1a4f1
parent73ca73f6ba20b1478bcf9c45c8a8232893b6a015
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 <[email protected]>
SVN-Revision: 49118
target/linux/bcm53xx/patches-3.18/170-pcie2-bcma-add-new-PCIe2-driver-for-bcma.patch