[U-Boot] [PATCH] miiphy: convert to linux/mii.h

Wolfgang Denk wd at denx.de
Sun Jan 9 18:07:05 CET 2011


Dear Mike Frysinger,

In message <1293136812-8577-1-git-send-email-vapier at gentoo.org> you wrote:
> The include/miiphy.h header duplicates a lot of things from linux/mii.h.
> So punt all the things that overlap to keep the API simple and to make
> merging between U-Boot and Linux simpler.
> 
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> note: i tried to build test this, but it's currently pretty hard
> 	considering many boards are broken already.  when i wrote it
> 	against v2010.09, things seemed to be ok then.  some tree greps
> 	don't find anything for me to update either.
> 
>  arch/arm/cpu/arm920t/at91rm9200/lxt972.c |   14 ++--
>  arch/arm/cpu/arm926ejs/davinci/lxt972.c  |   14 ++--
>  arch/arm/cpu/ixp/npe/miiphy.c            |   16 +++---
>  arch/arm/cpu/ixp/npe/npe.c               |    8 +-
>  arch/powerpc/cpu/mpc8xx/fec.c            |    4 +-
>  arch/powerpc/cpu/ppc4xx/miiphy.c         |   72 ++++++++++++------------
>  board/Marvell/rd6281a/rd6281a.c          |    4 +-
>  board/actux1/actux1.c                    |    4 +-
>  board/csb272/csb272.c                    |    6 +-
>  board/csb472/csb472.c                    |    6 +-
>  board/evb64260/eth.c                     |   16 +++---
>  board/freescale/mpc8260ads/mpc8260ads.c  |   12 ++--
>  board/freescale/mpc8560ads/mpc8560ads.c  |    6 +-
>  board/manroland/uc100/uc100.c            |    4 +-
>  board/netphone/netphone.c                |    8 +-
>  board/netta/netta.c                      |    8 +-
>  board/netta2/netta2.c                    |    8 +-
>  board/prodrive/p3mx/mv_eth.c             |   30 +++++-----
>  board/sbc8560/sbc8560.c                  |    6 +-
>  board/stx/stxgp3/stxgp3.c                |    6 +-
>  board/stx/stxssa/stxssa.c                |    6 +-
>  board/stx/stxxtc/stxxtc.c                |    6 +-
>  board/tqc/tqm8xx/tqm8xx.c                |    6 +-
>  common/cmd_mii.c                         |   29 +++++-----
>  common/miiphyutil.c                      |   50 ++++++++--------
>  drivers/net/4xx_enet.c                   |   10 ++--
>  drivers/net/altera_tse.c                 |   14 ++--
>  drivers/net/altera_tse.h                 |    2 -
>  drivers/net/davinci_emac.c               |   16 +++---
>  drivers/net/designware.c                 |   54 +++++++++---------
>  drivers/net/eepro100.c                   |    2 +-
>  drivers/net/fec_mxc.c                    |   20 +++---
>  drivers/net/fsl_mcdmafec.c               |    2 +-
>  drivers/net/inca-ip_sw.c                 |    6 +-
>  drivers/net/mcffec.c                     |    2 +-
>  drivers/net/mcfmii.c                     |   14 ++--
>  drivers/net/ns7520_eth.c                 |   36 ++++++------
>  drivers/net/ns9750_eth.c                 |   51 ++++++++---------
>  drivers/net/phy/mv88e61xx.c              |    2 +-
>  drivers/net/smc911x.c                    |   12 ++--
>  drivers/net/tsec.c                       |   50 ++++++++--------
>  drivers/qe/uec_phy.c                     |   68 +++++++++++-----------
>  drivers/qe/uec_phy.h                     |   18 ------
>  include/miiphy.h                         |   89 +++---------------------------
>  include/tsec.h                           |    2 -
>  45 files changed, 361 insertions(+), 458 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The heart is not a logical organ.
	-- Dr. Janet Wallace, "The Deadly Years", stardate 3479.4


More information about the U-Boot mailing list