]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] e1000: Fix bit 22 (TXDCTL) for 82571 & 82572 controllers
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 13 Jan 2006 00:51:03 +0000 (16:51 -0800)
committerJeff Garzik <jgarzik@pobox.com>
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 <jeffrey.t.kirsher@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: John Ronciak <john.ronciak@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
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;