brcm47xx: b44: add dummy phy device if we do not find any
authorhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Oct 2013 21:02:13 +0000 (21:02 +0000)
committerhauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 25 Oct 2013 21:02:13 +0000 (21:02 +0000)
commit3dadeaf6688d97489ca9b56166e42e6603ca5ef7
tree60145a8f9536575b466224fe4db4e08b177f89c7
parent4c73f83ff632e9c1f35aab91aee17dbfd0910c22
brcm47xx: b44: add dummy phy device if we do not find any

On some devices with e.g. a BCM2535F switch the second MAC is used, but
we can not find a phy under all addresses between 0 and 31, 0xffffffff
is returned as phy id. If we can not find a phy at the expected address
create a dummy one.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38538 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/brcm47xx/patches-3.10/208-b44-add-dummy-phy-device-if-we-do-not-find-any.patch [new file with mode: 0644]