[PATCH linux 0/4] Enable ftgmac100 driver on Aspeed g5 SoCs

Andrew Jeffery andrew at aj.id.au
Fri Jun 10 14:44:25 AEST 2016


Hi all,

These patches are already applied to the dev-4.7 branch but hadn't been sent
anywhere for feedback.

The first patch is a work-around that gets the ftgmac100 driver probing on the
AST2500 EVB (or any non-NCSI configuration) in the short term. Longer term we
should probably implement the new MDC/MDIO register interface. Shouldn't (yet)
be sent upstream, but required in some cases around these parts.

Patches two and three had some queries from Joel regarding parameters I've
added to a number of functions. I've done some analysis on whether we can avoid
it, but it seems we cannot. Thoughts there would be appreciated.

Patch four is a trivial one for aspeed-g5.dtsi if you accept the general
approach of patch three.

Andrew Jeffery (4):
  aspeed: Use old MDC/MDIO interface for ftgmac100 driver compat
  ftgmac100: Separate rx page storage from rxdesc
  ftgmac100: Add devicetree option for the Aspeed g5 register interface
  aspeed-g5: Configure ftgmac100s for the Aspeed g5 register interface

 arch/arm/boot/dts/aspeed-g5.dtsi         |  2 +
 arch/arm/mach-aspeed/aspeed.c            |  8 ++++
 drivers/net/ethernet/faraday/ftgmac100.c | 76 +++++++++++++++++++++++---------
 drivers/net/ethernet/faraday/ftgmac100.h |  2 -
 4 files changed, 64 insertions(+), 24 deletions(-)

-- 
2.7.4



More information about the openbmc mailing list