summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/hpsa.c
diff options
context:
space:
mode:
authorMike MIller <mikem@beardog.cce.hp.com>2014-02-18 20:56:20 +0100
committerJames Bottomley <JBottomley@Parallels.com>2014-03-15 18:19:05 +0100
commit317d4adfd37729452c840821c71d1162d5d63f39 (patch)
tree8ceae32c55e05dca51200ac50cb4bab672918119 /drivers/scsi/hpsa.c
parent[SCSI] hpsa: do ioaccel mode 2 resource allocations (diff)
downloadlinux-317d4adfd37729452c840821c71d1162d5d63f39.tar.xz
linux-317d4adfd37729452c840821c71d1162d5d63f39.zip
[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 '')
-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 600f3121cf27..42bb7d7fc8de 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;
}