mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Renaud Barbier <renaud.barbier@ge.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/5] gianfar: mdio bus support
Date: Thu, 20 Sep 2012 17:31:04 +0100	[thread overview]
Message-ID: <1348158669-14034-1-git-send-email-renaud.barbier@ge.com> (raw)

This patch set removes the mdio bus registration and phy access functions from
the Ethernet driver. The mdio bus is registered independently.
The Ethernet driver then finds the mii device by name to have access
to the PHYs.
Since the mdio bus requires to be reset, a reset function is added to the
mii_device structure. The reset function is called when a PHY is 
connected by the Ethernet driver.

Renaud Barbier (5):
  phylib: bus reset function
  FSL mdio bus support
  gianfar update
  FSL mdio: configuration and build file
  P2020rdb: eTSEC2 support

 arch/ppc/boards/freescale-p2020rdb/p2020rdb.c |   25 ++++-
 arch/ppc/include/asm/fsl_mdio.h               |   11 ++
 arch/ppc/mach-mpc85xx/eth-devices.c           |   14 +--
 arch/ppc/mach-mpc85xx/include/mach/gianfar.h  |    2 +
 drivers/net/Kconfig                           |    5 +
 drivers/net/Makefile                          |    1 +
 drivers/net/fsl_mdio.c                        |  134 +++++++++++++++++++++++++
 drivers/net/gianfar.c                         |  127 ++++--------------------
 drivers/net/gianfar.h                         |    3 +-
 drivers/net/phy/phy.c                         |    3 +
 include/miidev.h                              |    1 +
 11 files changed, 204 insertions(+), 122 deletions(-)
 create mode 100644 arch/ppc/include/asm/fsl_mdio.h
 create mode 100644 drivers/net/fsl_mdio.c


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

             reply	other threads:[~2012-09-20 16:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-20 16:31 Renaud Barbier [this message]
2012-09-20 16:31 ` [PATCH 1/5] phylib: bus reset function Renaud Barbier
2012-09-20 18:23   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-21  6:34     ` Sascha Hauer
2012-09-21  8:06       ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-21  8:30         ` Sascha Hauer
2012-09-21 17:04           ` Renaud Barbier
2012-09-21 17:20             ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-20 16:31 ` [PATCH 2/5] FSL mdio bus support Renaud Barbier
2012-09-20 18:27   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-20 16:31 ` [PATCH 3/5] gianfar update Renaud Barbier
2012-09-20 18:30   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-20 16:31 ` [PATCH 4/5] FSL mdio: configuration and build file Renaud Barbier
2012-09-20 16:31 ` [PATCH 5/5] P2020rdb: eTSEC2 support Renaud Barbier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1348158669-14034-1-git-send-email-renaud.barbier@ge.com \
    --to=renaud.barbier@ge.com \
    --cc=barebox@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox