aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>2007-04-13 08:35:25 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-04-17 18:02:22 -0400
commit4def7fa11208f779f22e6ba7344370b0220d3350 (patch)
tree41180d61f4362ac218f6957ac420933bf3ca4c30 /drivers
parent144ff8bf0d84a81806bfb5979b0a6b176b1fcace (diff)
[SCSI] aacraid: fix aacraid not finding device
Thanks for the help from Steve Fox and Duane Cox investigating this issue, I'd like to report that we found the problem. The issue is with the patch Steve Fox isolated below, by not accommodating older adapters properly and issuing a command they do not support when retrieving storage parameters about the arrays. This simple patch resolves the problem (and more accurately mimics the logic of the original code before the patch). Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/scsi/aacraid/aachba.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index 31ac9f56cd1f..1e82c69b36b0 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -503,8 +503,7 @@ static int _aac_probe_container1(void * context, struct fib * fibptr)
503 dresp = (struct aac_mount *) fib_data(fibptr); 503 dresp = (struct aac_mount *) fib_data(fibptr);
504 dresp->mnt[0].capacityhigh = 0; 504 dresp->mnt[0].capacityhigh = 0;
505 if ((le32_to_cpu(dresp->status) != ST_OK) || 505 if ((le32_to_cpu(dresp->status) != ST_OK) ||
506 ((le32_to_cpu(dresp->mnt[0].vol) != CT_NONE) && 506 (le32_to_cpu(dresp->mnt[0].vol) != CT_NONE))
507 (le32_to_cpu(dresp->mnt[0].state) == FSCS_HIDDEN)))
508 return _aac_probe_container2(context, fibptr); 507 return _aac_probe_container2(context, fibptr);
509 scsicmd = (struct scsi_cmnd *) context; 508 scsicmd = (struct scsi_cmnd *) context;
510 scsicmd->SCp.phase = AAC_OWNER_MIDLEVEL; 509 scsicmd->SCp.phase = AAC_OWNER_MIDLEVEL;