]> git.baikalelectronics.ru Git - kernel.git/commit
r6040: check for absent PHY
authorFlorian Fainelli <florian@openwrt.org>
Mon, 4 May 2009 20:30:01 +0000 (20:30 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 May 2009 19:29:45 +0000 (12:29 -0700)
commit4f5dcf3fb8cc11e67e15a1f0c9bdfed414d53703
treeadc1d1cd7dcab92c35bb2e10ad9c5df70882115f
parent42b6a3270a172d8f92fea2e9bb9d2e847ffeec8a
r6040: check for absent PHY

Some devices have two R6040 MACs but the second one
is not wired to any PHY, therefore the interface is
just unusable. Warn the user about that and prevent
device from registering.

Tested-by: bifferos <bifferos@yahoo.co.uk>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/r6040.c