Accessing RootPort PCI Interface

Hi, some endpoints in the downstream are likely to reduce the MaxPayload after a backplane restart. In some cases, the inbox drivers misbehave. Is there an interface available for writing configuration bytes in the RP? HalSetBusDataByOffset() is deprecated. Thank you.

Well… strictly speaking, no. You don’t own the RootPort, the PCI bus driver does, and you’re not allowed to “help” the PCI bus driver do its job.

Now, having SAID that… if you can filter the root port, you should be able to write to the various PCI capabilities using IRP_MN_WRITE_CONFIG (and, strangely enough, there are available definitions in Windows).

I’m not sure if that helps you at all…

Peter

Thanks, I am aware of the filter driver.