[PATCH 2.6] netpoll for pcnet_cs

From: Stelian Pop
Date: Thu Mar 18 2004 - 06:05:14 EST


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@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/