e1000e: return appropriate errors for 'ethtool -r'
authorBruce Allan <bruce.w.allan@intel.com>
Thu, 20 Jan 2011 06:58:07 +0000 (06:58 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 11 Feb 2011 16:42:15 +0000 (08:42 -0800)
commit5962bc21ceaaba81e04fa1bb5671c65251805d3e
treeead360a95ba1767bd311957b50bd4f5bc45725b7
parent5c1bda0aa32e4614c32a45ce5662ed6914bae38a
e1000e: return appropriate errors for 'ethtool -r'

...when invoked while interface is not up or when auto-negotiation is
disabled as done by other drivers.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Jeff Pieper <jeffrey.e.pieper@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/e1000e/ethtool.c