]> git.karo-electronics.de Git - karo-tx-linux.git/commit
e1000e: cleanup: rename e1000e_setup_link() and call as function pointer
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 22 Feb 2012 09:02:26 +0000 (09:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 25 Feb 2012 05:34:15 +0000 (21:34 -0800)
commit1a46b40fbb1dfd698efbc7a9575aa64aed04d568
tree46e479dcc8a92756cf91711d1b548c6ec6773572
parentd1964eb138901286a170de8ed422efd227dd4daf
e1000e: cleanup: rename e1000e_setup_link() and call as function pointer

Rename e1000e_setup_link() to e1000e_setup_link_generic() to signify the
function is used for more than one MAC-family type.  The 82571-family has
a custom setup_link function which also calls the generic function.  The
ich8lan-family has a custom function which should just be called via the
function pointer.  The 80003es2lan-family just uses the generic function.

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/80003es2lan.c
drivers/net/ethernet/intel/e1000e/82571.c
drivers/net/ethernet/intel/e1000e/e1000.h
drivers/net/ethernet/intel/e1000e/ich8lan.c
drivers/net/ethernet/intel/e1000e/mac.c