diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-05-24 22:22:45 (GMT) |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-05-30 13:52:48 (GMT) |
commit | 34dd962b748bdb4f96fc5e6e69dc66522924f489 (patch) | |
tree | 4cbe503e536455fcff5f4fd6fe44e59f8a92b65a /drivers/net/sky2.c | |
parent | 56069c0fdd3a4db5769df30c9700cd3bc002fc48 (diff) | |
download | linux-fsl-qoriq-34dd962b748bdb4f96fc5e6e69dc66522924f489.tar.xz |
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/net/sky2.c')
-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 7d94eab..adfbe81 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); |