diff options
author | Edward Cree <ecree@solarflare.com> | 2020-06-29 14:35:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-29 17:37:49 -0700 |
commit | 21ea21252eddb3cea56845f58f87208062799bef (patch) | |
tree | 3a659c967c0bfd4787a801bb81f7dab189061cbc /drivers/net/ethernet/sfc/efx_common.h | |
parent | 66a65128d4a585aff4baf123d710107cbd31c3a7 (diff) |
sfc: commonise PCI error handlers
EF100 will use the same mechanisms for PCI error recovery.
Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/efx_common.h')
-rw-r--r-- | drivers/net/ethernet/sfc/efx_common.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/efx_common.h b/drivers/net/ethernet/sfc/efx_common.h index 93a017aafb9f..68af2af3b5da 100644 --- a/drivers/net/ethernet/sfc/efx_common.h +++ b/drivers/net/ethernet/sfc/efx_common.h @@ -73,4 +73,5 @@ void efx_link_status_changed(struct efx_nic *efx); unsigned int efx_xdp_max_mtu(struct efx_nic *efx); int efx_change_mtu(struct net_device *net_dev, int new_mtu); +extern const struct pci_error_handlers efx_err_handlers; #endif |