mirror of
https://github.com/reactos/reactos.git
synced 2024-07-02 18:54:25 +00:00
[PCI]
- Don't report bogus interrupt resources svn path=/trunk/; revision=53246
This commit is contained in:
parent
10a5a5ac40
commit
21406f7ff3
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue