Phy/Marvell: Rewrite the MV88E1111 phy config function based on kernel code
authorZang Roy-R61911 <tie-fei.zang@freescale.com>
Thu, 27 Oct 2011 18:52:09 +0000 (18:52 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Dec 2011 20:59:00 +0000 (21:59 +0100)
commitfa12a08ec0b197766b6b3a2994cdc1fba5f31599
tree7e1232be98c44cc69810b99524b863be99e08739
parent163b29469d27452a3461e0b5947030a2abfe6169
Phy/Marvell: Rewrite the MV88E1111 phy config function based on kernel code

The original m88e1111s_config() does not do the SGMII mode
initialization and is buggy. Rewrite the function according to
3.0.6 kernel function m88e1111_config_init() in drivers/net/phy/marvell.c

Signed-off-by: Roy Zang <tie-fei.zang@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Cc: Kumar Gala <galak@kernel.crashing.org>
drivers/net/phy/marvell.c