From: Karl Beldan <kbeldan@baylibre.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 0/5] Remove calls from net drivers to legacy miiphy_register() entry-point
Date: Fri, 19 Aug 2016 08:14:56 +0000 [thread overview]
Message-ID: <20160819081456.GA30921@gobelin> (raw)
In-Reply-To: <1470673721-20590-1-git-send-email-joe.hershberger@ni.com>
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
next prev parent reply other threads:[~2016-08-19 8:14 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-04 9:07 [U-Boot] [PATCH 0/6] Remove calls from net drivers to legacy miiphy_register() entry-point Joe Hershberger
2016-04-04 9:07 ` [U-Boot] [PATCH 1/6] common: Always include errno.h in common.h Joe Hershberger
2016-04-11 4:23 ` Bin Meng
2016-07-12 17:28 ` [U-Boot] " Joe Hershberger
2016-04-04 9:07 ` [U-Boot] [PATCH 2/6] scripts: Add a cocci patch for miiphy_register Joe Hershberger
2016-04-04 9:07 ` [U-Boot] [PATCH 3/6] net: mii: Use spatch to update miiphy_register Joe Hershberger
2016-04-11 4:23 ` Bin Meng
2016-04-04 9:07 ` [U-Boot] [PATCH 4/6] net: mii: Changes not made by spatch Joe Hershberger
2016-04-05 6:13 ` Stefan Roese
2016-04-11 4:23 ` Bin Meng
2016-04-04 9:07 ` [U-Boot] [PATCH 5/6] net: mii: Fix changes " Joe Hershberger
2016-04-11 4:23 ` Bin Meng
2016-04-04 9:07 ` [U-Boot] [PATCH 6/6] net: mii: Clean up legacy glue that is not used Joe Hershberger
2016-04-11 4:23 ` Bin Meng
2016-04-09 18:35 ` [U-Boot] [PATCH 0/6] Remove calls from net drivers to legacy miiphy_register() entry-point Simon Glass
2016-08-08 16:28 ` [U-Boot] [PATCH v2 0/5] " Joe Hershberger
2016-08-08 16:28 ` [U-Boot] [PATCH v2 1/5] scripts: Add a cocci patch for miiphy_register Joe Hershberger
2016-08-15 20:33 ` [U-Boot] " Joe Hershberger
2016-08-08 16:28 ` [U-Boot] [PATCH v2 2/5] net: mii: Use spatch to update miiphy_register Joe Hershberger
2016-08-15 20:33 ` [U-Boot] " Joe Hershberger
2016-08-08 16:28 ` [U-Boot] [PATCH v2 3/5] net: mii: Changes not made by spatch Joe Hershberger
2016-08-15 20:33 ` [U-Boot] " Joe Hershberger
2016-08-08 16:28 ` [U-Boot] [PATCH v2 4/5] net: mii: Fix changes " Joe Hershberger
2016-08-15 20:33 ` [U-Boot] " Joe Hershberger
2016-08-08 16:28 ` [U-Boot] [PATCH v2 5/5] net: mii: Clean up legacy glue that is not used Joe Hershberger
2016-08-15 20:33 ` [U-Boot] " Joe Hershberger
2016-08-19 8:14 ` Karl Beldan [this message]
2016-08-19 18:48 ` [U-Boot] [PATCH v2 0/5] Remove calls from net drivers to legacy miiphy_register() entry-point Joe Hershberger
2016-08-20 9:08 ` Karl Beldan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160819081456.GA30921@gobelin \
--to=kbeldan@baylibre.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox