PCI config space access in Miniport

Hi - This is probably a dumb question that’s been asked many times, but
as a Linux guy in the Windows world, I need to access r/w registers in
my chips PCI config space. It looks like I need the device object
(PDO?) to be able to use the right functions to get there. It’s not
obvious how I can get this in a minport driver. Help! Thanks!!

The first question is what type of miniport driver? NDIS? Storage? Video?

-p

From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Mark Moran
Sent: Wednesday, March 05, 2008 7:00 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] PCI config space access in Miniport

Hi - This is probably a dumb question that’s been asked many times, but as a Linux guy in the Windows world, I need to access r/w registers in my chips PCI config space. It looks like I need the device object (PDO?) to be able to use the right functions to get there. It’s not obvious how I can get this in a minport driver. Help! Thanks!!


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer