]> git.baikalelectronics.ru Git - kernel.git/commit
b44: use fixed PHY device if we do not find any
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 20 Dec 2013 01:16:13 +0000 (02:16 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Dec 2013 01:48:49 +0000 (20:48 -0500)
commit304bd24aff5b9f8b4842cbf3fac36240ae2d5467
tree34b919de0a5f3ab927dda225a84cc624ab624741
parentae6da362cda67f1fd66d0bc1bb4c783ebf72102c
b44: use fixed PHY device if we do not find any

The ADM6996L switch and some Broadcom switches with two MII interfaces
like the BCM5325F connected to two MACs on the SoC, used on some
routers do not return a valid value when reading the PHY id register
and Linux thinks there is no PHY at all, but that is wrong.
This patch registers a fixed phy in the arch code and then searches it
when there is no other phy in the Ethernet driver code.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/mips/bcm47xx/setup.c
drivers/net/ethernet/broadcom/b44.c
drivers/net/ethernet/broadcom/b44.h