]> git.hungrycats.org Git - linux/commitdiff
Remove unneeded and possibly incorrect PPC-specific code
authorChristopher Leech <christopher.leech@intel.com>
Wed, 27 Feb 2002 14:01:29 +0000 (09:01 -0500)
committerJeff Garzik <jgarzik@mandrakesoft.com>
Wed, 27 Feb 2002 14:01:29 +0000 (09:01 -0500)
from e1000 net driver.

drivers/net/e1000/e1000_main.c

index 94e8aaef5fc722a4f95525de372f7dd05a370706..c4ae46b656e68e067703675a998938de121fe529 100644 (file)
@@ -783,12 +783,6 @@ e1000_configure_tx(struct e1000_adapter *adapter)
 
        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 */
        adapter->txd_cmd = E1000_TXD_CMD_IFCS;
 
@@ -927,12 +921,6 @@ e1000_configure_rx(struct e1000_adapter *adapter)
                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 */
 
        E1000_WRITE_REG(&adapter->shared, RCTL, rctl);