From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:54947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQDli-00082U-V8 for qemu-devel@nongnu.org; Fri, 04 May 2012 04:21:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SQDla-00028Z-Nt for qemu-devel@nongnu.org; Fri, 04 May 2012 04:21:38 -0400 Received: from mx1.redhat.com ([209.132.183.28]:54752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SQDla-00027g-Fw for qemu-devel@nongnu.org; Fri, 04 May 2012 04:21:30 -0400 From: Gerd Hoffmann Date: Fri, 4 May 2012 10:21:23 +0200 Message-Id: <1336119687-6295-2-git-send-email-kraxel@redhat.com> In-Reply-To: <1336119687-6295-1-git-send-email-kraxel@redhat.com> References: <1336119687-6295-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [seabios patch 1/5] pci: init all devices List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: seabios@seabios.org Cc: qemu-devel@nongnu.org, Gerd Hoffmann 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 --- src/pciinit.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/src/pciinit.c b/src/pciinit.c index 25b04ac..6a7a0d2 100644 --- a/src/pciinit.c +++ b/src/pciinit.c @@ -213,9 +213,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); } -- 1.7.1