diff options
author | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2006-08-16 16:39:00 -0400 |
---|---|---|
committer | Auke Kok <juke-jan.h.kok@intel.com> | 2006-08-16 16:39:00 -0400 |
commit | 7820d4281a0d746a92992a9117aec007628ae3fe (patch) | |
tree | 4691b2f0f5a81ee508e360a3373c6364c146c1db /drivers/net/e1000/e1000_hw.c | |
parent | c9c1b834c7b6e00badfd9a775682644f192f0357 (diff) |
e1000: Force full DMA clocking for 10/100 speed
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Diffstat (limited to 'drivers/net/e1000/e1000_hw.c')
-rw-r--r-- | drivers/net/e1000/e1000_hw.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/net/e1000/e1000_hw.c b/drivers/net/e1000/e1000_hw.c index 3728f33045c3..8eddfdf62f55 100644 --- 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) | |||
718 | 718 | ||
719 | DEBUGFUNC("e1000_init_hw"); | 719 | DEBUGFUNC("e1000_init_hw"); |
720 | 720 | ||
721 | /* force full DMA clock frequency for 10/100 on ICH8 A0-B0 */ | ||
722 | if (hw->mac_type == e1000_ich8lan) { | ||
723 | reg_data = E1000_READ_REG(hw, TARC0); | ||
724 | reg_data |= 0x30000000; | ||
725 | E1000_WRITE_REG(hw, TARC0, reg_data); | ||
726 | |||
727 | reg_data = E1000_READ_REG(hw, STATUS); | ||
728 | reg_data &= ~0x80000000; | ||
729 | E1000_WRITE_REG(hw, STATUS, reg_data); | ||
730 | } | ||
731 | |||
721 | /* Initialize Identification LED */ | 732 | /* Initialize Identification LED */ |
722 | ret_val = e1000_id_led_init(hw); | 733 | ret_val = e1000_id_led_init(hw); |
723 | if(ret_val) { | 734 | if(ret_val) { |