[LinuxBIOS] usage of pci_write_config32()?

Corey Osgood corey_osgood at verizon.net
Tue Mar 20 04:40:17 CET 2007

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.


More information about the coreboot mailing list