]> git.baikalelectronics.ru Git - kernel.git/commit
ucc_geth: Implement suspend/resume and Wake-On-LAN support
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 27 Aug 2009 07:35:57 +0000 (07:35 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Aug 2009 04:51:47 +0000 (21:51 -0700)
commitd76124e3b147a8682ec2339acc8f7b8dde4b67e1
tree799de0b229027408b0f894cb9f50e36f4707f3d7
parent6819b0dff4fa27878eccb87c6717d2f5df347af1
ucc_geth: Implement suspend/resume and Wake-On-LAN support

This patch implements suspend/resume and WOL support for UCC Ethernet
driver.

We support two wake up events: wake on PHY/link changes and wake
on magic packet.

In some CPUs (like MPC8569) QE shuts down during sleep, so magic packet
detection is unusable, and also on resume we should fully reinitialize
UCC structures.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ucc_geth.c
drivers/net/ucc_geth.h
drivers/net/ucc_geth_ethtool.c