Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 317d4adf authored by Mike MIller's avatar Mike MIller Committed by James Bottomley
Browse files

[SCSI] hpsa: get physical device handles for io accel mode 2 as well as mode 1

parent aca9012a
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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;
	}