Commit c49e48e9 authored by Christopher Leech's avatar Christopher Leech Committed by Jeff Garzik

Remove unneeded and possibly incorrect PPC-specific code

from e1000 net driver.
parent e3d6bff5
...@@ -783,12 +783,6 @@ e1000_configure_tx(struct e1000_adapter *adapter) ...@@ -783,12 +783,6 @@ e1000_configure_tx(struct e1000_adapter *adapter)
E1000_WRITE_REG(&adapter->shared, TCTL, tctl); E1000_WRITE_REG(&adapter->shared, TCTL, tctl);
#ifdef CONFIG_PPC
if(adapter->shared.mac_type >= e1000_82543) {
E1000_WRITE_REG(&adapter->shared, TXDCTL, 0x00020000);
}
#endif
/* Setup Transmit Descriptor Settings for this adapter */ /* Setup Transmit Descriptor Settings for this adapter */
adapter->txd_cmd = E1000_TXD_CMD_IFCS; adapter->txd_cmd = E1000_TXD_CMD_IFCS;
...@@ -927,12 +921,6 @@ e1000_configure_rx(struct e1000_adapter *adapter) ...@@ -927,12 +921,6 @@ e1000_configure_rx(struct e1000_adapter *adapter)
E1000_WRITE_REG(&adapter->shared, RXCSUM, rxcsum); E1000_WRITE_REG(&adapter->shared, RXCSUM, rxcsum);
} }
#ifdef CONFIG_PPC
if(adapter->shared.mac_type >= e1000_82543) {
E1000_WRITE_REG(&adapter->shared, RXDCTL, 0x00020000);
}
#endif
/* Enable Receives */ /* Enable Receives */
E1000_WRITE_REG(&adapter->shared, RCTL, rctl); E1000_WRITE_REG(&adapter->shared, RCTL, rctl);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment