[U-Boot] [PATCH v2 0/5] Remove calls from net drivers to legacy miiphy_register() entry-point
Karl Beldan
kbeldan at baylibre.com
Fri Aug 19 10:14:56 CEST 2016
On Mon, Aug 08, 2016 at 11:28:36AM -0500, Joe Hershberger wrote:
>
> This is an effort to migrate closer to the phylib approach so that a
> new DM approach can be developed from a single starting point. The more
> of this legacy code that can be removed, the easier it will be to move
> forward.
>
Hi Joe,
It was nice to see spatch put to work. However davinci_emac crashes
U-Boot now. It is an invasive patch so it might take time to check
everything is in order, so unless you already have a follow-up series I
can send in a trivial patch just now to fix that for davinci_emac.
Karl
> Changes in v2:
> - Added a blank line
> - Run against the current master which adds one more driver to convert (drivers/net/macb.c)
> - Use an updated spatch that does not put closing paren on the next line
>
> Joe Hershberger (5):
> scripts: Add a cocci patch for miiphy_register
> net: mii: Use spatch to update miiphy_register
> net: mii: Changes not made by spatch
> net: mii: Fix changes made by spatch
> net: mii: Clean up legacy glue that is not used
>
> arch/m68k/include/asm/fec.h | 9 +-
> arch/mips/mach-au1x00/au1x00_eth.c | 25 +++--
> arch/powerpc/cpu/mpc8260/ether_fcc.c | 13 ++-
> arch/powerpc/cpu/mpc85xx/ether_fcc.c | 13 ++-
> arch/powerpc/cpu/mpc8xx/fec.c | 40 +++++---
> arch/powerpc/cpu/ppc4xx/miiphy.c | 11 +--
> board/gdsys/405ep/io.c | 13 ++-
> board/gdsys/405ep/iocon.c | 27 +++++-
> board/gdsys/405ex/io64.c | 25 ++++-
> board/gdsys/mpc8308/hrcon.c | 27 +++++-
> board/gdsys/mpc8308/strider.c | 27 +++++-
> common/miiphyutil.c | 73 ---------------
> drivers/net/4xx_enet.c | 20 ++--
> drivers/net/armada100_fec.c | 33 ++++---
> drivers/net/at91_emac.c | 28 ++++--
> drivers/net/bcm-sf2-eth-gmac.c | 18 ++--
> drivers/net/bcm-sf2-eth.c | 13 ++-
> drivers/net/bcm-sf2-eth.h | 8 +-
> drivers/net/bfin_mac.c | 43 ++++++---
> drivers/net/davinci_emac.c | 34 +++++--
> drivers/net/eepro100.c | 34 ++++---
> drivers/net/enc28j60.c | 26 ++++--
> drivers/net/ep93xx_eth.c | 40 +++++---
> drivers/net/fsl_mcdmafec.c | 13 ++-
> drivers/net/ftmac110.c | 35 ++++---
> drivers/net/lpc32xx_eth.c | 52 +++++------
> drivers/net/macb.c | 46 +++++++---
> drivers/net/mcffec.c | 13 ++-
> drivers/net/mcfmii.c | 19 ++--
> drivers/net/mpc512x_fec.c | 30 ++++--
> drivers/net/mpc5xxx_fec.c | 30 ++++--
> drivers/net/mvgbe.c | 33 +++++--
> drivers/net/phy/miiphybb.c | 25 ++---
> drivers/net/sh_eth.c | 12 ++-
> drivers/net/smc911x.c | 35 +++++--
> drivers/qe/uec.c | 32 ++++---
> include/miiphy.h | 20 +---
> scripts/coccinelle/net/mdio_register.cocci | 142 +++++++++++++++++++++++++++++
> 38 files changed, 762 insertions(+), 375 deletions(-)
> create mode 100644 scripts/coccinelle/net/mdio_register.cocci
>
> --
> 1.7.11.5
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
More information about the U-Boot
mailing list