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:
c9c1b83
)
e1000: Force full DMA clocking for 10/100 speed
author
Jeff Kirsher
<jeffrey.t.kirsher@intel.com>
Wed, 16 Aug 2006 20:39:00 +0000
(13:39 -0700)
committer
Auke Kok
<juke-jan.h.kok@intel.com>
Wed, 16 Aug 2006 20:39:00 +0000
(13:39 -0700)
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
drivers/net/e1000/e1000_hw.c
patch
|
blob
|
history
diff --git
a/drivers/net/e1000/e1000_hw.c
b/drivers/net/e1000/e1000_hw.c
index 3728f33045c395f1675958f62480109794a71509..8eddfdf62f556b04a1b8b812b7c9d9c2864c5308 100644
(file)
--- a/
drivers/net/e1000/e1000_hw.c
+++ b/
drivers/net/e1000/e1000_hw.c
@@
-718,6
+718,17
@@
e1000_init_hw(struct e1000_hw *hw)
DEBUGFUNC("e1000_init_hw");
+ /* force full DMA clock frequency for 10/100 on ICH8 A0-B0 */
+ if (hw->mac_type == e1000_ich8lan) {
+ reg_data = E1000_READ_REG(hw, TARC0);
+ reg_data |= 0x30000000;
+ E1000_WRITE_REG(hw, TARC0, reg_data);
+
+ reg_data = E1000_READ_REG(hw, STATUS);
+ reg_data &= ~0x80000000;
+ E1000_WRITE_REG(hw, STATUS, reg_data);
+ }
+
/* Initialize Identification LED */
ret_val = e1000_id_led_init(hw);
if(ret_val) {