mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Don't report CmResourceTypeNull resources for unused PCI descriptor resource entries.
svn path=/trunk/; revision=11688
This commit is contained in:
parent
9a7c335263
commit
4d21897222
1 changed files with 9 additions and 5 deletions
|
@ -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++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue