- Don't report bogus interrupt resources

svn path=/trunk/; revision=53246
This commit is contained in:
Cameron Gutman 2011-08-15 00:28:33 +00:00
parent 10a5a5ac40
commit 21406f7ff3

View file

@ -669,6 +669,7 @@ PdoQueryResources(
}
if ((PciConfig.u.type0.InterruptPin != 0) &&
(PciConfig.u.type0.InterruptLine != 0) &&
(PciConfig.u.type0.InterruptLine != 0xFF))
ResCount++;
}
@ -769,6 +770,7 @@ PdoQueryResources(
/* Add interrupt resource */
if ((PciConfig.u.type0.InterruptPin != 0) &&
(PciConfig.u.type0.InterruptLine != 0) &&
(PciConfig.u.type0.InterruptLine != 0xFF))
{
Descriptor->Type = CmResourceTypeInterrupt;