diff options
Diffstat (limited to 'drivers/scsi/isci/init.c')
-rw-r--r-- | drivers/scsi/isci/init.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/scsi/isci/init.c b/drivers/scsi/isci/init.c index ef0c49a0c0a0..51a7bce20dae 100644 --- a/drivers/scsi/isci/init.c +++ b/drivers/scsi/isci/init.c | |||
@@ -466,6 +466,7 @@ static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_devic | |||
466 | struct isci_host *isci_host; | 466 | struct isci_host *isci_host; |
467 | const struct firmware *fw = NULL; | 467 | const struct firmware *fw = NULL; |
468 | struct isci_orom *orom; | 468 | struct isci_orom *orom; |
469 | char *source = "(platform)"; | ||
469 | 470 | ||
470 | check_si_rev(pdev); | 471 | check_si_rev(pdev); |
471 | 472 | ||
@@ -480,6 +481,7 @@ static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_devic | |||
480 | orom = isci_request_oprom(pdev); | 481 | orom = isci_request_oprom(pdev); |
481 | 482 | ||
482 | if (!orom) { | 483 | if (!orom) { |
484 | source = "(firmware)"; | ||
483 | orom = isci_request_firmware(pdev, fw); | 485 | orom = isci_request_firmware(pdev, fw); |
484 | if (!orom) { | 486 | if (!orom) { |
485 | /* TODO convert this to WARN_TAINT_ONCE once the | 487 | /* TODO convert this to WARN_TAINT_ONCE once the |
@@ -496,9 +498,9 @@ static int __devinit isci_pci_probe(struct pci_dev *pdev, const struct pci_devic | |||
496 | 498 | ||
497 | if (orom) | 499 | if (orom) |
498 | dev_info(&pdev->dev, | 500 | dev_info(&pdev->dev, |
499 | "OEM SAS parameters (version: %u.%u) loaded\n", | 501 | "OEM SAS parameters (version: %u.%u) loaded %s\n", |
500 | (orom->hdr.version & 0xf0) >> 4, | 502 | (orom->hdr.version & 0xf0) >> 4, |
501 | (orom->hdr.version & 0xf)); | 503 | (orom->hdr.version & 0xf), source); |
502 | 504 | ||
503 | pci_info->orom = orom; | 505 | pci_info->orom = orom; |
504 | 506 | ||