ixgbe: refactor common start_hw code for 82599 and x540
authorEmil Tantilov <emil.s.tantilov@intel.com>
Fri, 18 Mar 2011 08:18:22 +0000 (08:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 14 Apr 2011 02:21:52 +0000 (19:21 -0700)
commit7184b7cf555f5bc08e34994147c341abb07d1dbb
tree6273596a819234c83a8f2f3ca496920a191a58bc
parent75e3d3c6812ef2387f8dcfd86437cff00f64b68b
ixgbe: refactor common start_hw code for 82599 and x540

Factored out the common start_hw code into a new function
ixgbe_start_hw_gen2() so that it can be used by x540 and 82599.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe_82599.c
drivers/net/ixgbe/ixgbe_common.c
drivers/net/ixgbe/ixgbe_common.h
drivers/net/ixgbe/ixgbe_x540.c