PATCH: fix NCR53c406a for new scsi

Alan Cox (alan@lxorguk.ukuu.org.uk)
Fri, 14 Feb 2003 21:04:58 +0000 (GMT)


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/