[coreboot] [PATCH] libpayload: complete + simplify pci functions

Stefan Reinauer stepan at coresystems.de
Wed Aug 6 11:37:18 CEST 2008


Peter Stuge wrote:
> On Wed, Aug 06, 2008 at 11:28:17AM +0200, Stefan Reinauer wrote:
>   
>> +int pci_find_device(u16 vid, u16 did, pcidev_t * dev)
>>  {
>>  	return find_on_bus(0, vid, did, dev);
>>  }
>>     
>
> Shouldn't pci_find_device() scan all buses?
>
> Looks good otherwise.
>   
I didn't change that behavior.

All I need for now is a complete set of 8/16/32bit accesses to the
config space without passing pointers around.

I might look into more issues as they appear, but I decided to leave
those two functions alone for now, so I don't touch side cases I might
not know.


-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866





More information about the coreboot mailing list