Skip to contentSkip to conversation

netpoll for pcnet_cs

PATCH New Stelian Pop 1 participant 1 message Mar 18, 2004 Network drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netpoll for pcnet_cs

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 =====

drivers/net/pcmcia/pcnet_cs.c +4 -0
@@ -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;
Signature · 1 line
Stelian Pop <[email protected]>