aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorGiuseppe Cavallaro <peppe.cavallaro@st.com>2010-09-24 21:27:41 -0700
committerDavid S. Miller <davem@davemloft.net>2010-09-24 21:27:41 -0700
commit543876c92837a8b208b5c99ec225c1f5a581900e (patch)
tree7a183a1bc3e8974b994e4bad1861ddd0f33ac7e7 /include/linux/stmmac.h
parentnet: Add Gigabit Ethernet driver of Topcliff PCH (diff)
downloadlinux-dev-543876c92837a8b208b5c99ec225c1f5a581900e.tar.xz
linux-dev-543876c92837a8b208b5c99ec225c1f5a581900e.zip
stmmac: review the wake-up support
If the PM support is available this is passed through the platform instead to be hard-coded in the core files. WoL on Magic Frame can be enabled by using the ethtool support. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 1d8baf719211..d66c61774d95 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -37,6 +37,7 @@ struct plat_stmmacenet_data {
int enh_desc;
int tx_coe;
int bugged_jumbo;
+ int pmt;
void (*fix_mac_speed)(void *priv, unsigned int speed);
void (*bus_setup)(void __iomem *ioaddr);
#ifdef CONFIG_STM_DRIVERS