[PATCH] gianfar: Fix Wake-on-LAN support
David Miller
davem at davemloft.net
Fri Jan 30 12:31:33 EST 2009
From: Anton Vorontsov <avorontsov at ru.mvista.com>
Date: Wed, 28 Jan 2009 23:35:45 +0300
> commit 0f0ca340e57bd7446855fefd07a64249acf81223 ("phy: power
> management support") caused a regression in the gianfar driver.
>
> Now phylib turns off PHY power during suspend, and thus WOL
> doesn't work anymore.
>
> This patch workarounds the issue by enabling wakeup in the MDIO
> device, i.e. just restores the old behaviour for the gianfar
> driver. Note that this way all PHYs on a given MDIO bus won't
> be turned off during suspend, which isn't good from the power
> saving point of view.
>
> A proper, per netdevice wakeup management support will need
> a bit reworked phylib suspend/resume logic.
>
> Signed-off-by: Anton Vorontsov <avorontsov at ru.mvista.com>
Applied, thanks Anton.
More information about the Linuxppc-dev
mailing list