mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user