diff options
author | Mike MIller <mikem@beardog.cce.hp.com> | 2014-02-18 19:56:20 (GMT) |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2014-03-15 17:19:05 (GMT) |
commit | 317d4adfd37729452c840821c71d1162d5d63f39 (patch) | |
tree | 8ceae32c55e05dca51200ac50cb4bab672918119 /drivers/scsi/hpsa.c | |
parent | aca9012a41fbc5b3697c14b34c964daabab6e740 (diff) | |
download | linux-317d4adfd37729452c840821c71d1162d5d63f39.tar.xz |
[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.c | 3 |
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; } |