]> git.baikalelectronics.ru Git - kernel.git/commit
jme: Support WoL after shutdown
authorGuo-Fu Tseng <cooldavid@cooldavid.org>
Sun, 24 Oct 2010 23:18:25 +0000 (16:18 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 24 Oct 2010 23:18:25 +0000 (16:18 -0700)
commit3af15eb533d3f4e9b29eda5ecc2a181ea0845456
treea61bc9675d0c9db2db770367f24d5ac55b98d68a
parentf7b33b0fef307cb0e6bac03bb7d2d8ff347e24a9
jme: Support WoL after shutdown

Adding shutdown function that setup wake if wol is enabled.
Add jme_phy_on in jme_set_100m_half in case it is shutting down
or suspending when interface is down(phy_off by default).

v2 updates:
Removed CONFIG_PM ifdef for jme_set_100m_half and jme_wait_link.
It would be nice if it can be applied to net-2.6 along with other patches
sent few days ago. If it is not appropriate, please ignore the net-2.6
request, and apply it to net-next-2.6 as previous patch. :)

Reported-and-helped-by: Сtac <Taoga@yandex.ru>
Signed-off-by: Guo-Fu Tseng <cooldavid@cooldavid.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/jme.c