diff options
Diffstat (limited to 'drivers/net/atlx')
-rw-r--r-- | drivers/net/atlx/atl1.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/net/atlx/atl1.c b/drivers/net/atlx/atl1.c index 32dc391e63cc..919ffb9bfa4e 100644 --- a/drivers/net/atlx/atl1.c +++ b/drivers/net/atlx/atl1.c | |||
@@ -637,22 +637,6 @@ static s32 atl1_phy_leave_power_saving(struct atl1_hw *hw) | |||
637 | } | 637 | } |
638 | 638 | ||
639 | /* | 639 | /* |
640 | * Force the PHY into power saving mode using vendor magic. | ||
641 | */ | ||
642 | #ifdef CONFIG_PM | ||
643 | static void atl1_phy_enter_power_saving(struct atl1_hw *hw) | ||
644 | { | ||
645 | atl1_write_phy_reg(hw, MII_DBG_ADDR, 0); | ||
646 | atl1_write_phy_reg(hw, MII_DBG_DATA, 0x124E); | ||
647 | atl1_write_phy_reg(hw, MII_DBG_ADDR, 2); | ||
648 | atl1_write_phy_reg(hw, MII_DBG_DATA, 0x3000); | ||
649 | atl1_write_phy_reg(hw, MII_DBG_ADDR, 3); | ||
650 | atl1_write_phy_reg(hw, MII_DBG_DATA, 0); | ||
651 | |||
652 | } | ||
653 | #endif | ||
654 | |||
655 | /* | ||
656 | * Resets the PHY and make all config validate | 640 | * Resets the PHY and make all config validate |
657 | * hw - Struct containing variables accessed by shared code | 641 | * hw - Struct containing variables accessed by shared code |
658 | * | 642 | * |
@@ -2861,7 +2845,6 @@ disable_wol: | |||
2861 | ctrl |= PCIE_PHYMISC_FORCE_RCV_DET; | 2845 | ctrl |= PCIE_PHYMISC_FORCE_RCV_DET; |
2862 | iowrite32(ctrl, hw->hw_addr + REG_PCIE_PHYMISC); | 2846 | iowrite32(ctrl, hw->hw_addr + REG_PCIE_PHYMISC); |
2863 | ioread32(hw->hw_addr + REG_PCIE_PHYMISC); | 2847 | ioread32(hw->hw_addr + REG_PCIE_PHYMISC); |
2864 | atl1_phy_enter_power_saving(hw); | ||
2865 | hw->phy_configured = false; | 2848 | hw->phy_configured = false; |
2866 | pci_enable_wake(pdev, pci_choose_state(pdev, state), 0); | 2849 | pci_enable_wake(pdev, pci_choose_state(pdev, state), 0); |
2867 | exit: | 2850 | exit: |