diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-08-27 03:35:57 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-08-31 00:51:47 -0400 |
commit | 2394905f67aeec5f9452f2881cbeb2b42009de0e (patch) | |
tree | 799de0b229027408b0f894cb9f50e36f4707f3d7 /drivers/net/ucc_geth.h | |
parent | bf5aec2e79418adb42f1457152b427fd3d6316d9 (diff) |
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 cfb31afc08a9..03a6ca016d5a 100644 --- a/drivers/net/ucc_geth.h +++ b/drivers/net/ucc_geth.h | |||
@@ -1222,6 +1222,7 @@ struct ucc_geth_private { | |||
1222 | int oldspeed; | 1222 | int oldspeed; |
1223 | int oldduplex; | 1223 | int oldduplex; |
1224 | int oldlink; | 1224 | int oldlink; |
1225 | int wol_en; | ||
1225 | 1226 | ||
1226 | struct device_node *node; | 1227 | struct device_node *node; |
1227 | }; | 1228 | }; |