]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] qla2xxx: Fix qla24xx revision check while enabling interrupts.
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 16 Aug 2011 18:29:24 +0000 (11:29 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Sat, 27 Aug 2011 14:18:47 +0000 (08:18 -0600)
commit345733c429f4bbe95e4674d5d73c67770428325d
tree4c447aff55eef3f7e37f9d401efae53dbf9cab8f
parentafa41765bc3309af082d9b28b3a28aa80c580873
[SCSI] qla2xxx: Fix qla24xx revision check while enabling interrupts.

Since we enable interrupts before initializing the firmware, use the chip
revision from PCI config space directly to perform the chip revision check.
Also remove the unnecessary firmware attributes test.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/qla2xxx/qla_isr.c