[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20140529.152809.871745461296745132.davem@davemloft.net>
Date: Thu, 29 May 2014 15:28:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: kumaran.4353@...il.com
Cc: steve.glendinning@...well.net, netdev@...r.kernel.org
Subject: Re: [PATCH 1/1] driver: net: smsc911x: set NOCARRIER flag in
driver initialization
From: Balakumaran Kannan <kumaran.4353@...il.com>
Date: Sun, 25 May 2014 00:24:46 +0530
> @@ -2525,6 +2525,8 @@ static int smsc911x_drv_probe(struct platform_device *pdev)
>
> netdev_info(dev, "MAC Address: %pM\n", dev->dev_addr);
>
> + netif_carrier_off(dev);
> +
> return 0;
>
You should do this before the network device is registered.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists