summaryrefslogtreecommitdiff
path: root/include/linux/fec.h
diff options
context:
space:
mode:
authorFugang Duan <B38611@freescale.com>2011-11-04 16:13:43 +0800
committerJason Liu <r64343@freescale.com>2012-01-09 21:05:06 +0800
commitf8f31980040f430e56f7e679c16cfa7b6aa9cb96 (patch)
tree67241288f16f138df2dc1e920b91da7a23d7d90f /include/linux/fec.h
parent01faf3ac81fd9d7f53889779681fe1970f416518 (diff)
ENGR00159982 - FEC: low power mode when FEC is no use.
- Set phy AR8031 to save power mode when no cable connect. - Close enet clock gate when FEC is no use. Signed-off-by: Fugang Duan <B38611@freescale.com>
Diffstat (limited to 'include/linux/fec.h')
-rw-r--r--include/linux/fec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/fec.h b/include/linux/fec.h
index d6a07048f842..8f69cb58d458 100644
--- a/include/linux/fec.h
+++ b/include/linux/fec.h
@@ -18,6 +18,7 @@
struct fec_platform_data {
int (*init) (struct phy_device *);
+ int (*power_hibernate) (struct phy_device *);
phy_interface_t phy;
unsigned char mac[ETH_ALEN];
};