X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fscsi%2FNCR5380.c;h=612d82818813054e117f159bb77ce0801947a9f7;hb=4df52aa9a6dd8cb5fff67da03cdfa58a3c607912;hp=e3bb9dde6982373987f3dac639d5d754aa03bd2d;hpb=a91482bdcc2e0f6035702e46f1b99043a0893346;p=linux-2.6.git diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index e3bb9dde6..612d82818 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c @@ -1248,7 +1248,7 @@ static void NCR5380_main(void *p) * and see if we can do an information transfer, * with failures we will restart. */ - hostdata->selecting = NULL; + hostdata->selecting = 0; /* RvC: have to preset this to indicate a new command is being performed */ if (!NCR5380_select(instance, tmp, @@ -1634,7 +1634,7 @@ part2: to go to sleep */ } - hostdata->selecting = NULL;/* clear this pointer, because we passed the + hostdata->selecting = 0; /* clear this pointer, because we passed the waiting period */ if ((NCR5380_read(STATUS_REG) & (SR_SEL | SR_IO)) == (SR_SEL | SR_IO)) { NCR5380_write(INITIATOR_COMMAND_REG, ICR_BASE);