]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sfc: Test for PHYXS faults whenever we cannot test link state bits
authorSteve Hodgson <shodgson@solarflare.com>
Thu, 29 Jan 2009 17:51:15 +0000 (17:51 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Jan 2009 22:06:31 +0000 (14:06 -0800)
commit67797763c60bfe3bbf99ef81ce1042e71678d109
tree8ced99fe0c240f506ffb7df8b509f839b6316fd5
parent4b988280be13a1b4c17f51cc66948aef467e7601
sfc: Test for PHYXS faults whenever we cannot test link state bits

Depending on the loopback mode, there may be no pertinent link state
bits.  In this case we test the PHYXS RX fault bit instead.  Make
sure to do this in all cases where there are no link state bits.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sfc/mdio_10g.c