fman/mEMAC: set SETSP bit in IF_MODE regisgter for RGMII speed
authorZang Roy-R61911 <tie-fei.zang@freescale.com>
Mon, 4 Mar 2013 03:59:20 +0000 (03:59 +0000)
committerAndy Fleming <afleming@freescale.com>
Thu, 2 May 2013 21:56:44 +0000 (16:56 -0500)
commitc5729f0b1fb8777c5dcfd2e510bc351045e9b1c4
tree9f94fc7e3fd0938975c8fbe4c715291d51f40110
parent7b700d212532b1b7b11e003d6949407d74fb69e3
fman/mEMAC: set SETSP bit in IF_MODE regisgter for RGMII speed

Some legacy RGMII phys don't have in band signaling for the
speed information. so set the RGMII MAC mode according to
the speed got from PHY.

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Reported-by: John Traill <john.traill@freescale.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
arch/powerpc/include/asm/fsl_memac.h
drivers/net/fm/memac.c