diff options
author | Stephen Hemminger <shemminger@linux-foundation.org> | 2007-08-21 11:10:22 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-08-21 11:22:17 -0700 |
commit | f350339cbd0e8ed7751f98f0ef60cb3a0d410eda (patch) | |
tree | a473acb374857fab33435e434e400914506a9066 /drivers | |
parent | d6c59c13c070cb9d043edf38b4639fdacdb0c18c (diff) | |
download | kernel_samsung_smdk4412-f350339cbd0e8ed7751f98f0ef60cb3a0d410eda.zip kernel_samsung_smdk4412-f350339cbd0e8ed7751f98f0ef60cb3a0d410eda.tar.gz kernel_samsung_smdk4412-f350339cbd0e8ed7751f98f0ef60cb3a0d410eda.tar.bz2 |
sky2: don't clear phy power bits
There are special PHY settings available on Yukon EC-U chip that
should not get cleared. This should solve mysterious errors on some
motherboards (like Gigabyte DS-3).
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sky2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sky2.c b/drivers/net/sky2.c index e7a2ead..7575924 100644 --- a/drivers/net/sky2.c +++ b/drivers/net/sky2.c @@ -696,8 +696,8 @@ static void sky2_mac_init(struct sky2_hw *hw, unsigned port) int i; const u8 *addr = hw->dev[port]->dev_addr; - sky2_write32(hw, SK_REG(port, GPHY_CTRL), GPC_RST_SET); - sky2_write32(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR); + sky2_write8(hw, SK_REG(port, GPHY_CTRL), GPC_RST_SET); + sky2_write8(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR); sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_RST_CLR); |