From: Abdallah Taha <ataha@nmsu.edu>
Subject: Re: NE2000
Date: Mon, 05 Jan 1998 20:14:37 -0700 [thread overview]
Message-ID: <413aabd40c29ef2c307db6aa721054e4.axp-list@archive.invalid> (raw)
Christoph Franzen wrote:
>
> Abdallah,
>
> AHT>>> i have just read about NE2000 LAN card that
> AHT>>> ISA network cards should NOT be used [...]
> AT> thanks Christoph. i fixed the problem with the help of afew lines
> AT> of code added to 'ne.c' and written by Jason Shiffer.
>
> Perhaps you should post that piece of code just in case anyone
> would run into problems as well. I'm intersted in your patch (just in
> case...).
>
>
I hope this hack will be useful to people who have NE2000 cards.
==========================================================
Here is the hack (by Jason Shiffer):
line 374 of drivers/net/ne.c
if (ei_debug > 2)
printk(" autoirq is %d\n", dev->irq);
} else if (dev->irq == 2)
/* Fixup for users that don't know that IRQ 2 is really IRQ 9,
or don't know which one to set. */
dev->irq = 9;
/*Add these lines line*/
if(! dev->irq) {
dev->irq = 3; /* The known IRQ of the card */
}
/*End of hack*/
if (! dev->irq) {
printk(" failed to detect IRQ line.\n");
return EAGAIN;
}
Granted this is a nasty way of doing things but I did not have the time
to
really fix the problem.
Jason Shiffer
jshiffer@home.com
jhereg@bigfoot.com
==========================================================
enjoy...
abdallah taha
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next reply other threads:[~1998-01-06 3:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-06 3:14 Abdallah Taha [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-12-24 5:45 NE2000 Abdallah Taha
1997-12-22 18:32 NE2000 Abdallah Hussein Taha
1997-12-22 21:51 ` NE2000 Christoph Franzen
1997-12-22 22:55 ` NE2000 Maurice W. Hilarius
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox