From: Josh Boyer <redacted>
Date: Wed, 29 Feb 2012 08:43:46 -0500
On Fri, Feb 17, 2012 at 3:07 AM, Duc Dang [off-list ref] wrote:
quoted
This patch includes:
=A0Configure EMAC PHY clock source (clock from PHY or internal clock=
).
quoted
=A0Do not advertise PHY half duplex capability as APM821XX EMAC does=
not
quoted
support half duplex mode.
=A0Add changes to support configuring jumbo frame for APM821XX EMAC.=
quoted
Signed-off-by: Duc Dang <redacted>
=
This should have been sent to netdev. CC'ing them now.
=
Ben and David, I can take this change through the 4xx tree if it look=
s OK to
both of you. The pre-requisite DTS patch will go through my tree, so=
it might
make sense to keep them together.
Well the patch has coding style problems, for one:
quoted
+ dev->features |=3D (EMAC_APM821XX_REQ_JUMBO_FRAME_SIZE
+ | EMAC_FTR_APM821XX_NO_HALF_DUPLEX
+ | EMAC_FTR_460EX_PHY_CLK_FIX);
Should be:
quoted
+ dev->features |=3D (EMAC_APM821XX_REQ_JUMBO_FRAME_SIZE |
+ EMAC_FTR_APM821XX_NO_HALF_DUPLEX |
+ EMAC_FTR_460EX_PHY_CLK_FIX);
And this:
quoted
+ dev->phy_feat_exc =3D (SUPPORTED_1000baseT_Half
+ | SUPPORTED_100baseT_Half
+ | SUPPORTED_10baseT_Half);
Should be:
quoted
+ dev->phy_feat_exc =3D (SUPPORTED_1000baseT_Half |
+ SUPPORTED_100baseT_Half |
+ SUPPORTED_10baseT_Half);