From: Florian Fainelli <florian@openwrt.org>
To: netdev@vger.kernel.org
Cc: "Florian Fainelli" <florian@openwrt.org>,
"David S. Miller" <davem@davemloft.net>,
"Shawn Guo" <shawn.guo@linaro.org>,
"Lothar Waßmann" <LW@KARO-electronics.de>,
"Xiao Jiang" <jgq516@gmail.com>,
"Stephen Hemminger" <shemminger@vyatta.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH 07/21] fec: use an unique MDIO bus name.
Date: Tue, 10 Jan 2012 10:59:13 +0100 [thread overview]
Message-ID: <1326189567-21663-8-git-send-email-florian@openwrt.org> (raw)
In-Reply-To: <1326189567-21663-1-git-send-email-florian@openwrt.org>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
---
drivers/net/ethernet/freescale/fec.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/drivers/net/ethernet/freescale/fec.c b/drivers/net/ethernet/freescale/fec.c
index 20c2e3f..c6aa641 100644
--- a/drivers/net/ethernet/freescale/fec.c
+++ b/drivers/net/ethernet/freescale/fec.c
@@ -1077,7 +1077,8 @@ static int fec_enet_mii_init(struct platform_device *pdev)
fep->mii_bus->read = fec_enet_mdio_read;
fep->mii_bus->write = fec_enet_mdio_write;
fep->mii_bus->reset = fec_enet_mdio_reset;
- snprintf(fep->mii_bus->id, MII_BUS_ID_SIZE, "%x", fep->dev_id + 1);
+ snprintf(fep->mii_bus->id, MII_BUS_ID_SIZE, "%s-%x",
+ pdev->name, fep->dev_id + 1);
fep->mii_bus->priv = fep;
fep->mii_bus->parent = &pdev->dev;
--
1.7.5.4
next prev parent reply other threads:[~2012-01-10 10:11 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1326189567-21663-1-git-send-email-florian@openwrt.org>
2012-01-10 9:59 ` [PATCH 01/21] ax88796: use an unique MDIO bus name Florian Fainelli
2012-01-10 9:59 ` [PATCH 02/21] bfin_mac: " Florian Fainelli
2012-01-11 14:47 ` Bob Liu
2012-01-10 9:59 ` [PATCH 03/21] au1000-eth: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 04/21] sb1250: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 05/21] macb: " Florian Fainelli
2012-01-10 10:01 ` Nicolas Ferre
2012-01-10 9:59 ` [PATCH 06/21] dnet: " Florian Fainelli
2012-01-10 9:59 ` Florian Fainelli [this message]
2012-01-10 9:59 ` [PATCH 08/21] lantiq_etop: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 09/21] mv643xx-eth: " Florian Fainelli
2012-01-10 10:02 ` Lennert Buytenhek
2012-01-10 9:59 ` [PATCH 10/21] pxa168-eth: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 11/21] sh-eth: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 12/21] s6gmac: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 13/21] smsc911x: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 14/21] stmmac: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 15/21] cpmac: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 16/21] davinci_emac: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 17/21] ixp4xx-eth: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 18/21] bcm63xx_enet: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 19/21] phy/fixed: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 20/21] mdio-gpio: " Florian Fainelli
2012-01-10 9:59 ` [PATCH 21/21] mdio-octeon: " 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=1326189567-21663-8-git-send-email-florian@openwrt.org \
--to=florian@openwrt.org \
--cc=LW@KARO-electronics.de \
--cc=davem@davemloft.net \
--cc=jgq516@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=shawn.guo@linaro.org \
--cc=shemminger@vyatta.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).