e1000e: convert enums of register offsets and move #defines to regs.h
authorBruce Allan <bruce.w.allan@intel.com>
Tue, 5 Feb 2013 08:30:59 +0000 (00:30 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 5 Feb 2013 08:30:59 +0000 (00:30 -0800)
commitc556d6072d99c96bbc091ea64712cf71468ce533
treec0346962676ffa0635bdcfe39706ecc02900d85b
parent948f97aca6700ea96647719185d83a0b7c312fc1
e1000e: convert enums of register offsets and move #defines to regs.h

There are enough register offsets to warrant being in their own header
file, and doing so logically separates them from other header file content.
They have been converted from an enumerated data type to #defines as is
done in all the other Intel wired ethernet drivers.

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/hw.h
drivers/net/ethernet/intel/e1000e/netdev.c
drivers/net/ethernet/intel/e1000e/regs.h [new file with mode: 0644]