[PATCH] e1000: Fix bit 22 (TXDCTL) for 82571 & 82572 controllers
authorJeff Kirsher <[email protected]>
Fri, 13 Jan 2006 00:51:03 +0000 (16:51 -0800)
committerJeff Garzik <[email protected]>
Tue, 17 Jan 2006 12:44:51 +0000 (07:44 -0500)
Removed duplicate code, TXDCTL and TXDCTL_COUNT_DESC are the same bit and there is no need to set it twice.

Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: Jesse Brandeburg <[email protected]>
Signed-off-by: John Ronciak <[email protected]>
Signed-off-by: Jeff Garzik <[email protected]>
drivers/net/e1000/e1000_hw.c

index 19a0b2a6ada1beb8904f65f2aa60ab61b31fd2e8..f79d2a06ee7fbd3dd3d4593d4674232c5f1b4aee 100644 (file)
@@ -735,7 +735,6 @@ e1000_init_hw(struct e1000_hw *hw)
             break;
         case e1000_82571:
         case e1000_82572:
-            ctrl |= (1 << 22);
         case e1000_82573:
             ctrl |= E1000_TXDCTL_COUNT_DESC;
             break;