[U-Boot] [PATCH 0/6] Remove calls from net drivers to legacy miiphy_register() entry-point

Simon Glass sjg at chromium.org
Sat Apr 9 20:35:16 CEST 2016


Hi Joe,

On 4 April 2016 at 03:07, Joe Hershberger <joe.hershberger at ni.com> 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 can be removed, the easier it will be to move
> forward.

Sounds good!

>
>
> Joe Hershberger (6):
>   common: Always include errno.h in common.h
>   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         |  27 ++++--
>  arch/powerpc/cpu/mpc8260/ether_fcc.c       |  13 ++-
>  arch/powerpc/cpu/mpc85xx/ether_fcc.c       |  13 ++-
>  arch/powerpc/cpu/mpc8xx/fec.c              |  44 ++++++---
>  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                |  35 ++++---
>  drivers/net/at91_emac.c                    |  30 ++++--
>  drivers/net/bcm-sf2-eth-gmac.c             |  18 ++--
>  drivers/net/bcm-sf2-eth.c                  |  12 ++-
>  drivers/net/bcm-sf2-eth.h                  |   8 +-
>  drivers/net/bfin_mac.c                     |  45 ++++++---
>  drivers/net/davinci_emac.c                 |  34 +++++--
>  drivers/net/eepro100.c                     |  36 +++++---
>  drivers/net/enc28j60.c                     |  28 ++++--
>  drivers/net/ep93xx_eth.c                   |  44 ++++++---
>  drivers/net/fsl_mcdmafec.c                 |  13 ++-
>  drivers/net/ftmac110.c                     |  37 +++++---
>  drivers/net/lpc32xx_eth.c                  |  54 +++++------
>  drivers/net/macb.c                         |  32 +++++--
>  drivers/net/mcffec.c                       |  13 ++-
>  drivers/net/mcfmii.c                       |  19 ++--
>  drivers/net/mpc512x_fec.c                  |  34 +++++--
>  drivers/net/mpc5xxx_fec.c                  |  34 +++++--
>  drivers/net/mvgbe.c                        |  35 +++++--
>  drivers/net/phy/miiphybb.c                 |  25 ++---
>  drivers/net/sh_eth.c                       |  12 ++-
>  drivers/net/smc911x.c                      |  35 +++++--
>  drivers/qe/uec.c                           |  34 ++++---
>  include/common.h                           |   1 +
>  include/miiphy.h                           |  20 +---
>  scripts/coccinelle/net/mdio_register.cocci | 142 +++++++++++++++++++++++++++++
>  39 files changed, 787 insertions(+), 372 deletions(-)
>  create mode 100644 scripts/coccinelle/net/mdio_register.cocci
>
> --
> 1.7.11.5
>

Regards,
Simon


More information about the U-Boot mailing list