On 07/06/11 16:57, Michael S. Tsirkin wrote:
On Wed, Jul 06, 2011 at 05:03:21PM +0300, Michael S. Tsirkin wrote:
Add pci_find_capability to scan capability list.
Return 0 on error, capability offset if found.
Signed-off-by: Michael S. Tsirkin<m...@redhat.com>
---
Not useful by itself, but should be handy if
we ever want to look at capabilities such as pci express.
Here's an example using slot register and
pci express register to figure out how many
expansion slots does a bridge have:
Thanks, I'll use the bits for finetuning in the next version of the
two-pass pci init patches.
cheers,
Gerd
_______________________________________________
SeaBIOS mailing list
SeaBIOS@seabios.org
http://www.seabios.org/mailman/listinfo/seabios