e1000e: NIC goes up and immediately goes down
authorTushar Dave <tushar.n.dave@intel.com>
Tue, 31 Jul 2012 02:02:43 +0000 (02:02 +0000)
committerPeter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Tue, 7 Aug 2012 07:40:08 +0000 (00:40 -0700)
commitb7ec70be01a87f2c85df3ae11046e74f9b67e323
tree046a28fb61ae7df7e3fe60451f8d69044f73e9c1
parent5d299f3d3c8a2fbc732b1bf03af36333ccec3130
e1000e: NIC goes up and immediately goes down

Found that commit d478eb44 was a bad commit.
If the link partner is transmitting codeword (even if NULL codeword),
then the RXCW.C bit will be set so check for RXCW.CW is unnecessary.
Ref: RH BZ 840642

Reported-by: Fabio Futigami <ffutigam@redhat.com>
Signed-off-by: Tushar Dave <tushar.n.dave@intel.com>
CC: Marcelo Ricardo Leitner <mleitner@redhat.com>
CC: stable <stable@vger.kernel.org> [2.6.38+]
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
drivers/net/ethernet/intel/e1000e/82571.c