• Guo-Fu Tseng's avatar
    jme: Support WoL after shutdown · 1c557819
    Guo-Fu Tseng authored
    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: default avatarСtac <Taoga@yandex.ru>
    Signed-off-by: default avatarGuo-Fu Tseng <cooldavid@cooldavid.org>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1c557819
jme.c 68.7 KB