diff options
author | Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com> | 2005-10-04 06:58:59 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-10-04 06:58:59 -0400 |
commit | 868d5309942927dc86f57009420c5d366ec05daa (patch) | |
tree | c251bfd8341b6bf30064dd0ae50d790d8df65f7e /drivers/net/e1000/e1000_ethtool.c | |
parent | cc6e7c44f4b8ab13acf5521cd4b312848122179f (diff) |
e1000: Support for 82571 and 82572 controllers
Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@intel.com>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/e1000/e1000_ethtool.c')
-rw-r--r-- | drivers/net/e1000/e1000_ethtool.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/net/e1000/e1000_ethtool.c b/drivers/net/e1000/e1000_ethtool.c index 8f3a13420278..5f9a36bb77f5 100644 --- a/drivers/net/e1000/e1000_ethtool.c +++ b/drivers/net/e1000/e1000_ethtool.c | |||
@@ -696,6 +696,11 @@ e1000_reg_test(struct e1000_adapter *adapter, uint64_t *data) | |||
696 | * Some bits that get toggled are ignored. | 696 | * Some bits that get toggled are ignored. |
697 | */ | 697 | */ |
698 | switch (adapter->hw.mac_type) { | 698 | switch (adapter->hw.mac_type) { |
699 | /* there are several bits on newer hardware that are r/w */ | ||
700 | case e1000_82571: | ||
701 | case e1000_82572: | ||
702 | toggle = 0x7FFFF3FF; | ||
703 | break; | ||
699 | case e1000_82573: | 704 | case e1000_82573: |
700 | toggle = 0x7FFFF033; | 705 | toggle = 0x7FFFF033; |
701 | break; | 706 | break; |
@@ -1245,6 +1250,8 @@ e1000_set_phy_loopback(struct e1000_adapter *adapter) | |||
1245 | case e1000_82541_rev_2: | 1250 | case e1000_82541_rev_2: |
1246 | case e1000_82547: | 1251 | case e1000_82547: |
1247 | case e1000_82547_rev_2: | 1252 | case e1000_82547_rev_2: |
1253 | case e1000_82571: | ||
1254 | case e1000_82572: | ||
1248 | case e1000_82573: | 1255 | case e1000_82573: |
1249 | return e1000_integrated_phy_loopback(adapter); | 1256 | return e1000_integrated_phy_loopback(adapter); |
1250 | break; | 1257 | break; |
@@ -1625,7 +1632,7 @@ e1000_phys_id(struct net_device *netdev, uint32_t data) | |||
1625 | if(!data || data > (uint32_t)(MAX_SCHEDULE_TIMEOUT / HZ)) | 1632 | if(!data || data > (uint32_t)(MAX_SCHEDULE_TIMEOUT / HZ)) |
1626 | data = (uint32_t)(MAX_SCHEDULE_TIMEOUT / HZ); | 1633 | data = (uint32_t)(MAX_SCHEDULE_TIMEOUT / HZ); |
1627 | 1634 | ||
1628 | if(adapter->hw.mac_type < e1000_82573) { | 1635 | if(adapter->hw.mac_type < e1000_82571) { |
1629 | if(!adapter->blink_timer.function) { | 1636 | if(!adapter->blink_timer.function) { |
1630 | init_timer(&adapter->blink_timer); | 1637 | init_timer(&adapter->blink_timer); |
1631 | adapter->blink_timer.function = e1000_led_blink_callback; | 1638 | adapter->blink_timer.function = e1000_led_blink_callback; |