patch-2.2.15 linux/drivers/scsi/atp870u.c

Next file: linux/drivers/scsi/esp.c
Previous file: linux/drivers/scsi/aic7xxx_seq.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/scsi/atp870u.c linux/drivers/scsi/atp870u.c
@@ -111,6 +111,11 @@
 	{
 		tmport += 0x1f;
 		j = inb(tmport);
+		if((j&0x80)==0)
+		{
+			dev->in_int=0;
+			return;
+		}
 
 		tmpcip = dev->pciport;
 		if ((inb(tmpcip) & 0x08) != 0) 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)