Skip to contentSkip to conversation

sharing interrupt between PCI device

DISCUSSION Nobin Mathew 2 participants 2 messages Nov 3, 2008

lore
Share & tools
lore
#0 lore raw

Hi,

I think this question is already asked in this mailing list and Sorry for asking this again.

My problem is this:

I have two PCI devices ( also two kernel drivers for those) which shares the interupt. When I remove one driver other device stops working, which is happening due to pci_disable_device () in removed driver. This call is disabling the shared interrupt.

We can avoid this by just removing the pci_disable_device () in the driver, but i dont think this is a good way (correct me if I am wrong).

Can you suggest some ways to overcome this issue.

Thanks
Nobin Mathew.

#1 lore raw
Quoted 12 lines · Nobin Mathew

Hi,

I think this question is already asked in this mailing list and Sorry for asking this again.

My problem is this:

I have two PCI devices ( also two kernel drivers for those) which shares the interupt. When I remove one driver other device stops working, which is happening due to pci_disable_device () in removed driver. This call is disabling the shared interrupt.

Quoted 5 lines

We can avoid this by just removing the pci_disable_device () in the driver, but i dont think this is a good way (correct me if I am wrong).

Can you suggest some ways to overcome this issue.

-ENOCODE

Without seeing the code, we can't help you much.