diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-05-24 15:22:45 -0700 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-30 09:52:48 -0400 |
commit | 34dd962b748bdb4f96fc5e6e69dc66522924f489 (patch) | |
tree | 4cbe503e536455fcff5f4fd6fe44e59f8a92b65a /drivers | |
parent | 56069c0fdd3a4db5769df30c9700cd3bc002fc48 (diff) |
sky2: program proper register for fiber PHY
Driver was reading value from one register, setting bit and then
writing the wrong register.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sky2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index 7d94eabaff81..adfbe81693a6 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -364,7 +364,7 @@ static void sky2_phy_init(struct sky2_hw *hw, unsigned port) /* for SFP-module set SIGDET polarity to low */ ctrl = gm_phy_read(hw, port, PHY_MARV_PHY_CTRL); ctrl |= PHY_M_FIB_SIGD_POL; - gm_phy_write(hw, port, PHY_MARV_CTRL, ctrl); + gm_phy_write(hw, port, PHY_MARV_PHY_CTRL, ctrl); } gm_phy_write(hw, port, PHY_MARV_EXT_ADR, pg); |