diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-08-27 07:35:57 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-30 21:51:47 -0700 |
commit | 2394905f67aeec5f9452f2881cbeb2b42009de0e (patch) | |
tree | 799de0b229027408b0f894cb9f50e36f4707f3d7 /drivers/net/ucc_geth.h | |
parent | bf5aec2e79418adb42f1457152b427fd3d6316d9 (diff) | |
download | op-kernel-dev-2394905f67aeec5f9452f2881cbeb2b42009de0e.zip op-kernel-dev-2394905f67aeec5f9452f2881cbeb2b42009de0e.tar.gz |
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>
Diffstat (limited to 'drivers/net/ucc_geth.h')
-rw-r--r-- | drivers/net/ucc_geth.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h index cfb31af..03a6ca0 100644 --- a/drivers/net/ucc_geth.h +++ b/drivers/net/ucc_geth.h @@ -1222,6 +1222,7 @@ struct ucc_geth_private { int oldspeed; int oldduplex; int oldlink; + int wol_en; struct device_node *node; }; |