aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/i40e/i40e_prototype.h
diff options
context:
space:
mode:
authorCatherine Sullivan <catherine.sullivan@intel.com>2013-11-28 06:39:21 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-01-03 19:12:35 -0800
commitd4dfb81af79496ec8e09f30cd955946de370878a (patch)
tree9f6b1645d054fad766595819503696446a25ead2 /drivers/net/ethernet/intel/i40e/i40e_prototype.h
parenti40e: Suppress HMC error to Interrupt message level (diff)
downloadlinux-dev-d4dfb81af79496ec8e09f30cd955946de370878a.tar.xz
linux-dev-d4dfb81af79496ec8e09f30cd955946de370878a.zip
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>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e_prototype.h')
-rw-r--r--drivers/net/ethernet/intel/i40e/i40e_prototype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e_prototype.h b/drivers/net/ethernet/intel/i40e/i40e_prototype.h
index 2fc9ce528d4d..db7bf93efdd2 100644
--- a/drivers/net/ethernet/intel/i40e/i40e_prototype.h
+++ b/drivers/net/ethernet/intel/i40e/i40e_prototype.h
@@ -215,6 +215,7 @@ i40e_status i40e_read_nvm_buffer(struct i40e_hw *hw, u16 offset,
u16 *words, u16 *data);
i40e_status i40e_validate_nvm_checksum(struct i40e_hw *hw,
u16 *checksum);
+void i40e_set_pci_config_data(struct i40e_hw *hw, u16 link_status);
/* prototype for functions used for SW locks */