diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-05-19 09:22:30 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-20 23:51:58 -0400 |
commit | 64318334bf5096a65c7141bea4833910d112d939 (patch) | |
tree | fd79be311a7258ebc44a121a68329bbcd386f455 /drivers/net/cxgb3/ael1002.c | |
parent | aa22437e87469fdee94b5344780b4a3dbb87a154 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/ael1002.c b/drivers/net/cxgb3/ael1002.c index bebc00d2424d..df1f58576689 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) | |||
1007 | int err; | 1007 | int err; |
1008 | unsigned int lasi_ctrl; | 1008 | unsigned int lasi_ctrl; |
1009 | 1009 | ||
1010 | err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, LASI_CTRL, &lasi_ctrl); | 1010 | err = t3_mdio_read(phy, MDIO_MMD_PMAPMD, MDIO_PMA_LASI_CTRL, |
1011 | &lasi_ctrl); | ||
1011 | if (err) | 1012 | if (err) |
1012 | return err; | 1013 | return err; |
1013 | 1014 | ||