aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2006-09-12 12:03:54 -0400
committerJeff Garzik <jeff@garzik.org>2006-09-12 12:03:54 -0400
commit435b70e65d7cecbcf2a7e9495ded9d179d63f3ba (patch)
treec501a17e7cb7dacff049e28b25ea5ee65a00bd06 /drivers/net/e1000
parent4e83b7fad8d3fd55828baa4510885c7362e66a26 (diff)
parent6a9516989f94df10d9a27ba543c6b53b3e69c84a (diff)
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'drivers/net/e1000')
-rw-r--r--drivers/net/e1000/e1000_main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/e1000/e1000_main.c b/drivers/net/e1000/e1000_main.c
index 1d7c99947e92..dece1838aaf5 100644
--- a/drivers/net/e1000/e1000_main.c
+++ b/drivers/net/e1000/e1000_main.c
@@ -1467,8 +1467,8 @@ e1000_configure_tx(struct e1000_adapter *adapter)
1467 E1000_WRITE_REG(hw, TDBAL, (tdba & 0x00000000ffffffffULL)); 1467 E1000_WRITE_REG(hw, TDBAL, (tdba & 0x00000000ffffffffULL));
1468 E1000_WRITE_REG(hw, TDT, 0); 1468 E1000_WRITE_REG(hw, TDT, 0);
1469 E1000_WRITE_REG(hw, TDH, 0); 1469 E1000_WRITE_REG(hw, TDH, 0);
1470 adapter->tx_ring[0].tdh = E1000_TDH; 1470 adapter->tx_ring[0].tdh = ((hw->mac_type >= e1000_82543) ? E1000_TDH : E1000_82542_TDH);
1471 adapter->tx_ring[0].tdt = E1000_TDT; 1471 adapter->tx_ring[0].tdt = ((hw->mac_type >= e1000_82543) ? E1000_TDT : E1000_82542_TDT);
1472 break; 1472 break;
1473 } 1473 }
1474 1474
@@ -1871,8 +1871,8 @@ e1000_configure_rx(struct e1000_adapter *adapter)
1871 E1000_WRITE_REG(hw, RDBAL, (rdba & 0x00000000ffffffffULL)); 1871 E1000_WRITE_REG(hw, RDBAL, (rdba & 0x00000000ffffffffULL));
1872 E1000_WRITE_REG(hw, RDT, 0); 1872 E1000_WRITE_REG(hw, RDT, 0);
1873 E1000_WRITE_REG(hw, RDH, 0); 1873 E1000_WRITE_REG(hw, RDH, 0);
1874 adapter->rx_ring[0].rdh = E1000_RDH; 1874 adapter->rx_ring[0].rdh = ((hw->mac_type >= e1000_82543) ? E1000_RDH : E1000_82542_RDH);
1875 adapter->rx_ring[0].rdt = E1000_RDT; 1875 adapter->rx_ring[0].rdt = ((hw->mac_type >= e1000_82543) ? E1000_RDT : E1000_82542_RDT);
1876 break; 1876 break;
1877 } 1877 }
1878 1878