aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/tenxpress.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-29 10:08:41 -0500
committerDavid S. Miller <davem@davemloft.net>2009-11-29 20:23:53 -0500
commite58f69f4082f60076885798fae8f3a17ea713bf6 (patch)
treeafd86e4023e266747c8f63d5369c268e1269ff22 /drivers/net/sfc/tenxpress.c
parent5784946068f81c5f1cce2906a7655652e34f44f3 (diff)
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.c4
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 @@
30#define SFX7101_LOOPBACKS ((1 << LOOPBACK_PHYXS) | \ 30#define SFX7101_LOOPBACKS ((1 << LOOPBACK_PHYXS) | \
31 (1 << LOOPBACK_PCS) | \ 31 (1 << LOOPBACK_PCS) | \
32 (1 << LOOPBACK_PMAPMD) | \ 32 (1 << LOOPBACK_PMAPMD) | \
33 (1 << LOOPBACK_NETWORK)) 33 (1 << LOOPBACK_PHYXS_WS))
34 34
35#define SFT9001_LOOPBACKS ((1 << LOOPBACK_GPHY) | \ 35#define SFT9001_LOOPBACKS ((1 << LOOPBACK_GPHY) | \
36 (1 << LOOPBACK_PHYXS) | \ 36 (1 << LOOPBACK_PHYXS) | \
37 (1 << LOOPBACK_PCS) | \ 37 (1 << LOOPBACK_PCS) | \
38 (1 << LOOPBACK_PMAPMD) | \ 38 (1 << LOOPBACK_PMAPMD) | \
39 (1 << LOOPBACK_NETWORK)) 39 (1 << LOOPBACK_PHYXS_WS))
40 40
41/* We complain if we fail to see the link partner as 10G capable this many 41/* We complain if we fail to see the link partner as 10G capable this many
42 * times in a row (must be > 1 as sampling the autoneg. registers is racy) 42 * times in a row (must be > 1 as sampling the autoneg. registers is racy)