[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)
commit42cd4f5dc2a3de31bfd24642ab4e8b21834a6b78
tree4c447aff55eef3f7e37f9d401efae53dbf9cab8f
parente02587d777bfb398f70709fd3a92fa0154959003
[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