From: Michael Mueller <malware@t-online.de>
To: netdev@vger.kernel.org
Subject: Re: de4x5
Date: Sat, 14 Jan 2012 18:55:22 +0100 [thread overview]
Message-ID: <4F11C18A.1050802@t-online.de> (raw)
In-Reply-To: <4F11503F.6000106@t-online.de>
[-- Attachment #1: Type: text/plain, Size: 806 bytes --]
Hi Paul,
I wrote [copy to you]:
>> When trying the de4x5 using 2.6.32 - which is what I can boot into
>> without too much problems - it did lock the machine while starting the
>> interface (ifconfig up). Sorry, but I do not feel like digging into this
>> just now.
[..]
> I changed the name from 'DE434/5' to 'DE434_5' since the slash seems to
> be no good idea within a file/directory name. This does yield a lockup
> with no message.
It hangs due to the usage of synchronize_irq within the interrupt
handler. It does not look like it was intended usage for this. Removing
this code it does not lock up anymore. But it is not working either.
Looking through the code it uses the same configuration values for BNC
and AUI which de2104x uses for AUI.
Changes done so far are appended as patch.
Michael
[-- Attachment #2: de4x5.patch --]
[-- Type: text/x-patch, Size: 808 bytes --]
--- drivers/net/tulip/de4x5.c.orig 2011-12-09 17:57:05.000000000 +0100
+++ drivers/net/tulip/de4x5.c 2012-01-14 18:54:46.000000000 +0100
@@ -1551,8 +1551,6 @@
if (test_and_set_bit(MASK_INTERRUPTS, (void*) &lp->interrupt))
printk("%s: Re-entering the interrupt handler.\n", dev->name);
- synchronize_irq(dev->irq);
-
for (limit=0; limit<8; limit++) {
sts = inl(DE4X5_STS); /* Read IRQ status */
outl(sts, DE4X5_STS); /* Reset the board interrupts */
@@ -3909,7 +3907,7 @@
int i, status = 0, siglen = ARRAY_SIZE(de4x5_signatures);
if (lp->chipset == DC21040) {
- strcpy(name, "DE434/5");
+ strcpy(name, "DE434_5");
return status;
} else { /* Search for a DEC name in the SROM */
int tmp = *((char *)&lp->srom + 19) * 3;
prev parent reply other threads:[~2012-01-14 17:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-12 22:52 [PATCH] Making de2104x working with BNC connection on 21040 chipset Michael Mueller
2012-01-13 18:43 ` Paul Gortmaker
2012-01-13 21:30 ` Michael Mueller
2012-01-14 9:51 ` de4x5 (was Re: [PATCH] Making de2104x working with BNC connection on 21040 chipset) Michael Mueller
2012-01-14 17:55 ` Michael Mueller [this message]
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=4F11C18A.1050802@t-online.de \
--to=malware@t-online.de \
--cc=netdev@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.