e1000e: re-factor ethtool get/set ring parameter
authorBruce Allan <bruce.w.allan@intel.com>
Fri, 16 Dec 2011 00:45:51 +0000 (00:45 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 26 Jan 2012 07:12:29 +0000 (23:12 -0800)
commit508da4264add2eb13bd4d32bb896e79e6f8821fc
tree04f530b35714efdd0afd5457e11a7dc3efe47d32
parent55aa69854a93d7aaf123a882b0b1f93c86cf3c7e
e1000e: re-factor ethtool get/set ring parameter

Make it more like how igb does it, with some additional error checking.

Signed-off-by: Bruce Allan <bruce.w.allan@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/e1000e/ethtool.c