From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <413aabd40c29ef2c307db6aa721054e4.axp-list@archive.invalid> X-Archive-Original-Message-ID: <3.0.1.32.19980105230135.00cc95f0@cybercom.net> Date: Mon, 05 Jan 1998 20:14:37 -0700 From: Abdallah Taha Subject: Re: NE2000 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