Already done that.
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Calvin (Hao)
Guan
Sent: Tuesday, January 16, 2007 2:32 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Connecting MSI using IoConnectInterruptEx. [How to
debug??]
Ajitabh,
Before you can connect msi interrupt, you need to declare msi caps in
your inf file. Here is an example. Also see answers inline.
[BCM5750_LHinst.NTx86.6.0.hw]
AddReg = MsiSupportStd
[MsiSupportStd]
HKR, “Interrupt Management”, 0x00000010
HKR, “Interrupt Management\MessageSignaledInterruptProperties”,
0x00000010
HKR, “Interrupt Management\MessageSignaledInterruptProperties”,
MSISupported, 0x00010001, 1
Calvin Guan
NetXtreme NTX Miniport
Broadcom Corporation @ Irvine Calfiornia
Tel: (949) 926-7556
Connecting Everything(r)
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ajitabh Saxena
Sent: Tuesday, January 16, 2007 1:58 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Connecting MSI using IoConnectInterruptEx. [How to
debug??]
Hi All,
I have a new controller which supports MSI mode of interrupts. I am
trying to use the IoConnectInterruptEx in order to use the interrupt
capabilities. This API just connects the line based interrupt always. I
checked the capabilities pointer in the config space and it says that
the hardware is MSI capable.
Question :
- What else can I verify from the hardware side to make sure that the
combination of my PCIE card and the chipset [which has PCIE slots and
hence should support MSI] is capable of using the MSI. I suppose any
chipset supporting the PCIE should be capable of using MSI.
[CG] Check the MSI caps structure in the config space to make sure:
a) MSI is enabled.
b) Number of messages being advertised and enabled.
c) Message Address is properly initialized.
d) Setup a bus trace to verify the chip correctly DMA to the message
address instead of sending an ASSERT_INTA TLP towards the root complex.
- If 1. is OK what are the common problems that can cause MSI not to
connect.?
[CG] forget to declare in the inf or MSI caps can’t be initialized for
some reason, or the chipset doesn’t support MSI correctly.
Any directions to debug this issue are highly appriciated.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer