About PCI config space

Iam new to device driver,
Give me details about PCI config space.What is PCI ConfigSpace.How to access
PCI config space.

Thanks&Regards
sobana.D

Hi…

Contents in pci config space & local config space are loaded from eprom
present in the pci card…
This has information about the resource(I/o, memory, interrupt) required
for the mapped devices to the pci to local bus controller…Pci config
space typically present in pci to local bus bridge ex. Plx9052…

For a sample case just go thru this spec, will get more idea on this…

http://www.dyneng.com/plx_9052.pdf

From driver point of view, pnp manager takes care of most of the things
and you will get the base address of the devices mapped in the BAR[0…5]
present in the pci config space…U will need to map this physical
address to virtual address before accessing them…

Shiva P

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Sobana
Sent: Monday, April 25, 2005 1:51 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] About PCI config space

Iam new to device driver,
Give me details about PCI config space.What is PCI ConfigSpace.How to
access
PCI config space.

Thanks&Regards
sobana.D


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@wipro.com
To unsubscribe send a blank email to xxxxx@lists.osr.com

Strictly for understanding the PCI bus, (it won’t help much with writing a
driver, because as was already pointed out, Windows takes care of these
details for you), I recommend the Mindshare book “PCI System Architecture”
by Tom Shanley and Don Anderson.

At 01:20 AM 4/25/2005, you wrote:

Iam new to device driver,
Give me details about PCI config space.What is PCI ConfigSpace.How to access
PCI config space.

Russ Poffenberger
Credence Systems Corp.
xxxxx@credence.com

This is several registers in each PCI peripheral, which are accessed by
using special kind of PCI transactions.
The main of them are read-only Vendor and Model IDs and the BAR addresses.
To access them from Windows, use the appropriate device interface. Windows
only allows you to access the config space of your card, not any card in the
system.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Sobana”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Monday, April 25, 2005 12:20 PM
Subject: [ntdev] About PCI config space

> Iam new to device driver,
> Give me details about PCI config space.What is PCI ConfigSpace.How to access
> PCI config space.
>
> Thanks&Regards
> sobana.D
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com