aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid/aachba.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/aacraid/aachba.c')
-rw-r--r--drivers/scsi/aacraid/aachba.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index 8d7b7703ee2a..d7235f42cf5f 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -1339,6 +1339,8 @@ int aac_get_adapter_info(struct aac_dev* dev)
1339 } 1339 }
1340 1340
1341 dev->cache_protected = 0; 1341 dev->cache_protected = 0;
1342 dev->jbod = ((dev->supplement_adapter_info.FeatureBits &
1343 AAC_FEATURE_JBOD) != 0);
1342 dev->nondasd_support = 0; 1344 dev->nondasd_support = 0;
1343 dev->raid_scsi_mode = 0; 1345 dev->raid_scsi_mode = 0;
1344 if(dev->adapter_info.options & AAC_OPT_NONDASD) 1346 if(dev->adapter_info.options & AAC_OPT_NONDASD)
@@ -1923,7 +1925,8 @@ int aac_scsi_cmd(struct scsi_cmnd * scsicmd)
1923 } 1925 }
1924 } 1926 }
1925 } else { /* check for physical non-dasd devices */ 1927 } else { /* check for physical non-dasd devices */
1926 if ((dev->nondasd_support == 1) || expose_physicals) { 1928 if (dev->nondasd_support || expose_physicals ||
1929 dev->jbod) {
1927 if (dev->in_reset) 1930 if (dev->in_reset)
1928 return -1; 1931 return -1;
1929 return aac_send_srb_fib(scsicmd); 1932 return aac_send_srb_fib(scsicmd);