win-pvdrivers

changeset 552:069658b9c8ee

Updated init code to be compatible with the latest changes to xenpci
author James Harper <james.harper@bendigoit.com.au>
date Sat Mar 28 10:08:23 2009 +1100 (2009-03-28)
parents a88fe72e3597
children ee8236b44af3
files xenscsi/xenscsi.c
line diff
     1.1 --- a/xenscsi/xenscsi.c	Sat Mar 28 10:07:53 2009 +1100
     1.2 +++ b/xenscsi/xenscsi.c	Sat Mar 28 10:08:23 2009 +1100
     1.3 @@ -403,7 +403,7 @@ XenScsi_HwScsiFindAdapter(PVOID DeviceEx
     1.4    KdPrint((__DRIVER_NAME "     BusInterruptLevel = %d\n", ConfigInfo->BusInterruptLevel));
     1.5    KdPrint((__DRIVER_NAME "     BusInterruptVector = %03x\n", ConfigInfo->BusInterruptVector));
     1.6  
     1.7 -  if (ConfigInfo->BusInterruptVector != 1)
     1.8 +  if (!ConfigInfo->BusInterruptVector)
     1.9    {
    1.10      KdPrint((__DRIVER_NAME "     No Interrupt assigned\n"));
    1.11      return SP_RETURN_BAD_CONFIG;