[PATCH 0/5] fec_imx & miidev: support for 10 MBit connections

Wolfram Sang w.sang at pengutronix.de
Tue Jan 24 08:53:46 EST 2012

This series enables an MX28 to support 10 Mbit connections. It couldn't do
before, because a special bit has to be set, but the phy needs to be queried

1/5, 2/5: minor cleanups
3/5: activate additional FEC features
4/5: refactor phy code to let drivers get the status
5/5: set 10MBit mode when phy reported such a connection

All tested on a custom MX28 board, very similar to MX28EVK.



Wolfram Sang (5):
  net: fec_imx: small cleanups
  net: fec_imx: refactor R_CNTRL setup
  net: fec_imx: enable payload length check and pause frames
  net: miidev: factor out miidev_get_status()
  net: fec_imx: configure FEC for 10Mbit when necessary

 drivers/net/fec_imx.c |   44 ++++++++++++++++----------------
 drivers/net/fec_imx.h |   14 ----------
 drivers/net/miidev.c  |   65 +++++++++++++++++++++++++++++++-----------------
 include/miidev.h      |    5 ++++
 4 files changed, 69 insertions(+), 59 deletions(-)


More information about the barebox mailing list