From: Stephen Hemminger <shemminger@osdl.org>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: tulip-users@lists.sourceforge.net, netdev@oss.sgi.com
Subject: [PATCH] Make xircom cardbus handle shared irq
Date: Thu, 22 Jan 2004 16:49:20 -0800 [thread overview]
Message-ID: <20040122164920.5c32a649.shemminger@osdl.org> (raw)
Current driver doesn't do shared irq properly. When testing on
a laptop here irq 3 get shared between pcmcia slot and tty/IRDA
diff -Nru a/drivers/net/tulip/xircom_cb.c b/drivers/net/tulip/xircom_cb.c
--- a/drivers/net/tulip/xircom_cb.c Thu Jan 22 16:46:34 2004
+++ b/drivers/net/tulip/xircom_cb.c Thu Jan 22 16:46:34 2004
@@ -342,6 +342,11 @@
printk("tx status 0x%08x 0x%08x \n",card->tx_buffer[0],card->tx_buffer[4]);
printk("rx status 0x%08x 0x%08x \n",card->rx_buffer[0],card->rx_buffer[4]);
#endif
+ /* Handle shared irq and hotplug */
+ if (status == 0 || status == 0xffffffff) {
+ spin_unlock(&card->lock);
+ return IRQ_NONE;
+ }
if (link_status_changed(card)) {
int newlink;
next reply other threads:[~2004-01-23 0:49 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-23 0:49 Stephen Hemminger [this message]
2004-01-24 21:07 ` [PATCH] Make xircom cardbus handle shared irq Jeff Garzik
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=20040122164920.5c32a649.shemminger@osdl.org \
--to=shemminger@osdl.org \
--cc=jgarzik@pobox.com \
--cc=netdev@oss.sgi.com \
--cc=tulip-users@lists.sourceforge.net \
/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;
as well as URLs for NNTP newsgroup(s).