ODROID-N2:phy/realtek:Wake On Lan err fix.

On Linux PC)
sudo apt install wakeonlan
wakeonlan MAC-Address

Change-Id: Ia6f4917b3b54a19d0aff33c860c8cefa3e9c2c84
This commit is contained in:
Kevin Kim
2019-04-03 15:52:12 +09:00
committed by Chris KIM
parent 3d08249028
commit 41019f9a67

View File

@@ -237,6 +237,11 @@ int rtl8211f_resume(struct phy_device *phydev)
return 0;
}
static void rtl8211f_remove(struct phy_device *phydev)
{
rtl8211f_suspend(phydev);
}
#endif
static struct phy_driver realtek_drvs[] = {
{
@@ -295,6 +300,7 @@ static struct phy_driver realtek_drvs[] = {
#ifdef CONFIG_AMLOGIC_ETH_PRIVE
.suspend = rtl8211f_suspend,
.resume = rtl8211f_resume,
.remove = rtl8211f_remove,
#else
.suspend = genphy_suspend,
.resume = genphy_resume,