From: Mike MIller Date: Tue, 18 Feb 2014 19:56:20 +0000 (-0600) Subject: [SCSI] hpsa: get physical device handles for io accel mode 2 as well as mode 1 X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=317d4adfd37729452c840821c71d1162d5d63f39;p=deliverable%2Flinux.git [SCSI] hpsa: get physical device handles for io accel mode 2 as well as mode 1 Signed-off-by: Mike MIller Signed-off-by: Stephen M. Cameron Signed-off-by: James Bottomley --- 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; }