e1000e: pass pointer to hw struct for e1000_init_mac_params_XXX()
authorBruce Allan <bruce.w.allan@intel.com>
Wed, 1 Feb 2012 10:53:05 +0000 (10:53 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Feb 2012 08:07:12 +0000 (00:07 -0800)
commitec34c170da8798f521f0d40cad54580ff93cea3a
treeadb3391a27061fc79764d00d726079c4331fc74c
parent07914ee3ccbf93ce688f1aaba15d8b01f19c5d77
e1000e: pass pointer to hw struct for e1000_init_mac_params_XXX()

The e1000_init_mac_params_XXX() functions (where XXX is one of the three
MAC-family types 80003es2lan, 82571 and ich8lan) was not meant to require a
pointer to the adapter struct but does require a pointer to the hw struct.
Pass that pointer in to the functions instead.

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/ich8lan.c