From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: X-Archive-Original-Message-ID: <3.0.3.32.19971223111818.00840cd0@ellpspace.math.ualberta.ca> Date: Tue, 23 Dec 1997 13:49:50 -0700 From: Abdallah Taha Subject: Re: help with NE2000 Jason Shiffer wrote: > > On Mon, 22 Dec 1997, Abdallah Hussein Taha wrote: > :hello there... > :i have installed an NE2000 ether16 LAN card into an Alpha 21164. > :i compiled my RHL 4.2 with support to this card and rebooted > :the machine. > :it detects the card at I/O 300, but then says that > :'...failed to detect IRQ line'. > > I had the same problem and upgrading the kernel to anything under 2.1.65 > did not fix it. I however did come up with a "HACK" (and I do mean hack) > that worked for me. > > Before I post this I did try all of the ether=, etc options to try to make > it work. > > Here is the hack: > 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 > ************************************************************* This is the best 'soft' gift i ever had. what a nice hack!!! it worked just fine. now you don't need to write any code before you sleep!!!! thanks and have a merry christmas and happy '98. 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