|
@@ -1388,6 +1388,9 @@ static int alx_resume(struct device *dev)
|
|
{
|
|
{
|
|
struct pci_dev *pdev = to_pci_dev(dev);
|
|
struct pci_dev *pdev = to_pci_dev(dev);
|
|
struct alx_priv *alx = pci_get_drvdata(pdev);
|
|
struct alx_priv *alx = pci_get_drvdata(pdev);
|
|
|
|
+ struct alx_hw *hw = &alx->hw;
|
|
|
|
+
|
|
|
|
+ alx_reset_phy(hw);
|
|
|
|
|
|
if (!netif_running(alx->dev))
|
|
if (!netif_running(alx->dev))
|
|
return 0;
|
|
return 0;
|