Sharing interruot between two drivers for the same interface

E

Eshanye_kp

Hi,

Can the interrupt be shared between

-two drivers on PCI interface, one of the driver being Ndis miniport for
that particular interface ?
-two drivers on PCMCIA interface, one of the driver being Ndis miniport
for that particular interface ?
- two driver on USM interface, one of the driver being Ndis miniport for
that particular interface ?

If so, is status = IoConnectInterrupt(
&DeviceExtension->InterruptObject,
BcmIrqServiceRoutine,
(PVOID) DeviceExtension,
NULL,
Vector,
Irql,
Irql,
Mode,
Shared,
Affinity,
FALSE
);

is the function used in all the non-ndis driver with shared attib and in
Ndis the called used is

Status = NdisMRegisterInterrupt(&Adapter->Interrupt,
AdapterHandle,
AiVector, // bus-relative vector number used by the NIC.
AiInterrupt, // bus-relative DIRQL for the interrupt
TRUE, // MiniportISR function should be called each time the
NIC interrupts
TRUE, // Other devices on the I/O bus can use this interrupt line
InterruptMode); // using LevelSensitive Inerrupts


.... even in non-ndis and ndis on USB interface also call the same
function to share the interrupts ?



Regards
Esha
 
M

Maxim S. Shatskih

PCI interrupts are sharable between any devices, if the driver is properly
written.
 
S

Stephan Wolf [MVP]

Eshanye_kp wrote:
[..]
... even in non-ndis and ndis on USB interface also call the same
function to share the interrupts ?

Yes, they are eventually all handled by the same (software) interrupt
sharing mechanism.

PCI has sharable interrupts by definition.

Stephan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top