2003-02-14 21:13:48

by John Kim

[permalink] [raw]
Subject: [PATCH 2.5.60-bk4] fix compile breakage on drivers/scsi/NCR53c406a.c


This fixes compile breakage due to recent changes to scsi.h

John Kim


--- linux-2.5.60-bk4/drivers/scsi/NCR53c406a.c 2003-02-10 13:38:31.000000000 -0500
+++ linux-2.5.60-bk4-new/drivers/scsi/NCR53c406a.c 2003-02-14 15:41:10.000000000 -0500
@@ -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++) {