]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
igb: loopback bits not correctly cleared from RCTL register
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 25 Nov 2008 09:04:03 +0000 (01:04 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Nov 2008 09:04:03 +0000 (01:04 -0800)
commit69d728baf620839d1a3c874eecac316729f89de4
tree52be287a59e4f2f4cd089239b02c5488408cfff7
parent9b07f3d3157487e6467dfa4640f7fb9446165494
igb: loopback bits not correctly cleared from RCTL register

This change forces the bits to 0 by using an &= operation with an inverted
mask of all options instead of using an |= with a value of 0.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_ethtool.c
drivers/net/igb/igb_main.c