b44: Set PHY address to NO_PHY if reset fails.
commit8850dce170b460d9e46a827a62d6d7bb7e7cfcf3
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 20 Feb 2010 10:55:25 +0000 (20 10:55 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Feb 2010 23:45:48 +0000 (22 15:45 -0800)
treeb6fc1c00dce469edc1c21fa86d20f6851270a073
parent7a0deb6bcda98c2a764cb87f1441eef920fd3663
b44: Set PHY address to NO_PHY if reset fails.

Do a PHY reset to test if there is an active phy and set the PHY address
to B44_PHY_ADDR_NO_PHY in case of an not active phy. This is needed for
the Linksys WRTSL54GS and Asus WL-500W.
This patch was used in OpenWRT for a long time.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/b44.c