]> git.baikalelectronics.ru Git - kernel.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)
commit8fcb936c10a8e64101be7753a8e30c2b280eea39
tree8ced99fe0c240f506ffb7df8b509f839b6316fd5
parentd620614a871b74b22b94e67945855744997717ab
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