MSI Interrupt

Hi,

I have to enable MSI-X in my miniport driver. So in HW_INITIALIZATION_DATA, i will set .HwInterrupt = NULL and in PORT_CONFIG_INFO, .HwMSInterruptRoutine = msi_func() function.

  1. Is this enough to tell the OS that my driver will support MSI-X interrupt?
  2. Or should i set any thing else in pci config space?
  3. Who will write the message data and message address in the registers related to MSI capability in pci config space?

Thanks,
Amogha

Look up “Enabling Message-Signaled Interrupts in the Registry” in the WDK docs.

Larry C

Thanks a lot Larry. It had all the info.