aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/message/fusion/mptscsih.c
diff options
context:
space:
mode:
authorMoore, Eric <Eric.Moore@lsil.com>2006-04-17 14:43:04 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-04-25 19:00:39 -0400
commitbd23e94cd70f18700fc366451a8f1427e56ed137 (patch)
treef9e76aac305104fc32dfade5a1dd142c164de65b /drivers/message/fusion/mptscsih.c
parentc42bcefb5891c362b72e47070fbf7973e4eb8e1e (diff)
[SCSI] mptfusion: bug fix's for raid components adding/deleting
This patch handles case where raid hidden components are not being removed when power turned off to device attached to expander, as well as the case of exposing raid components when power is turned back on to devices attached to an expander. (This is a repost of this patch, with mptsas_is_end_device declared further up in the code.) This patch contains some other miscellaneous bug fix's. Signed-off-by: Eric Moore <Eric.Moore@lsil.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/message/fusion/mptscsih.c')
-rw-r--r--drivers/message/fusion/mptscsih.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/message/fusion/mptscsih.c b/drivers/message/fusion/mptscsih.c
index 3729062db317..6a71b066bd21 100644
--- a/drivers/message/fusion/mptscsih.c
+++ b/drivers/message/fusion/mptscsih.c
@@ -877,7 +877,7 @@ mptscsih_search_running_cmds(MPT_SCSI_HOST *hd, VirtDevice *vdevice)
877 struct scsi_cmnd *sc; 877 struct scsi_cmnd *sc;
878 878
879 dsprintk((KERN_INFO MYNAM ": search_running target %d lun %d max %d\n", 879 dsprintk((KERN_INFO MYNAM ": search_running target %d lun %d max %d\n",
880 vdevice->target_id, vdevice->lun, max)); 880 vdevice->vtarget->target_id, vdevice->lun, max));
881 881
882 for (ii=0; ii < max; ii++) { 882 for (ii=0; ii < max; ii++) {
883 if ((sc = hd->ScsiLookup[ii]) != NULL) { 883 if ((sc = hd->ScsiLookup[ii]) != NULL) {