linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <florian@openwrt.org>
To: netdev@vger.kernel.org
Cc: Florian Fainelli <florian@openwrt.org>,
	"David S. Miller" <davem@davemloft.net>,
	Jeff Kirsher <jeffrey.t.kirsher@intel.com>,
	Wan ZongShun <mcuos.com@gmail.com>, Axel Lin <axel.lin@gmail.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH 10/21] pxa168-eth: use an unique MDIO bus name.
Date: Tue, 10 Jan 2012 10:59:16 +0100	[thread overview]
Message-ID: <1326189567-21663-11-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/marvell/pxa168_eth.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/marvell/pxa168_eth.c b/drivers/net/ethernet/marvell/pxa168_eth.c
index 5ec409e..953ba58 100644
--- a/drivers/net/ethernet/marvell/pxa168_eth.c
+++ b/drivers/net/ethernet/marvell/pxa168_eth.c
@@ -1552,7 +1552,8 @@ static int pxa168_eth_probe(struct platform_device *pdev)
 	pep->smi_bus->name = "pxa168_eth smi";
 	pep->smi_bus->read = pxa168_smi_read;
 	pep->smi_bus->write = pxa168_smi_write;
-	snprintf(pep->smi_bus->id, MII_BUS_ID_SIZE, "%d", pdev->id);
+	snprintf(pep->smi_bus->id, MII_BUS_ID_SIZE, "%s-%d",
+		pdev->name, pdev->id);
 	pep->smi_bus->parent = &pdev->dev;
 	pep->smi_bus->phy_mask = 0xffffffff;
 	err = mdiobus_register(pep->smi_bus);
-- 
1.7.5.4


  parent reply	other threads:[~2012-01-10 10:12 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 ` [PATCH 07/21] fec: " Florian Fainelli
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 ` Florian Fainelli [this message]
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-11-git-send-email-florian@openwrt.org \
    --to=florian@openwrt.org \
    --cc=axel.lin@gmail.com \
    --cc=davem@davemloft.net \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mcuos.com@gmail.com \
    --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).