]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 07:16:12 +0000 (15:16 +0800)
commit667e73b8ab28baf692430325f303a1f62d86d0a5
treebc436acd3c506d08760dce8e00712af3486aa53d
parent9771340aa89ed58523a1024fac36c6d9a3fceb99
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.

(cherry picked from commit fe2ddfb510f9d305a6654c7538c5c8faf326a16c)
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/e1000e/Makefile
drivers/net/e1000e/mac.c [moved from drivers/net/e1000e/lib.c with 65% similarity]
drivers/net/e1000e/manage.c [new file with mode: 0644]
drivers/net/e1000e/nvm.c [new file with mode: 0644]