projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c59c1
)
sky2: don't clear phy power bits
author
Stephen Hemminger
<
[email protected]
>
Tue, 21 Aug 2007 18:10:22 +0000
(11:10 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 21 Aug 2007 18:22:17 +0000
(11:22 -0700)
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 <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
drivers/net/sky2.c
patch
|
blob
|
history
diff --git
a/drivers/net/sky2.c
b/drivers/net/sky2.c
index e7a2eadcc3b0c8030f782292af7adbbe4db61f99..757592436390780057902bcd91ddc264eeeeafd6 100644
(file)
--- 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_write
32
(hw, SK_REG(port, GPHY_CTRL), GPC_RST_SET);
- sky2_write
32
(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR);
+ sky2_write
8
(hw, SK_REG(port, GPHY_CTRL), GPC_RST_SET);
+ sky2_write
8
(hw, SK_REG(port, GPHY_CTRL), GPC_RST_CLR);
sky2_write8(hw, SK_REG(port, GMAC_CTRL), GMC_RST_CLR);