- Don't report CmResourceTypeNull resources for unused PCI descriptor resource entries.

svn path=/trunk/; revision=11688
This commit is contained in:
Filip Navara 2004-11-17 20:39:27 +00:00
parent 9a7c335263
commit 4d21897222

View file

@ -1,4 +1,4 @@
/* $Id: pdo.c,v 1.11 2004/10/24 09:14:03 navaraf Exp $ /* $Id: pdo.c,v 1.12 2004/11/17 20:39:27 navaraf Exp $
* *
* PROJECT: ReactOS PCI bus driver * PROJECT: ReactOS PCI bus driver
* FILE: pdo.c * FILE: pdo.c
@ -351,6 +351,7 @@ PdoQueryResourceRequirements(
&Flags)) &Flags))
break; break;
if (Length != 0)
ResCount += 2; ResCount += 2;
} }
@ -370,6 +371,7 @@ PdoQueryResourceRequirements(
&Flags)) &Flags))
break; break;
if (Length != 0)
ResCount += 2; ResCount += 2;
} }
} }
@ -642,6 +644,7 @@ PdoQueryResources(
&Flags)) &Flags))
break; break;
if (Length)
ResCount++; ResCount++;
} }
@ -660,6 +663,7 @@ PdoQueryResources(
&Flags)) &Flags))
break; break;
if (Length != 0)
ResCount++; ResCount++;
} }
} }