]> bbs.cooldavid.org Git - net-next-2.6.git/commit
igb: use correct bits to identify if managability is enabled
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 25 Mar 2010 17:15:06 +0000 (17:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 27 Mar 2010 15:33:20 +0000 (08:33 -0700)
commite017b60316468f21a63bdd4affefaf81a7f988fd
treeedcfc9bcbcd3e45dd35b4b58d1e1a7fdbfe0ec22
parentc0e4d4bad4e8cf0aa787a3045392f949d76b5886
igb: use correct bits to identify if managability is enabled

igb was previously checking the wrong bits in the MANC register to determine
if managability was enabled.  As a result it was incorrectly powering down and
resetting the phy when it didn't need to.

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/e1000_mac.c