ixgbe: Make ethtool register test use accessors
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 15 Jan 2014 02:53:14 +0000 (18:53 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:59:17 +0000 (18:59 -0800)
commit49bde319665b78dff8144649e4eb9743c779507f
tree51ed6af5d8757294d19bfc99fe5c107b11305344
parent84227bcd9c9eccfb6ebd88427f90fa265aead5d3
ixgbe: Make ethtool register test use accessors

Make the ethtool register test use the normal register accessor
functions. Also eliminate macros used for calling register test
functions to make error exits clearer. Use boolean values for
boolean returns instead of 0 and 1.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c