summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorMike MIller <mikem@beardog.cce.hp.com>2014-02-18 13:56:20 -0600
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 10:19:05 -0700
commit317d4adfd37729452c840821c71d1162d5d63f39 (patch)
tree8ceae32c55e05dca51200ac50cb4bab672918119 /drivers/scsi/hpsa.c
parentaca9012a41fbc5b3697c14b34c964daabab6e740 (diff)
downloadop-kernel-dev-317d4adfd37729452c840821c71d1162d5d63f39.zip
op-kernel-dev-317d4adfd37729452c840821c71d1162d5d63f39.tar.gz
[SCSI] hpsa: get physical device handles for io accel mode 2 as well as mode 1
Signed-off-by: Mike MIller <michael.miller@canonical.com> Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r--drivers/scsi/hpsa.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c
index 600f312..42bb7d7 100644
--- a/drivers/scsi/hpsa.c
+++ b/drivers/scsi/hpsa.c
@@ -2126,7 +2126,8 @@ static int hpsa_gather_lun_info(struct ctlr_info *h,
*physical_mode = 0;
/* For I/O accelerator mode we need to read physical device handles */
- if (h->transMethod & CFGTBL_Trans_io_accel1) {
+ if (h->transMethod & CFGTBL_Trans_io_accel1 ||
+ h->transMethod & CFGTBL_Trans_io_accel2) {
*physical_mode = HPSA_REPORT_PHYS_EXTENDED;
physical_entry_size = 24;
}
OpenPOWER on IntegriCloud