From 4cb90117fa0ea1876fa73962c984ba02fd1adad3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herv=C3=A9=20Poussineau?= Date: Mon, 16 May 2005 15:56:01 +0000 Subject: [PATCH] Report memory and I/O ranges even if they are not the first reported resources by PCI device svn path=/trunk/; revision=15344 --- reactos/drivers/bus/pci/pdo.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/reactos/drivers/bus/pci/pdo.c b/reactos/drivers/bus/pci/pdo.c index 659a5bd87fb..5ced7c6e1a6 100644 --- a/reactos/drivers/bus/pci/pdo.c +++ b/reactos/drivers/bus/pci/pdo.c @@ -433,7 +433,7 @@ PdoQueryResourceRequirements( if (Length == 0) { DPRINT("Unused address register\n"); - break; + continue; } /* Set preferred descriptor */ @@ -522,7 +522,7 @@ PdoQueryResourceRequirements( if (Length == 0) { DPRINT("Unused address register\n"); - break; + continue; } /* Set preferred descriptor */ @@ -722,7 +722,7 @@ PdoQueryResources( if (Length == 0) { DPRINT("Unused address register\n"); - break; + continue; } if (Flags & PCI_ADDRESS_IO_SPACE) @@ -776,7 +776,7 @@ PdoQueryResources( if (Length == 0) { DPRINT("Unused address register\n"); - break; + continue; } if (Flags & PCI_ADDRESS_IO_SPACE)