netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH][KS8695] Mark network interface as running on ifconfig up
@ 2010-02-11 11:12 Yegor Yefremov
  2010-02-17  0:06 ` David Miller
  0 siblings, 1 reply; 4+ messages in thread
From: Yegor Yefremov @ 2010-02-11 11:12 UTC (permalink / raw)
  To: linux-arm-kernel; +Cc: netdev, Andrew Victor

[KS8695] Mark network interface as running on ifconfig up

Without netif_carrier_on() network interface will not transmit any packets
after ifconfig down and subsequent ifconfig up.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>

Index: linux-2.6.33-rc7/drivers/net/arm/ks8695net.c
===================================================================
--- linux-2.6.33-rc7.orig/drivers/net/arm/ks8695net.c
+++ linux-2.6.33-rc7/drivers/net/arm/ks8695net.c
@@ -1371,6 +1371,7 @@ ks8695_open(struct net_device *ndev)
 
 	napi_enable(&ksp->napi);
 	netif_start_queue(ndev);
+	netif_carrier_on(ndev);
 
 	return 0;
 }

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-26  9:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-11 11:12 [PATCH][KS8695] Mark network interface as running on ifconfig up Yegor Yefremov
2010-02-17  0:06 ` David Miller
2010-02-22 15:47   ` Yegor Yefremov
2010-02-26  9:20     ` David Miller

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).