enumerate PCI devices in WDM

How I could enumerate PCI devices and get vendor ID, matching BusNumber
and SlotNumber with the list of PCI devices, using WDM model and numega
driver studio(version 2.6)?

Leandro

WDM does not support such functionality.
In SoftICE, type PCI.
In WinDbg, type !pci.

Max

----- Original Message -----
From: “Leandro”
To: “NT Developers Interest List”
Sent: Tuesday, June 04, 2002 11:54 PM
Subject: [ntdev] enumerate PCI devices in WDM

> How I could enumerate PCI devices and get vendor ID, matching
BusNumber
> and SlotNumber with the list of PCI devices, using WDM model and
numega
> driver studio(version 2.6)?
>
> Leandro
>
> —
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to %%email.unsub%%
>

Leandro,

You can always do i/o directly to the bus, take a look at Shanley’s
PCI book edited by Mindspring. You’re going to have to use some
kind of lock to keep other processors out of it between the time
you write to the control register and the time you read from the
data register, but that’s a small inconvenience. In Linux there are
macros cli( ) and __cli( ), but in Windows you may be on your own.
This is not that bad if all you’re doing is to read the bus, but if you
want to use it to write the bus, know what you’re doing ! There are
sharp corners all over that track.

Alberto.

On 6 Jun 2002, at 2:07, Maxim S. Shatskih wrote:

WDM does not support such functionality.
In SoftICE, type PCI.
In WinDbg, type !pci.

Max

----- Original Message -----
From: “Leandro”
> To: “NT Developers Interest List”
> Sent: Tuesday, June 04, 2002 11:54 PM
> Subject: [ntdev] enumerate PCI devices in WDM
>
>
> > How I could enumerate PCI devices and get vendor ID, matching
> BusNumber
> > and SlotNumber with the list of PCI devices, using WDM model and
> numega
> > driver studio(version 2.6)?
> >
> > Leandro
> >
> > —
> > You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> > To unsubscribe send a blank email to %%email.unsub%%
> >
>
>
> —
> You are currently subscribed to ntdev as: xxxxx@ieee.org
> To unsubscribe send a blank email to %%email.unsub%%
>