e1000e: Add check for reset flags before displaying reset message
authorCarolyn Wyborny <carolyn.wyborny@intel.com>
Thu, 28 Oct 2010 00:59:55 +0000 (00:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Oct 2010 17:18:59 +0000 (10:18 -0700)
commitaffa9dfb04b7e2e3a0b0e6d844ea0c9ed97505f9
tree5bf0e4f0d230b237a19ddbafc2bcdb62dbd704fe
parentff10e13cd06f3dbe90e9fffc3c2dd2057a116e4b
e1000e: Add check for reset flags before displaying reset message

Some parts need to execute resets during normal operation.  This flag
check ensures that those parts reset without needlessly alarming the
user.  Other unexpected resets by other parts will dump debug info
and message the reset action to the user, as originally intended.

Signed-off-by: Carolyn Wyborny <carolyn.wyborny@intel.com>
Acked-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Emil Tantilov <emil.s.tantilov@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e1000e/netdev.c