pds_core: use pci_reset_function for health reset
authorShannon Nelson <shannon.nelson@amd.com>
Fri, 16 Feb 2024 22:29:52 +0000 (14:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Feb 2024 10:29:07 +0000 (10:29 +0000)
commit2cbab3c296f1addd73b40549a2271b30f960df8b
treeef4c66adba3938491ecdebd3a63eec998083c56b
parent2dac60e062340c1e5c975ad6465192d11c40d47a
pds_core: use pci_reset_function for health reset

We get the benefit of all the PCI reset locking and recovery if
we use the existing pci_reset_function() that will call our
local reset handlers.

Reviewed-by: Brett Creeley <brett.creeley@amd.com>
Signed-off-by: Shannon Nelson <shannon.nelson@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/pds_core/core.c
drivers/net/ethernet/amd/pds_core/core.h
drivers/net/ethernet/amd/pds_core/main.c