Hi,
I have few doubts related to MSI(multi message MSI to be precise).
My HBA supports 32 message. In driver inf file, I ask for 32 message to be allocated for my driver.
HKR,“Interrupt Management\MessageSignaledInterruptProperties”, MessageNumberLimit,0x00010001, 32
- How can i know how many message has been allocated?
- How can i know the list of Message ID’s allocated ?
- When MSI_ISR is called, should i check whether the interrupt is from my HBA or not( like in case of pin based interrupt)?
Thanks,
Amogha
Use StorPortGetMSIInfo API (in your HwStorPassiveIntialize routine),
ULONG
StorPortGetMSIInfo (
IN PVOID HwDeviceExtension,
IN ULONG MessageId,
OUT PMESSAGE_INTERRUPT_INFORMATION InterruptInfo
);
If you pass an un-assigned or invalid MessageId - the API will return
‘STOR_STATUS_INVALID_PARAMETER’
*
*Regards,
Gokul T V
On Thu, Apr 28, 2011 at 12:02 PM, wrote:
> Any help on this please
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer
>