Hi all,
Perhaps , is there something I didn't understand,
But I can't handle PCI IRQs !

For the ISA Irqs, no pb ! all my drivers work well (ISA NE2000 for
exemple).
But when I trie to handle PCI Irq, no response !
( And I couldn't try the NE2000 PCI driver I've done, but it must be
idem ... :(

I tried the Irq show at boot by the Bios ... but no response.
I tried the Irq remapped via the IO_APIC (9->17) but no response too.

I'm sure I forget something !

exemple of my handler is ( I can't do more compressed ;)

void handler(void)
{
  // do something ...
  rt_pend_linux_irq(dev->irq) ;
}

int init_module()
{
  // find the PCI card with pci_find_device ...
  rt_request_global_irq(dev->irq,handler) ;
  ...
}

when the irq passed in argument is the ISA irq, I don't care of
IO_APIC remapping of the IRQ and it works.

Hardware:
ASUS-P2B dual-PentiumIII 450MHz
256MB RAM

Testing device : EtherPowerII Ethernet card ( everything is done ...
just the handling of rx ring with irq do not work... same for tx
transmit_ok ).


--
Kumsta Christophe
<[EMAIL PROTECTED]>
Real-Time System developper
RT-Linux/RTAI ( Use the Source Luck !)
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/

Reply via email to