hi all,
I was trying to use HalGetBusData to read the Configuration space but
it’s obselete. My requirement is to read the configuration space of a
device. What’s the best way to do it??
If the bus driver is the only way to do it then are there any sample
Code available to send calls to bus drivers.
Any information is highly appriciated.
Thanks
ajitabh
You send the bus driver an IRP_MN_READ/WRITE_CONFIG. Check the Knowledge
base for the mentioned IRP(s). There is an article there on how to
read/write the PCI config space.
–
Gary G. Little
Seagate Technologies, LLC
xxxxx@seagate.com
“Saxena, Ajitabh Prakash” wrote in message
news:xxxxx@ntdev…
>
> hi all,
> I was trying to use HalGetBusData to read the Configuration space
but
> it’s obselete. My requirement is to read the configuration space of a
> device. What’s the best way to do it??
> If the bus driver is the only way to do it then are there any
sample
> Code available to send calls to bus drivers.
>
> Any information is highly appriciated.
> Thanks
> ajitabh
>
>
>
>
>