PATCH: fix NCR53c406a for new scsi

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Feb 14 2003 - 16:04:58 EST


diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.60-ref/drivers/scsi/NCR53c406a.c linux-2.5.60-ac1/drivers/scsi/NCR53c406a.c
--- linux-2.5.60-ref/drivers/scsi/NCR53c406a.c 2003-02-14 21:21:36.000000000 +0000
+++ linux-2.5.60-ac1/drivers/scsi/NCR53c406a.c 2003-02-14 20:18:25.000000000 +0000
@@ -697,7 +697,7 @@
 
         /* We are locked here already by the mid layer */
         REG0;
- outb(SCpnt->target, DEST_ID); /* set destination */
+ outb(SCpnt->device->id, DEST_ID); /* set destination */
         outb(FLUSH_FIFO, CMD_REG); /* reset the fifos */
 
         for (i = 0; i < SCpnt->cmd_len; i++) {
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Feb 15 2003 - 22:00:58 EST