]> git.baikalelectronics.ru Git - kernel.git/commit
e1000e: do not attempt to disable smart powerdown if not supported
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 2 Jun 2009 11:28:20 +0000 (11:28 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 3 Jun 2009 09:46:32 +0000 (02:46 -0700)
commit4d8fb5bcb4184ab952be76206c0f0c166e2d6e6e
tree89bfc3556443abda48e6d4ec7789a3d6f7b872b0
parentd856c9a2a22c89f25a2b1403de721f0b3ca116a6
e1000e: do not attempt to disable smart powerdown if not supported

During reset, the driver was attempting to disable the Smart Powerdown
feature even if the part does not support Smart Powerdown.  Check for
support before attempting to disable the feature.

Signed-off-by: Bruce Allan <bruce.w.allan@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