]> Pileus Git - ~andy/linux/commit
ixgbe: create conversion functions from link_status to bus/speed
authorJacob Keller <jacob.e.keller@intel.com>
Fri, 15 Feb 2013 09:18:15 +0000 (09:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Apr 2013 04:42:57 +0000 (21:42 -0700)
commitef1889d586a84ee17cf16fe48bfec03ace6eab2a
tree091285d43a549ebf70f843310e097f65bcc4aca2
parente8710a5fbf903d514c8b93294e16eaaff954ffed
ixgbe: create conversion functions from link_status to bus/speed

This patch cleans up ixgbe_get_bus_info_generic to call some conversion
functions, which are used also in a follow on patch that needs to convert
between the link_status PCIe config values into ixgbe's internal enum
representations.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.h