isci: Move firmware loading to per PCI device
authorDave Jiang <dave.jiang@intel.com>
Tue, 22 Feb 2011 09:27:03 +0000 (01:27 -0800)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:27 +0000 (03:55 -0700)
commit858d4aa741c80fb7579cda3517853f0cffc73772
treedb0bc07852d91c5817315d37a8e5923898192d52
parent92cd51153d5c18af027ddf42547d59ba4167873c
isci: Move firmware loading to per PCI device

Moved the firmware loading from per adapter to per PCI device. This should
prevent firmware from being loaded twice becuase of 2 SCU controller per
PCI device. We do have to do it per PCI device because request_firmware()
requires a struct device passed in.

Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/host.c
drivers/scsi/isci/init.c
drivers/scsi/isci/isci.h