]> git.neil.brown.name Git - history.git/commitdiff
[PATCH] Fix NCR53c406a for new scsi
authorAlan Cox <alan@lxorguk.ukuu.org.uk>
Fri, 14 Feb 2003 06:33:46 +0000 (22:33 -0800)
committerDavid Woodhouse <dwmw2@infradead.org>
Fri, 14 Feb 2003 06:33:46 +0000 (22:33 -0800)
drivers/scsi/NCR53c406a.c

index bca776ae7db4571715394d485755d85133c0963a..bc37f06cb42bf65b9d59b0134382def909a45864 100644 (file)
@@ -697,7 +697,7 @@ static int NCR53c406a_queue(Scsi_Cmnd * SCpnt, void (*done) (Scsi_Cmnd *))
 
        /* 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++) {