PCI bus programming...

Is there a way to tell the bus what I want it to use as far as an IRQ? I
have a couple of cards that share IRQ’s, so I would like to specify it to
the card. Is this possible with some sort of PCI call from within a c
routine?

Thanks in advance,

~ Jeff

Not really. The best you can do is query the device and ask what IRQ
it is using. However, sharing IRQs on the PCI bus is perfectly fine. On
my laptop, for example, all the PCI devices are on IRQ9.

chris


Jeff Jordan <jordanj@wans.net> wrote:

Is there a way to tell the bus what I want it to use as far as an IRQ? I
have a couple of cards that share IRQ’s, so I would like to specify it to
the card. Is this possible with some sort of PCI call from within a c
routine?

Thanks in advance,

~ Jeff


Chris McKillop <cdm@qnx.com> “The faster I go, the behinder I get.”
Software Engineer, QSSL – Lewis Carroll –
http://qnx.wox.org/

Pci irqs are assigned automatically at boot time, you can’t change them
later. But if you plug your card in another pci slots, you can make
your bios to assign irqs another way. Try it in different combinations.
Good luck.

Is there a way to tell the bus what I want it to use as far as an IRQ? I
have a couple of cards that share IRQ’s, so I would like to specify it to
the card. Is this possible with some sort of PCI call from within a c
routine?

Thanks in advance,

~ Jeff