]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] bfa: Chinook quad port 16G FC HBA claim issue
authorVijaya Mohan Guvva <vmohan@brocade.com>
Wed, 4 Dec 2013 13:43:58 +0000 (05:43 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 18 Dec 2013 16:28:17 +0000 (08:28 -0800)
commitdcaf9aed995c2b2a49fb86bbbcfa2f92c797ab5d
tree907746783b4070019f9efae9369c039c2deda42d
parent319e2e3f63c348a9b66db4667efa73178e18b17d
[SCSI] bfa: Chinook quad port 16G FC HBA claim issue

Bfa driver crash is observed while pushing the firmware on to chinook
quad port card due to uninitialized bfi_image_ct2 access which gets
initialized only for CT2 ASIC based cards after request_firmware().
For quard port chinook (CT2 ASIC based), bfi_image_ct2 is not getting
initialized as there is no check for chinook PCI device ID before
request_firmware and instead bfi_image_cb is initialized as it is the
default case for card type check.

This patch includes changes to read the right firmware for quad port chinook.

Signed-off-by: Vijaya Mohan Guvva <vmohan@brocade.com>
Cc: stable@vger.kernel.org
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bfa/bfad.c