Skip to content

phylib: fix + drivers

Jean-Christophe PLAGNIOL-VILLARD barebox 1 version Applied

Status from this message: Applied, thanks

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/7driver: introduce device_probe to manully probe a devicedrivers/base/driver.c include/driver.h+22 -60 replies
2/7phylib: fix generic phy driver probedrivers/net/phy/Kconfig drivers/net/phy/Makefile drivers/net/phy/generic.c +1 more+34 -450 replies
3/7mdio_bus: fix matchdrivers/net/phy/mdio_bus.c+1 -10 replies
4/7phylib: export phy_id via paramdrivers/net/phy/mdio_bus.c+3 -00 replies
5/7phylib: introduction of forced 100Mbpsdrivers/net/phy/mdio_bus.c include/linux/phy.h+6 -10 replies
6/7phylib: add fixup supportdrivers/net/phy/mdio_bus.c drivers/net/phy/phy.c include/linux/phy.h+125 -80 replies
7/7phylib: add micrel supportdrivers/net/phy/Kconfig drivers/net/phy/Makefile drivers/net/phy/micrel.c +1 more+210 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/7] phylib: fix + drivers

HI,

Today we have a bug on the match the logic is inverted. We are lucky as the generic Phy driver is not suppoed to match with any device it work so fix it. Ensure the generic phy driver is probe last if needed.

for mx53-loco we are lucky too the first phy found is the right one

The following changes since commit 272a5d738ab152347d67be062e8a4e771825493a:

at91rm9200ek: add spi support (2012-11-16 15:33:50 +0100)

are available in the git repository at:

git://git.jcrosoft.org/barebox.git delivery/phylib_fix

for you to fetch changes up to 5ea00036e330ea58293774a36d3ee5f9c1fbe895:

phylib: add micrel support (2012-11-16 23:11:16 +0800)

----------------------------------------------------------------
Jean-Christophe PLAGNIOL-VILLARD (7):
driver: introduce device_probe to manully probe a device
phylib: fix generic phy driver probe
mdio_bus: fix match
phylib: export phy_id via param
phylib: introduction of forced 100Mbps
phylib: add fixup support
phylib: add micrel support

 drivers/base/driver.c      |   23 +++++++++----
 drivers/net/phy/Kconfig    |   11 +++---
 drivers/net/phy/Makefile   |    2 +-
 drivers/net/phy/generic.c  |   36 --------------------
 drivers/net/phy/mdio_bus.c |   28 ++++++++++-----
 drivers/net/phy/micrel.c   |  174 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/net/phy/phy.c      |  130 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 include/driver.h           |    5 +++
 include/linux/micrel_phy.h |   30 ++++++++++++++++
 include/linux/phy.h        |   21 +++++++++++-
 10 files changed, 400 insertions(+), 60 deletions(-)
 delete mode 100644 drivers/net/phy/generic.c
 create mode 100644 drivers/net/phy/micrel.c
 create mode 100644 include/linux/micrel_phy.h

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox