lkml.org 
[lkml]   [2012]   [Jul]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Date
    Subject[PATCH 3/3] tilegx net: use eth_hw_addr_random(), not random_ether_addr()
    Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
    ---
    drivers/net/ethernet/tile/tilegx.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/net/ethernet/tile/tilegx.c b/drivers/net/ethernet/tile/tilegx.c
    index f78effc..4e2a162 100644
    --- a/drivers/net/ethernet/tile/tilegx.c
    +++ b/drivers/net/ethernet/tile/tilegx.c
    @@ -1851,7 +1851,7 @@ static void tile_net_dev_init(const char *name, const uint8_t *mac)
    memcpy(dev->dev_addr, mac, 6);
    dev->addr_len = 6;
    } else {
    - random_ether_addr(dev->dev_addr);
    + eth_hw_addr_random(dev);
    }

    /* Register the network device. */
    --
    1.7.10.3


    \
     
     \ /
      Last update: 2012-07-18 19:41    [W:0.022 / U:0.152 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site