isci: fixup with testing from isci OROM in BIOS
Added fixups for the OROM parsing code after testing with BIOS OROM
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c
index 1310529..ef0c49a 100644
--- a/drivers/scsi/isci/init.c
+++ b/drivers/scsi/isci/init.c
@@ -495,8 +495,11 @@
}
if (orom)
- dev_info(&pdev->dev, "sas parameters (version: %#x) loaded\n",
- orom->hdr.version);
+ dev_info(&pdev->dev,
+ "OEM SAS parameters (version: %u.%u) loaded\n",
+ (orom->hdr.version & 0xf0) >> 4,
+ (orom->hdr.version & 0xf));
+
pci_info->orom = orom;
err = isci_pci_init(pdev);