On 05/18/12 05:06, Kevin O'Connor wrote: > On Tue, May 15, 2012 at 12:46:22PM +0200, Gerd Hoffmann wrote: >> 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 <[email protected]> >> --- >> src/pciinit.c | 3 --- >> 1 files changed, 0 insertions(+), 3 deletions(-) >> >> diff --git a/src/pciinit.c b/src/pciinit.c >> index f265662..c0eea96 100644 >> --- a/src/pciinit.c >> +++ b/src/pciinit.c >> @@ -219,9 +219,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; > > The more advanced version of this patch (with irq line support) should > already be committed.
No, the committed patch has _only_ the irq line support, this patch is still needed. cheers, Gerd > > -Kevin _______________________________________________ SeaBIOS mailing list [email protected] http://www.seabios.org/mailman/listinfo/seabios
