[PATCH 0/7] phylib: fix + drivers

Sascha Hauer s.hauer at pengutronix.de
Tue Nov 20 03:39:19 EST 2012


On Sun, Nov 18, 2012 at 01:46:27PM +0100, Jean-Christophe PLAGNIOL-VILLARD wrote:
> 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)

Applied, thanks

Sascha

> 
> ----------------------------------------------------------------
> 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
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list