i40e: Populate and check pci bus speed and width
authorCatherine Sullivan <catherine.sullivan@intel.com>
Thu, 28 Nov 2013 06:39:21 +0000 (06:39 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 4 Jan 2014 03:12:35 +0000 (19:12 -0800)
commitd4dfb81af79496ec8e09f30cd955946de370878a
tree9f6b1645d054fad766595819503696446a25ead2
parent9c010ee0ea5f87438fe77132130dba0fa29e3b5d
i40e: Populate and check pci bus speed and width

Call i40e_set_pci_config_data from probe, then check that
we are in a 8GT/s x8 PCIe slot and send a warning if we are not.

Change-Id: I62815c574cee50d2787c50bbe956dde7a7a75a11
Signed-off-by: Catherine Sullivan <catherine.sullivan@intel.com>
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Tested-by: Kavindya Deegala <kavindya.s.deegala@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_main.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h