mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: barebox@lists.infradead.org
Subject: [PATCH 0/1 v5] net: introduce phylib
Date: Mon, 17 Sep 2012 07:43:32 +0200	[thread overview]
Message-ID: <20120917054332.GO25990@game.jcrosoft.org> (raw)

HI,

	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 bb8f85c7aac0c3354ab374d2df110d3df84a395f:

  net: introduce phylib (2012-09-17 13:41:27 +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      |   41 ++++-----
 arch/arm/boards/freescale-mx6-sabrelite/board.c |   38 +++------
 drivers/net/Kconfig                             |    2 +
 drivers/net/Makefile                            |    2 +-
 drivers/net/altera_tse.c                        |   27 +++---
 drivers/net/altera_tse.h                        |    1 +
 drivers/net/at91_ether.c                        |   32 ++++---
 drivers/net/designware.c                        |   45 +++++-----
 drivers/net/dm9k.c                              |   23 ++---
 drivers/net/ep93xx.c                            |   14 ++-
 drivers/net/fec_imx.c                           |   72 ++++++++++------
 drivers/net/fec_imx.h                           |    4 +
 drivers/net/fec_mpc5200.c                       |   34 +++++---
 drivers/net/fec_mpc5200.h                       |    2 +
 drivers/net/gianfar.c                           |   46 +++++-----
 drivers/net/ks8851_mll.c                        |   21 ++---
 drivers/net/macb.c                              |   64 ++++++++------
 drivers/net/miidev.c                            |  250 +----------------------------------------------------
 drivers/net/netx_eth.c                          |    9 +-
 drivers/net/phy/Kconfig                         |   17 ++++
 drivers/net/phy/Makefile                        |    2 +
 drivers/net/phy/generic.c                       |   36 ++++++++
 drivers/net/phy/phy.c                           |  687 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/smc91111.c                          |   30 +++----
 drivers/net/smc911x.c                           |   20 ++---
 drivers/net/usb/asix.c                          |   11 +--
 drivers/net/usb/smsc95xx.c                      |   11 +--
 drivers/net/usb/usbnet.c                        |   11 +--
 include/fec.h                                   |    3 +
 include/linux/ethtool.h                         |  114 +++++++++++++++++++++++++
 include/linux/mii.h                             |  421 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------
 include/linux/phy.h                             |  206 ++++++++++++++++++++++++++++++++++++++++++++
 include/miidev.h                                |   21 +----
 include/net.h                                   |    4 +
 include/usb/usbnet.h                            |    1 +
 net/eth.c                                       |    6 +-
 36 files changed, 1673 insertions(+), 655 deletions(-)
 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/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

             reply	other threads:[~2012-09-17  5:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-17  5:43 Jean-Christophe PLAGNIOL-VILLARD [this message]
2012-09-17  5:59 ` [PATCH 1/1] " Jean-Christophe PLAGNIOL-VILLARD
2012-09-17 14:13   ` Sascha Hauer
2012-09-17 14:26     ` Jean-Christophe PLAGNIOL-VILLARD

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=20120917054332.GO25990@game.jcrosoft.org \
    --to=plagnioj@jcrosoft.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