mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] gianfar: mdio bus support
@ 2012-09-20 16:31 Renaud Barbier
  2012-09-20 16:31 ` [PATCH 1/5] phylib: bus reset function Renaud Barbier
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Renaud Barbier @ 2012-09-20 16:31 UTC (permalink / raw)
  To: barebox

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

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2012-09-21 17:22 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-20 16:31 [PATCH 0/5] gianfar: mdio bus support Renaud Barbier
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox