mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/1 v7] net: introduce phylib
@ 2012-09-24  9:31 Jean-Christophe PLAGNIOL-VILLARD
  2012-09-24  9:36 ` [PATCH 1/1] " Jean-Christophe PLAGNIOL-VILLARD
                   ` (5 more replies)
  0 siblings, 6 replies; 26+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-09-24  9:31 UTC (permalink / raw)
  To: barebox

HI,

	v7:
	 - drop the duplicate platform_data for fec driver
	   as we need to update both with the same data (piss me off)

	v6:
	- probe phy at mdiobus_register
	- reimplement the mdiobuss support

	v5:
	 - drop edev in mii_device

	v4:
	 - move phy_dev attachement to eth_device instead of mii_device
	   this will allow multiple phy_device per mii bus
	 - move phy cdev to phy_device
	 - add interface type support (so phy driver can configure themselves
	   if MII/RMII/RGMII etc...
	 - manage link status at framework level
	 - mx6 update to fixup the phy at device opening

	v3:
	 - fix comment
	 - add phy_driver probe and remove
	 - renambe phydev.h to phy.h and phylib.c to phy.c as in linux

please pull
The following changes since commit 0b3c3e77945243c262f9ff1275479e6d8ea1d5c3:

  net: catch error on eth_send (2012-09-16 20:39:07 +0800)

are available in the git repository at:

  git://git.jcrosoft.org/barebox.git tags/net_phylib

for you to fetch changes up to aa3e78ab068ca81416d6150fc545b6c5e271dad2:

  net: introduce phylib (2012-09-24 05:35:20 +0800)

----------------------------------------------------------------
net: check error and introduce phylib

Adapt phylib from linux

This will allow to have
 - phy drivers
 - to only connect the phy at then opening of the device
 - if the phy is not ready or down fail on open

Same behaviour as in linux and will allow to share code and simplify porting.

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (1):
      net: introduce phylib

 arch/arm/boards/freescale-mx6-arm2/board.c      |   43 ++---
 arch/arm/boards/freescale-mx6-sabrelite/board.c |   40 ++--
 arch/arm/configs/phycard_a_l1_defconfig         |    2 +-
 arch/arm/configs/tx51stk5_defconfig             |    2 +-
 arch/ppc/boards/pcm030/pcm030.c                 |    4 +-
 arch/ppc/mach-mpc5xxx/include/mach/fec.h        |   14 --
 drivers/net/Kconfig                             |   30 +--
 drivers/net/Makefile                            |    2 +-
 drivers/net/altera_tse.c                        |   48 +++--
 drivers/net/altera_tse.h                        |    3 +-
 drivers/net/at91_ether.c                        |   49 ++---
 drivers/net/designware.c                        |   62 ++++---
 drivers/net/dm9k.c                              |   50 +++--
 drivers/net/ep93xx.c                            |   35 ++--
 drivers/net/ep93xx.h                            |    2 +-
 drivers/net/fec_imx.c                           |   89 +++++----
 drivers/net/fec_imx.h                           |    6 +-
 drivers/net/fec_mpc5200.c                       |   58 +++---
 drivers/net/fec_mpc5200.h                       |    4 +-
 drivers/net/gianfar.c                           |   61 +++---
 drivers/net/gianfar.h                           |    2 +-
 drivers/net/ks8851_mll.c                        |   36 ++--
 drivers/net/macb.c                              |   79 ++++----
 drivers/net/miidev.c                            |  316 -------------------------------
 drivers/net/netx_eth.c                          |   26 +--
 drivers/net/phy/Kconfig                         |   17 ++
 drivers/net/phy/Makefile                        |    2 +
 drivers/net/phy/generic.c                       |   36 ++++
 drivers/net/phy/mdio_bus.c                      |  250 +++++++++++++++++++++++++
 drivers/net/phy/phy.c                           |  568 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/smc91111.c                          |   47 ++---
 drivers/net/smc911x.c                           |   37 ++--
 drivers/net/usb/Kconfig                         |    4 +-
 drivers/net/usb/asix.c                          |   29 ++-
 drivers/net/usb/smsc95xx.c                      |   41 ++--
 drivers/net/usb/usbnet.c                        |   11 +-
 include/fec.h                                   |    3 +
 include/linux/ethtool.h                         |  114 ++++++++++++
 include/linux/mii.h                             |  421 ++++++++++++++++++++++++++++++-----------
 include/linux/phy.h                             |  266 ++++++++++++++++++++++++++
 include/miidev.h                                |   51 +----
 include/net.h                                   |    4 +
 include/usb/usbnet.h                            |    5 +-
 net/eth.c                                       |    8 +-
 44 files changed, 2038 insertions(+), 939 deletions(-)
 delete mode 100644 arch/ppc/mach-mpc5xxx/include/mach/fec.h
 delete mode 100644 drivers/net/miidev.c
 create mode 100644 drivers/net/phy/Kconfig
 create mode 100644 drivers/net/phy/Makefile
 create mode 100644 drivers/net/phy/generic.c
 create mode 100644 drivers/net/phy/mdio_bus.c
 create mode 100644 drivers/net/phy/phy.c
 create mode 100644 include/linux/ethtool.h
 create mode 100644 include/linux/phy.h

Best Regards,
J.

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

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

end of thread, other threads:[~2012-10-02 18:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-24  9:31 [PATCH 0/1 v7] net: introduce phylib Jean-Christophe PLAGNIOL-VILLARD
2012-09-24  9:36 ` [PATCH 1/1] " Jean-Christophe PLAGNIOL-VILLARD
2012-09-24 19:20 ` [PATCH 0/1 v7] " Sascha Hauer
2012-09-24 20:14   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-25 17:26 ` Jan Lübbe
2012-09-25 18:19   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 11:02 ` Sascha Hauer
2012-09-26 11:20   ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 11:31     ` Sascha Hauer
2012-09-26 11:36       ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 11:37   ` [PATCH 1/2] calao: at91 qil/tny/usb auto detect the phy addr Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 11:37     ` [PATCH 2/2] net/eth: fix missing check on eth active Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 11:53     ` [PATCH 3/3] net/eth: fix link handling Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 12:43       ` Sascha Hauer
2012-09-26 12:50         ` Jan Lübbe
2012-09-26 13:03           ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 13:08             ` Sascha Hauer
2012-09-26 13:43               ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 13:05         ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 13:59 ` [PATCH 1/1] " Jean-Christophe PLAGNIOL-VILLARD
2012-09-26 15:17   ` Sascha Hauer
2012-09-26 15:51     ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-02 14:44 ` [PATCH 0/1 v7] net: introduce phylib Renaud Barbier
2012-10-02 16:04   ` Jean-Christophe PLAGNIOL-VILLARD
2012-10-02 16:58     ` Sascha Hauer
2012-10-02 18:32       ` Jean-Christophe PLAGNIOL-VILLARD

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