1) no
2) if you write such a driver you will remove all functionality of the
original dirver (like the ohci 1394 driver). you could write a lower filter
driver in KMDF that uses bus_starndard_interface to look at config space.
as long as you do this only in preparehw() and not at runtime once the pci
funciton driver is running, you should be OK
with that said, I would strongly discourage you from doing this. the amount
of information you can get from this driver is limited, but the amount of
risk you are incurring (esp if you are going to install it on all of your
customer's machines) is very high
d
--
This posting is provided "AS IS" with no warranties, and confers no rights.
"Raj" <> wrote in message
news:82AEC0C1-93A3-430A-A183-...
> I need read-only access to PCI config space to detect hardware problems. I
> developed 1394 device driver and use Windows bus driver. So I dont have
> access to PCI config space where OHCI registers were mapped. I need to
> read
> or display OHCI registers like Version to know which product to use or for
> other debugging purpose.
>
> 1) Is there a kernel driver like WinUSB / tool that allows user
> application
> to read PCI config space or any application that will display PCI config
> space of a PC ?
>
> 2) Is it fairly easy to write a PCI kernel device driver that accomplishes
> this. I know a device driver in Windows but never worked with PCI bus
> driver.
>
> Thanks,
> Raj
>
>
>
|