lkml.org 
[lkml]   [2003]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectPATCH: fix cciss scsi breakage
Date
From
diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.60-ref/drivers/block/cciss_scsi.c linux-2.5.60-ac1/drivers/block/cciss_scsi.c
--- linux-2.5.60-ref/drivers/block/cciss_scsi.c 2003-02-14 21:21:37.000000000 +0000
+++ linux-2.5.60-ac1/drivers/block/cciss_scsi.c 2003-02-14 19:01:45.000000000 +0000
@@ -1379,10 +1379,10 @@

// Get the ptr to our adapter structure (hba[i]) out of cmd->host.
// We violate cmd->host privacy here. (Is there another way?)
- c = (ctlr_info_t **) &cmd->host->hostdata[0];
+ c = (ctlr_info_t **) &cmd->device->host->hostdata[0];
ctlr = (*c)->ctlr;

- rc = lookup_scsi3addr(ctlr, cmd->channel, cmd->target, cmd->lun,
+ rc = lookup_scsi3addr(ctlr, cmd->device->channel, cmd->device->id, cmd->device->lun,
scsi3addr);
if (rc != 0) {
/* the scsi nexus does not match any that we presented... */
-
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/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.016 / U:0.428 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site