win-pvdrivers

changeset 456:07d3ead8c502

Rolled back the irq >= 16 restriction, as not all interrupts < 16 are ISA
author James Harper <james.harper@bendigoit.com.au>
date Wed Nov 19 22:56:03 2008 +1100 (2008-11-19)
parents f9afef4ddf23
children 7190a6747e2e
files xenpci/xenpci_fdo.c
line diff
     1.1 --- a/xenpci/xenpci_fdo.c	Wed Nov 19 22:54:57 2008 +1100
     1.2 +++ b/xenpci/xenpci_fdo.c	Wed Nov 19 22:56:03 2008 +1100
     1.3 @@ -1065,15 +1065,17 @@ XenPci_Pnp_FilterResourceRequirementsCal
     1.4    NTSTATUS status = STATUS_SUCCESS;
     1.5    //PXENPCI_DEVICE_DATA xpdd = (PXENPCI_DEVICE_DATA)device_object->DeviceExtension;
     1.6    PIRP irp = context;
     1.7 +#if 0
     1.8    PIO_RESOURCE_REQUIREMENTS_LIST irrl;
     1.9    PIO_RESOURCE_LIST irl;
    1.10    PIO_RESOURCE_DESCRIPTOR ird;
    1.11    ULONG i;
    1.12 +#endif
    1.13  
    1.14    UNREFERENCED_PARAMETER(device_object);
    1.15  
    1.16    FUNCTION_ENTER();
    1.17 -
    1.18 +#if 0
    1.19    /* this assumes that AlternativeLists == 1 */
    1.20    irrl = (PIO_RESOURCE_REQUIREMENTS_LIST)irp->IoStatus.Information;
    1.21    KdPrint(("AlternativeLists = %d\n", irrl->AlternativeLists));
    1.22 @@ -1088,6 +1090,7 @@ XenPci_Pnp_FilterResourceRequirementsCal
    1.23        ird->u.Interrupt.MinimumVector = 16;
    1.24      }
    1.25    }
    1.26 +#endif
    1.27    irp->IoStatus.Status = status;
    1.28    IoCompleteRequest (irp, IO_NO_INCREMENT);
    1.29