netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, Florian Fainelli <f.fainelli@gmail.com>
Subject: [PATCH net-next 00/14] net: remove empty MDIO bus reset functions
Date: Wed, 26 Mar 2014 18:07:12 -0700	[thread overview]
Message-ID: <1395882446-552-1-git-send-email-f.fainelli@gmail.com> (raw)

Hi David,

This patchset removes all empty MDIO bus reset functions that we have in the
tree (hopefully all of them). This function is optional for the MDIO bus code in
drivers/net/phy/mdio_bus.c::mdiobus_register, the documentation is updated to
reflect that.

Having less call sites to update will allow us to implement a generic BMCR_RESET
based PHY reset for MDIO buses that require to reset their PHYs before their
PHY detection succeeds (e.g: HiSilicon hip04 current submission) and provide it
as a helper.

Thanks!

Florian Fainelli (14):
  net: greth: remove empty MDIO bus reset function
  tg3: remove empty MDIO bus reset function
  macb: remove empty MDIO bus reset function
  dnet: remove empty MDIO bus reset function
  net: ethoc: remove empty MDIO bus function
  fec: remove empty MDIO bus function
  fs_enet: remove empty MDIO bus function
  net: mvmdio: remove empty MDIO bus reset function
  net: emaclite: remove empty MDIO bus reset function
  net: sun4i: remove empty MDIO bus reset function
  net: ftgmac100: remove empty MDIO bus reset function
  r6040: remove empty MDIO bus reset function
  bfin_mac: remove empty MDIO bus reset function
  Documentation: networking: phy.txt: MDIO bus reset is optional

 Documentation/networking/phy.txt                 |  2 +-
 drivers/net/ethernet/adi/bfin_mac.c              |  6 ------
 drivers/net/ethernet/aeroflex/greth.c            |  6 ------
 drivers/net/ethernet/broadcom/tg3.c              |  6 ------
 drivers/net/ethernet/cadence/macb.c              |  6 ------
 drivers/net/ethernet/dnet.c                      |  6 ------
 drivers/net/ethernet/ethoc.c                     |  6 ------
 drivers/net/ethernet/faraday/ftgmac100.c         |  6 ------
 drivers/net/ethernet/freescale/fec_main.c        |  6 ------
 drivers/net/ethernet/freescale/fs_enet/mii-fec.c |  7 -------
 drivers/net/ethernet/marvell/mvmdio.c            |  6 ------
 drivers/net/ethernet/rdc/r6040.c                 |  6 ------
 drivers/net/ethernet/xilinx/xilinx_emaclite.c    | 13 -------------
 drivers/net/phy/mdio-sun4i.c                     |  6 ------
 14 files changed, 1 insertion(+), 87 deletions(-)

-- 
1.8.3.2

             reply	other threads:[~2014-03-27  1:07 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-27  1:07 Florian Fainelli [this message]
2014-03-27  1:07 ` [PATCH net-next 01/14] net: greth: remove empty MDIO bus reset function Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 02/14] tg3: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 03/14] macb: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 04/14] dnet: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 05/14] net: ethoc: remove empty MDIO bus function Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 06/14] fec: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 07/14] fs_enet: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 08/14] net: mvmdio: remove empty MDIO bus reset function Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 09/14] net: emaclite: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 10/14] net: sun4i: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 11/14] net: ftgmac100: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 12/14] r6040: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 13/14] bfin_mac: " Florian Fainelli
2014-03-27  1:07 ` [PATCH net-next 14/14] Documentation: networking: phy.txt: MDIO bus reset is optional Florian Fainelli
2014-03-27  4:19 ` [PATCH net-next 00/14] net: remove empty MDIO bus reset functions David Miller
2014-03-27 17:17   ` Florian Fainelli
2014-03-27 18:40     ` David Miller

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=1395882446-552-1-git-send-email-f.fainelli@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=davem@davemloft.net \
    --cc=netdev@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).