mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/3 v3] net: check error and introduce phylib
@ 2012-09-14  7:37 Jean-Christophe PLAGNIOL-VILLARD
  2012-09-14  7:57 ` [PATCH 1/3] net: " Jean-Christophe PLAGNIOL-VILLARD
  0 siblings, 1 reply; 13+ messages in thread
From: Jean-Christophe PLAGNIOL-VILLARD @ 2012-09-14  7:37 UTC (permalink / raw)
  To: barebox


HI,

	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 8b3bf5971afbdf1acc5becabb6f15ba4b2a5559d:

  tap: fix missing parent setting on eth_device (2012-09-12 17:26:26 +0200)

are available in the git repository at:

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

for you to fetch changes up to 4b7293febd1176262e3bfe2a3ecf37c0298675d8:

  net: move the eth_dev status detection at driver level (2012-09-14 15:34:03 +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 (3):
      net: introduce phylib
      net: catch error on eth_send
      net: move the eth_dev status detection at driver level

 drivers/net/Kconfig        |    2 +
 drivers/net/Makefile       |    2 +-
 drivers/net/altera_tse.c   |   18 ++---
 drivers/net/altera_tse.h   |    1 +
 drivers/net/at91_ether.c   |   26 +++----
 drivers/net/cs8900.c       |    1 +
 drivers/net/designware.c   |   40 ++++++-----
 drivers/net/dm9k.c         |    9 +--
 drivers/net/ep93xx.c       |    7 +-
 drivers/net/fec_imx.c      |   45 ++++++------
 drivers/net/fec_imx.h      |    1 +
 drivers/net/fec_mpc5200.c  |    9 +--
 drivers/net/gianfar.c      |   30 ++++----
 drivers/net/ks8851_mll.c   |   11 ++-
 drivers/net/macb.c         |   40 +++++++----
 drivers/net/miidev.c       |  206 ++++---------------------------------------------------
 drivers/net/netx_eth.c     |    7 +-
 drivers/net/phy/Kconfig    |   17 +++++
 drivers/net/phy/Makefile   |    2 +
 drivers/net/phy/generic.c  |   36 ++++++++++
 drivers/net/phy/phy.c      |  624 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/smc91111.c     |   20 ++----
 drivers/net/smc911x.c      |   12 ++--
 drivers/net/tap.c          |    1 +
 drivers/net/usb/asix.c     |    2 +-
 drivers/net/usb/smsc95xx.c |    2 +-
 drivers/net/usb/usbnet.c   |   11 +--
 include/linux/ethtool.h    |  114 ++++++++++++++++++++++++++++++
 include/linux/mii.h        |  421 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++----------------------------
 include/miidev.h           |   13 +---
 include/phy.h              |  146 +++++++++++++++++++++++++++++++++++++++
 include/usb/usbnet.h       |    1 +
 net/eth.c                  |    4 +-
 net/net.c                  |   18 +++--
 34 files changed, 1443 insertions(+), 456 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/phy.h

Best Regards,
J.

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

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

end of thread, other threads:[~2012-09-16  9:59 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-14  7:37 [PATCH 0/3 v3] net: check error and introduce phylib Jean-Christophe PLAGNIOL-VILLARD
2012-09-14  7:57 ` [PATCH 1/3] net: " Jean-Christophe PLAGNIOL-VILLARD
2012-09-14  7:57   ` [PATCH 2/3] net: catch error on eth_send Jean-Christophe PLAGNIOL-VILLARD
2012-09-16  9:57     ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-14  7:57   ` [PATCH 3/3] net: move the eth_dev status detection at driver level Jean-Christophe PLAGNIOL-VILLARD
2012-09-16  8:12     ` Sascha Hauer
2012-09-15 12:24   ` [PATCH 1/3] net: introduce phylib Sascha Hauer
2012-09-16  8:11   ` Sascha Hauer
2012-09-16  8:28     ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-16  8:34       ` Sascha Hauer
2012-09-16  9:02         ` Jean-Christophe PLAGNIOL-VILLARD
2012-09-16  9:13           ` Sascha Hauer
2012-09-16  9:41             ` 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