The board I’m driving supports software reset (and firmware reload) but
that messes with PCI configuration registers. Under NT I use HalGetBusData
and HalSetBusData to save and restore important configuration registers
through reset.
Under Win2K, the resources are managed by PnP and so the driver never
gets access to bus/slot information, so I can’t use HalGetBusData, and
besides the documentation claims that it is obsolete.
So now I’m faced with using IRP_MN_READ_CONFIG and IRP_MN_WRITE_CONFIG
to manipulate my configuration registers during the reload operation.
Do I really need to go though this mess? Isn’t there an easier way? And
if not, is there an example somewhere that reads PCI configuration
space for a device?
Steve Williams “The woods are lovely, dark and deep.
xxxxx@icarus.com But I have promises to keep,
xxxxx@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep.”