e1000e: split lib.c into three more-appropriate files
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 21 Dec 2011 09:47:10 +0000 (09:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 27 Jan 2012 03:00:19 +0000 (19:00 -0800)
commitfe2ddfb510f9d305a6654c7538c5c8faf326a16c
treef18e0d3839909b56ba6760d83ffa700ed9e6e960
parentc8243ee0488d9bc12995ca7ea02f651db820622e
e1000e: split lib.c into three more-appropriate files

The generic lib.c file contains code relative to the various MACs, NVM and
Manageability supported by the driver.  This patch splits the file into
three which are specific to those areas similar to how the PHY-specific
code is in phy.c and code specific to the 80003es2lan, 8257x, and ichX
MAC families are in their own files.  The generic code that is applicable
to all MAC/PHY parts supported by the driver remains in netdev.c, param.c
and ethtool.c files.  No change in functionality, just moving code
around for ease of maintenance, with some whitespace and other checkpatch
cleanups.

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/Makefile
drivers/net/ethernet/intel/e1000e/lib.c [deleted file]
drivers/net/ethernet/intel/e1000e/mac.c [new file with mode: 0644]
drivers/net/ethernet/intel/e1000e/manage.c [new file with mode: 0644]
drivers/net/ethernet/intel/e1000e/nvm.c [new file with mode: 0644]