Re: [U-Boot] [PATCH 02/14] powerpc/fman: add PHY support for dTSEC

2011-01-27 Thread Timur Tabi
Mingkai Hu wrote: > + u16 phy_reg; > + u32 phy_ID; > + int i; > + struct phy_info *theInfo = NULL; > + > + /* Grab the bits from PHYIR1, and put them in the upper half */ > + phy_reg = tsec_phy_read(mii_info, 0, MII_PHYSID1); > + phy_ID = (phy_reg & 0x) << 16; > + >

Re: [U-Boot] [PATCH 02/14] powerpc/fman: add PHY support for dTSEC

2011-01-26 Thread Kumar Gala
On Jan 26, 2011, at 10:52 PM, Mingkai Hu wrote: > From: Kumar Gala > > Add VSC8244 and VSC8234 phy support, this will be reused > by etsec code. > > Signed-off-by: Kumar Gala > Signed-off-by: Mingkai Hu > --- > arch/powerpc/include/asm/fsl_enet.h | 10 + > drivers/net/fsl_phy.c

[U-Boot] [PATCH 02/14] powerpc/fman: add PHY support for dTSEC

2011-01-26 Thread Mingkai Hu
From: Kumar Gala Add VSC8244 and VSC8234 phy support, this will be reused by etsec code. Signed-off-by: Kumar Gala Signed-off-by: Mingkai Hu --- arch/powerpc/include/asm/fsl_enet.h | 10 + drivers/net/fsl_phy.c | 353 +++ drivers/net/fsl_phy.h