diff options
author | Scott Wood <scottwood@freescale.com> | 2008-07-11 18:04:45 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-16 17:57:47 -0500 |
commit | d87eb12785c14de1586e3bad86ca2c0991300339 (patch) | |
tree | 9caa5a958d88910049a03bbfbd1a8a3367b6332b /arch | |
parent | 7e1cc9c55a2a4af62f30fade62fb612a243def39 (diff) | |
download | blackbird-op-linux-d87eb12785c14de1586e3bad86ca2c0991300339.tar.gz blackbird-op-linux-d87eb12785c14de1586e3bad86ca2c0991300339.zip |
gianfar: Add magic packet and suspend/resume support.
Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/sysdev/fsl_soc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/sysdev/fsl_soc.c b/arch/powerpc/sysdev/fsl_soc.c index ef4cb0d67a72..214388e11807 100644 --- a/arch/powerpc/sysdev/fsl_soc.c +++ b/arch/powerpc/sysdev/fsl_soc.c @@ -352,6 +352,9 @@ static int __init gfar_of_init(void) else gfar_data.interface = PHY_INTERFACE_MODE_MII; + if (of_get_property(np, "fsl,magic-packet", NULL)) + gfar_data.device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; + ph = of_get_property(np, "phy-handle", NULL); if (ph == NULL) { u32 *fixed_link; |