mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:33:01 +00:00
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:
parent
e5b4190710
commit
2cb33838e4
1 changed files with 2 additions and 2 deletions
|
@ -57,8 +57,8 @@ IntVideoPortSetupInterrupt(
|
||||||
*/
|
*/
|
||||||
|
|
||||||
if (DriverExtension->InitializationData.HwInterrupt != NULL &&
|
if (DriverExtension->InitializationData.HwInterrupt != NULL &&
|
||||||
ConfigInfo->BusInterruptLevel != 0 &&
|
(ConfigInfo->BusInterruptLevel != 0 ||
|
||||||
ConfigInfo->BusInterruptVector != 0)
|
ConfigInfo->BusInterruptVector != 0))
|
||||||
{
|
{
|
||||||
ULONG InterruptVector;
|
ULONG InterruptVector;
|
||||||
KIRQL Irql;
|
KIRQL Irql;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue