netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: netdev@vger.kernel.org
Cc: Florian Fainelli <florian@openwrt.org>,
	Giuseppe Cavallaro <peppe.cavallaro@st.com>
Subject: [PATCH] stmmac: Use correct MDIO bus name so that phy_connect() works again
Date: Thu, 26 Jan 2012 15:46:50 +0100	[thread overview]
Message-ID: <1327589210-4424-1-git-send-email-sr@denx.de> (raw)

Patch db8857bf [stmmac: use an unique MDIO bus name.] changed the
MDIO bus name. After this phy_connect() fails. This patch changes
the bus name in stmmac_mdio.c so that the name matching works
again.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Florian Fainelli <florian@openwrt.org>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
---
 drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
index da4a104..7319532 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c
@@ -154,7 +154,7 @@ int stmmac_mdio_register(struct net_device *ndev)
 	else
 		irqlist = priv->mii_irq;
 
-	new_bus->name = "STMMAC MII Bus";
+	new_bus->name = "stmmac";
 	new_bus->read = &stmmac_mdio_read;
 	new_bus->write = &stmmac_mdio_write;
 	new_bus->reset = &stmmac_mdio_reset;
-- 
1.7.8.4

             reply	other threads:[~2012-01-26 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 14:46 Stefan Roese [this message]
2012-01-26 17:22 ` [PATCH] stmmac: Use correct MDIO bus name so that phy_connect() works again Florian Fainelli

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=1327589210-4424-1-git-send-email-sr@denx.de \
    --to=sr@denx.de \
    --cc=florian@openwrt.org \
    --cc=netdev@vger.kernel.org \
    --cc=peppe.cavallaro@st.com \
    /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).