linux_dsm_epyc7002/drivers/net/ethernet/intel
Jacob Keller 0d7c6e008e ixgbe: use ixgbe_read_pci_cfg_word
This patch replaces some direct uses of pci_read_config_word with the
protected ixgbe_read_pci_cfg_word function, which checks for whether the
adapter is removed when LER is enabled. We shouldn't use the
pci_read_config_word calls directly because of these checks.

This patch also cleans up an unnecessary save of a pointer to the mac
object, as our standard style is to just use the hw pointer.

CC: Arun Sharma <asharma@fb.com>
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>
2014-03-20 00:37:29 -07:00
..
e1000 drivers/net: delete non-required instances of include <linux/init.h> 2014-01-16 11:53:26 -08:00
e1000e e1000e: Fix Explicitly set Transmit Control Register 2014-03-19 17:17:23 -07:00
i40e i40e/i40evf: Bump build versions 2014-03-19 17:17:22 -07:00
i40evf i40e/i40evf: Bump build versions 2014-03-19 17:17:22 -07:00
igb igb: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:18:48 -07:00
igbvf igbvf: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:25:38 -07:00
ixgb ixgb: Call dev_kfree_skby_any instead of dev_kfree_skb. 2014-03-12 16:22:13 -04:00
ixgbe ixgbe: use ixgbe_read_pci_cfg_word 2014-03-20 00:37:29 -07:00
ixgbevf ixgbevf: Convert uses of __constant_<foo> to <foo> 2014-03-19 22:54:22 -07:00
e100.c e100: Convert uses of __constant_<foo> to <foo> 2014-03-19 21:46:36 -07:00
Kconfig i40e: add DCB option to Kconfig 2014-01-17 19:13:04 -08:00
Makefile i40evf: add driver to kernel build system 2013-12-31 16:27:49 -08:00