diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-29 16:08:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-30 02:23:53 +0100 |
commit | e58f69f4082f60076885798fae8f3a17ea713bf6 (patch) | |
tree | afd86e4023e266747c8f63d5369c268e1269ff22 /drivers/net/sfc/tenxpress.c | |
parent | sfc: Fold falcon_probe_nic_variant() into falcon_probe_nic() (diff) | |
download | linux-e58f69f4082f60076885798fae8f3a17ea713bf6.tar.xz linux-e58f69f4082f60076885798fae8f3a17ea713bf6.zip |
sfc: Extend loopback mode enumeration
New NICs and PHYs support a wider variety of loopback modes.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/tenxpress.c')
-rw-r--r-- | drivers/net/sfc/tenxpress.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/tenxpress.c b/drivers/net/sfc/tenxpress.c index c30185393cdc..0dfb2275a158 100644 --- a/drivers/net/sfc/tenxpress.c +++ b/drivers/net/sfc/tenxpress.c @@ -30,13 +30,13 @@ #define SFX7101_LOOPBACKS ((1 << LOOPBACK_PHYXS) | \ (1 << LOOPBACK_PCS) | \ (1 << LOOPBACK_PMAPMD) | \ - (1 << LOOPBACK_NETWORK)) + (1 << LOOPBACK_PHYXS_WS)) #define SFT9001_LOOPBACKS ((1 << LOOPBACK_GPHY) | \ (1 << LOOPBACK_PHYXS) | \ (1 << LOOPBACK_PCS) | \ (1 << LOOPBACK_PMAPMD) | \ - (1 << LOOPBACK_NETWORK)) + (1 << LOOPBACK_PHYXS_WS)) /* We complain if we fail to see the link partner as 10G capable this many * times in a row (must be > 1 as sampling the autoneg. registers is racy) |