Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Abdallah Taha <ataha@nmsu.edu>
Subject: Re: help with NE2000
Date: Tue, 23 Dec 1997 13:49:50 -0700	[thread overview]
Message-ID: <acc5abdda2c60256f9d56d4546d25754.axp-list@archive.invalid> (raw)

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

             reply	other threads:[~1997-12-23 20:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-12-23 20:49 Abdallah Taha [this message]
  -- strict thread matches above, loose matches on Subject: below --
1997-12-22 16:43 help with NE2000 Abdallah Hussein Taha
1997-12-22 18:03 ` geerten kuiper
1997-12-22 18:57 ` Jason Shiffer
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