aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/cxgb3/ael1002.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-05-19 13:22:30 +0000
committerDavid S. Miller <davem@davemloft.net>2009-05-20 20:51:58 -0700
commit64318334bf5096a65c7141bea4833910d112d939 (patch)
treefd79be311a7258ebc44a121a68329bbcd386f455 /drivers/net/cxgb3/ael1002.c
parentaa22437e87469fdee94b5344780b4a3dbb87a154 (diff)
cxgb3: Use generic XENPAK LASI register definitions
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Divy Le Ray <divy@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cxgb3/ael1002.c')
-rw-r--r--drivers/net/cxgb3/ael1002.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/ael1002.c b/drivers/net/cxgb3/ael1002.c
index bebc00d2424..df1f5857668 100644
--- a/drivers/net/cxgb3/ael1002.c
+++ b/drivers/net/cxgb3/ael1002.c
@@ -1007,7 +1007,8 @@ static int ael2005_reset(struct cphy *phy, int wait)
int err;
unsigned int lasi_ctrl;
- err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, LASI_CTRL, &lasi_ctrl);
+ err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_CTRL,
+ &lasi_ctrl);
if (err)
return err;