mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-25 01:21:01 +07:00
[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>
This commit is contained in:
parent
aca9012a41
commit
317d4adfd3
@ -2126,7 +2126,8 @@ static int hpsa_gather_lun_info(struct ctlr_info *h,
|
|||||||
*physical_mode = 0;
|
*physical_mode = 0;
|
||||||
|
|
||||||
/* For I/O accelerator mode we need to read physical device handles */
|
/* 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_mode = HPSA_REPORT_PHYS_EXTENDED;
|
||||||
physical_entry_size = 24;
|
physical_entry_size = 24;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user