summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2009-01-05 20:18:06 +0100
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-01-07 22:49:45 +0100
commit124f85e6cc0290a85adb7e14cd90e96105f4f9fb (patch)
tree590016a8b3c7708466ff9b3c5c459a9170a9eb85 /drivers/scsi/qla2xxx/qla_def.h
parent[SCSI] qla2xxx: Remove support for reading/writing HW-event-log. (diff)
downloadlinux-124f85e6cc0290a85adb7e14cd90e96105f4f9fb.tar.xz
linux-124f85e6cc0290a85adb7e14cd90e96105f4f9fb.zip
[SCSI] qla2xxx: Don't fallback to interrupt-polling during re-initialization with MSI-X enabled.
ROMs in recent ISPs have MSI-X support, so it's no longer necessary for the driver to fallback to interrupt polling during ISP re-initialization. Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index fc50221d1a99..191c95de7c67 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2370,6 +2370,8 @@ struct qla_hw_data {
IS_QLA84XX(ha))
#define IS_QLA2XXX_MIDTYPE(ha) (IS_QLA24XX(ha) || IS_QLA84XX(ha) || \
IS_QLA25XX(ha))
+#define IS_NOPOLLING_TYPE(ha) (IS_QLA25XX(ha) && \
+ (ha)->flags.msix_enabled)
#define IS_IIDMA_CAPABLE(ha) ((ha)->device_type & DT_IIDMA)
#define IS_FWI2_CAPABLE(ha) ((ha)->device_type & DT_FWI2)