From: Gerd Hoffmann Date: Tue, 15 May 2012 10:46:22 +0000 (+0200) Subject: pci: init all devices X-Git-Tag: rel-1.7.1~61 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=347f29452bbe2a57fc45cdbb3a4a34aff4ca222f;p=seabios.git pci: init all devices seabios used to initialize root bus devices only, with this patch devices behind pci bridges are initialized too. This allows to boot from virtio devices behind pci bridges. Signed-off-by: Gerd Hoffmann --- diff --git a/src/pciinit.c b/src/pciinit.c index 613a9c0..8452572 100644 --- a/src/pciinit.c +++ b/src/pciinit.c @@ -220,9 +220,6 @@ static void pci_bios_init_devices(void) { struct pci_device *pci; foreachpci(pci) { - if (pci_bdf_to_bus(pci->bdf) != 0) - // Only init devices on host bus. - break; pci_bios_init_device(pci); }