From: Stelian Pop <stelian@popies.net>
To: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Cc: akpm@osdl.org
Subject: [PATCH 2.6] netpoll for pcnet_cs
Date: Thu, 18 Mar 2004 12:01:19 +0100 [thread overview]
Message-ID: <20040318110119.GL2781@deep-space-9.dsnet> (raw)
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>
reply other threads:[~2004-03-18 11:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040318110119.GL2781@deep-space-9.dsnet \
--to=stelian@popies.net \
--cc=akpm@osdl.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®