Re: PCI IRQ question

Martin Mares (mj@ucw.cz)
Sun, 22 Nov 1998 10:36:35 +0100


Hi,

> Is the following DOS code the equivalent of a simple Linux
> request_irq(irq, isr_handler, SA_INTERRUPT, "driver", NULL) ?
> My guess is yes, but I just want ot make sure.

Yes.

> I traced request_irq down to set_intr_gate.... and I did not find it
> (yet).

arch/i386/kernel/traps.c

> I ask this because I'm writing a driver in Linux for a serial
> comm. PCI card and I have a piece of DOS code that seems to be working
> correctly. At the moment I still have problems under Linux with the
> code specific to the PCI card.

Can you describe what exactly doesn't work? I'll be glad to help you.

Have a nice fortnight

-- 
Martin `MJ' Mares   <mj@ucw.cz>   http://atrey.karlin.mff.cuni.cz/~mj/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
"And don't forget to feed your computer virus..."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/