Dan Mick wrote:
> How do these tools access PCI config space?
>   
Hi Dan,

Solaris doesn't have the corresponding file system in Linux, so
it uses the method describe in the following section of PCI Local
Bus Specification v2.2 to access PCI config space.
3.2.2.3.2. Software Generation of Configuration Transactions

And because of the above reason, PCI Express config space can be
accessed and we can't port it to SPARC architecture for Solaris.

In the pciutils-3.0.3 source code, it uses the functions conf1_read
(line 117 in lib/i386-ports.c) and conf1_write(line 144 in 
lib/i386-ports.c).

Thanks,
Chris

Reply via email to