diff options
author | Alexander Duyck <aduyck@mirantis.com> | 2016-01-06 23:10:23 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2016-02-15 16:21:05 -0800 |
commit | c3278587e7d34cfbc1d38d3ae25923343af7752a (patch) | |
tree | 16e68019ed5a5591e63f4eafa923c32bff4a5b0b /drivers/net/ethernet/intel/igb/e1000_mac.h | |
parent | 9ce0e8d72678b5b60c99ce4c7af15ec127c761cb (diff) |
igb: clean up code for setting MAC address
Drop a bunch of hand written byte swapping code in favor of just doing the
byte swapping ourselves. The registers are little endian registers storing
a big endian value so if we read the MAC address array as little endian
then we will get the CPU registers into the proper layout.
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/igb/e1000_mac.h')
0 files changed, 0 insertions, 0 deletions