aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2012-01-09 18:59:18 -0500
committerDavid S. Miller <davem@davemloft.net>2012-01-10 19:35:01 -0500
commit859ad35e711d95f2794ab2196aac7c45fe5f7cfe (patch)
tree6876c16bdc7b1b4e3aa2e48493d694ae60aa4658
parent5278fb547076ad6768d16c8b4df45c086470c163 (diff)
s6gmac: use an unique MDIO bus name.
Signed-off-by: Florian Fainelli <florian@openwrt.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/ethernet/s6gmac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/s6gmac.c b/drivers/net/ethernet/s6gmac.c
index a7ff8ea342b4..22e9c0181ce8 100644
--- a/drivers/net/ethernet/s6gmac.c
+++ b/drivers/net/ethernet/s6gmac.c
@@ -1004,7 +1004,7 @@ static int __devinit s6gmac_probe(struct platform_device *pdev)
1004 mb->write = s6mii_write; 1004 mb->write = s6mii_write;
1005 mb->reset = s6mii_reset; 1005 mb->reset = s6mii_reset;
1006 mb->priv = pd; 1006 mb->priv = pd;
1007 snprintf(mb->id, MII_BUS_ID_SIZE, "0"); 1007 snprintf(mb->id, MII_BUS_ID_SIZE, "%s-%x", pdev->name, pdev->id);
1008 mb->phy_mask = ~(1 << 0); 1008 mb->phy_mask = ~(1 << 0);
1009 mb->irq = &pd->mii.irq[0]; 1009 mb->irq = &pd->mii.irq[0];
1010 for (i = 0; i < PHY_MAX_ADDR; i++) { 1010 for (i = 0; i < PHY_MAX_ADDR; i++) {