diff options
author | Scott Wood <scottwood@freescale.com> | 2008-07-11 19:04:45 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2008-07-16 18:57:47 -0400 |
commit | d87eb12785c14de1586e3bad86ca2c0991300339 (patch) | |
tree | 9caa5a958d88910049a03bbfbd1a8a3367b6332b /arch/powerpc/sysdev/fsl_soc.c | |
parent | 7e1cc9c55a2a4af62f30fade62fb612a243def39 (diff) |
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/powerpc/sysdev/fsl_soc.c')
-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) | |||
352 | else | 352 | else |
353 | gfar_data.interface = PHY_INTERFACE_MODE_MII; | 353 | gfar_data.interface = PHY_INTERFACE_MODE_MII; |
354 | 354 | ||
355 | if (of_get_property(np, "fsl,magic-packet", NULL)) | ||
356 | gfar_data.device_flags |= FSL_GIANFAR_DEV_HAS_MAGIC_PACKET; | ||
357 | |||
355 | ph = of_get_property(np, "phy-handle", NULL); | 358 | ph = of_get_property(np, "phy-handle", NULL); |
356 | if (ph == NULL) { | 359 | if (ph == NULL) { |
357 | u32 *fixed_link; | 360 | u32 *fixed_link; |