lkml.org 
[lkml]   [2012]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 15/21] cpmac: use an unique MDIO bus name.
    Date
    Signed-off-by: Florian Fainelli <florian@openwrt.org>
    ---
    drivers/net/ethernet/ti/cpmac.c | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/net/ethernet/ti/cpmac.c b/drivers/net/ethernet/ti/cpmac.c
    index aaac0c7..4d9a28f 100644
    --- a/drivers/net/ethernet/ti/cpmac.c
    +++ b/drivers/net/ethernet/ti/cpmac.c
    @@ -1269,7 +1269,7 @@ int __devinit cpmac_init(void)
    }

    cpmac_mii->phy_mask = ~(mask | 0x80000000);
    - snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "1");
    + snprintf(cpmac_mii->id, MII_BUS_ID_SIZE, "cpmac-1");

    res = mdiobus_register(cpmac_mii);
    if (res)
    --
    1.7.5.4


    \
     
     \ /
      Last update: 2012-01-10 11:17    [W:8.955 / U:0.292 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site