Ben Hutchings 7b065f91fa sfc: Fix test for MDIO read failure
Commit 27dd2caca4eabe7c13a052b7456495ba75535e6a changed
mdio_clause45_check_mmds() to read both DEVS0 and DEVS1 registers and
to combine their values into an unsigned 32-bit mask.  This made the
following test for a negative (failure) value useless.  Fix it to
check whether either read failed.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-02 03:15:02 -08:00
..
2008-12-12 22:00:49 -08:00
2008-12-12 22:00:49 -08:00
2008-12-12 22:00:49 -08:00
2008-12-12 21:58:17 -08:00
2008-12-12 21:57:57 -08:00
2009-01-21 14:34:06 -08:00
2008-12-12 21:58:17 -08:00
2008-12-12 21:58:17 -08:00
2009-03-02 03:15:02 -08:00
2009-01-21 14:34:06 -08:00
2008-09-03 09:53:48 -04:00