ixgbe: enable devices with internal switch to read pci parent
authorJacob Keller <jacob.e.keller@intel.com>
Tue, 9 Apr 2013 07:20:09 +0000 (07:20 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Apr 2013 04:51:06 +0000 (21:51 -0700)
commitb8e820015ec703b971e6a3e2354502ecdd905aee
tree281949bf7468e8fcea09ffa065b050adf9b30f28
parentef1889d586a84ee17cf16fe48bfec03ace6eab2a
ixgbe: enable devices with internal switch to read pci parent

This patch modifies the driver to enable certain devices, which have an internal
switch, to read data from the physical slot rather than reading data from the
internal switch. The internal switch will always report the same PCI width and
speed, which is not useful compared to knowing the width and speed of the slot
the physical card is plugged into.

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_main.c