From 317d4adfd37729452c840821c71d1162d5d63f39 Mon Sep 17 00:00:00 2001 From: Mike MIller Date: Tue, 18 Feb 2014 13:56:20 -0600 Subject: [PATCH] [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 --- drivers/scsi/hpsa.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- GitLab