linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6] netpoll for pcnet_cs
@ 2004-03-18 11:01 Stelian Pop
  0 siblings, 0 replies; only message in thread
From: Stelian Pop @ 2004-03-18 11:01 UTC (permalink / raw)
  To: Linux Kernel Mailing List; +Cc: akpm

Hi,

This patch adds netpoll support to pcnet_cs. Tested with
the netconsole facility.

Please apply.

Stelian.

===== drivers/net/pcmcia/pcnet_cs.c 1.31 vs edited =====
--- 1.31/drivers/net/pcmcia/pcnet_cs.c	Tue Feb 10 01:54:48 2004
+++ edited/drivers/net/pcmcia/pcnet_cs.c	Wed Mar 17 12:21:28 2004
@@ -722,6 +722,10 @@
     link->dev = &info->node;
     link->state &= ~DEV_CONFIG_PENDING;
 
+#ifdef CONFIG_NET_POLL_CONTROLLER
+    dev->poll_controller = ei_poll;
+#endif
+
     if (register_netdev(dev) != 0) {
 	printk(KERN_NOTICE "pcnet_cs: register_netdev() failed\n");
 	link->dev = NULL;
-- 
Stelian Pop <stelian@popies.net>

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-03-18 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-18 11:01 [PATCH 2.6] netpoll for pcnet_cs Stelian Pop

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