Change the code a bit, as Hervé Poussineau points out, the interrupt vector could in some cases be zero.

svn path=/trunk/; revision=33718
This commit is contained in:
Filip Navara 2008-05-26 18:51:15 +00:00
parent e5b4190710
commit 2cb33838e4

View file

@ -57,8 +57,8 @@ IntVideoPortSetupInterrupt(
*/
if (DriverExtension->InitializationData.HwInterrupt != NULL &&
ConfigInfo->BusInterruptLevel != 0 &&
ConfigInfo->BusInterruptVector != 0)
(ConfigInfo->BusInterruptLevel != 0 ||
ConfigInfo->BusInterruptVector != 0))
{
ULONG InterruptVector;
KIRQL Irql;