summaryrefslogtreecommitdiffstats
path: root/drivers/net/ucc_geth.h
diff options
context:
space:
mode:
authorAnton Vorontsov <avorontsov@ru.mvista.com>2009-08-27 09:35:57 +0200
committerDavid S. Miller <davem@davemloft.net>2009-08-31 06:51:47 +0200
commit2394905f67aeec5f9452f2881cbeb2b42009de0e (patch)
tree799de0b229027408b0f894cb9f50e36f4707f3d7 /drivers/net/ucc_geth.h
parentucc_geth: Remove UGETH_MAGIC_PACKET Kconfig symbol and code (diff)
downloadlinux-2394905f67aeec5f9452f2881cbeb2b42009de0e.tar.xz
linux-2394905f67aeec5f9452f2881cbeb2b42009de0e.zip
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.h1
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 {
int oldspeed;
int oldduplex;
int oldlink;
+ int wol_en;
struct device_node *node;
};