[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to access the pci configuration space?
> I want to implement a UDMA transfer with a PCI-IDE controller. Accessing the
> config space is required as stated in the programming guide of the
> I want to access directly to the registers in the config space.I mean
> reading and writing the registers in config space through a specific
> address? Now I can use
> 0xcf8 and 0xcfc to read the content of the config space. Could I using these
> two address to write to config space just like writing IO port or memory?If
In Linux, you need to have the pciutils installed. Then just check out
the lspci and setpci commmands.
"Share the code. If you hide it ain't good."
org:CERN - European Centre for Nuclear Research;EP/NA60