summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Duyck <aduyck@mirantis.com>2016-01-07 10:10:23 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-02-16 03:21:05 +0300
commitc3278587e7d34cfbc1d38d3ae25923343af7752a (patch)
tree16e68019ed5a5591e63f4eafa923c32bff4a5b0b /include
parent9ce0e8d72678b5b60c99ce4c7af15ec127c761cb (diff)
downloadlinux-c3278587e7d34cfbc1d38d3ae25923343af7752a.tar.xz
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 'include')
0 files changed, 0 insertions, 0 deletions