PDA

View Full Version : Resource file format


Russell Shaw
28-07-2008, 01:10 AM
Hi,
What do the pci resource files represent such as:

/sys/bus/pci/devices/0000:00:00.0/resource
?

I have the MindShare pci book.

anon
29-07-2008, 09:04 PM
Russell Shaw wrote:
> Hi,
> What do the pci resource files represent such as:
>
> /sys/bus/pci/devices/0000:00:00.0/resource
> ?
>
> I have the MindShare pci book.

They define the memory map of a pci device. Each line represents one
resource (bar resource). The first column is the starting address, the
second is the end address, the third I forgot :( I tried finding on the
net, but unsuccessfully.