1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/atheros/alx
Bjorn Helgaas 1de2a84dd0 alx: Drop redundant pci_enable_pcie_error_reporting()
pci_enable_pcie_error_reporting() enables the device to send ERR_*
Messages.  Since f26e58bf6f ("PCI/AER: Enable error reporting when AER is
native"), the PCI core does this for all devices during enumeration, so the
driver doesn't need to do it itself.

Remove the redundant pci_enable_pcie_error_reporting() call from the
driver.  Also remove the corresponding pci_disable_pcie_error_reporting()
from the driver .remove() path.

Note that this only controls ERR_* Messages from the device.  An ERR_*
Message may cause the Root Port to generate an interrupt, depending on the
AER Root Error Command register managed by the AER service driver.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Chris Snook <chris.snook@gmail.com>
Acked-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2023-03-08 23:34:38 -08:00
..
alx.h alx: use fine-grained locking instead of RTNL 2021-05-13 13:09:26 -07:00
ethtool.c alx: fix missing unlock on error in alx_set_pauseparam() 2021-05-14 15:10:51 -07:00
hw.c alx: add msi-x support 2016-09-09 20:51:21 -07:00
hw.h ethernet/atheros: use core min/max MTU checking 2016-10-18 11:34:18 -04:00
main.c alx: Drop redundant pci_enable_pcie_error_reporting() 2023-03-08 23:34:38 -08:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
reg.h Add Killer E2500 device ID in alx driver. 2016-08-29 00:23:50 -04:00