[LinuxBIOS] usage of pci_write_config32()?
stepan at coresystems.de
Tue Mar 20 09:04:41 CET 2007
* Corey Osgood <corey_osgood at verizon.net> [070320 04:40]:
> With pci_write_config32 (or pci_write_config16), do you send the value
> to the first or the last register in the set? In other words, if it's a
> range of 0x50-0x53, where should it be sent to? And if you were looking
> to set it like this:
> 0x50 -> 0x11
> 0x51 -> 0x22
> 0x52 -> 0x33
> 0x53 -> 0x44
> it should be set as 0x11223344, correct? I'm looking at two different
> files, and their usage conflicts, I'd like to know which is right.
Since it is little endian, I would expect it to be 0x44332211.
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
More information about the coreboot