summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2012-05-15 20:34:21 +0200
committerJames Bottomley <JBottomley@Parallels.com>2012-05-22 12:38:40 +0200
commitc0822b63ccbf3b019059f384c290b080cae859f1 (patch)
tree07ec551c6ea4bcb279b20f18605933433b9bdbd0 /drivers/scsi/qla2xxx/qla_def.h
parent[SCSI] qla2xxx: Remove mirrored field vp_idx from struct fc_port. (diff)
downloadlinux-c0822b63ccbf3b019059f384c290b080cae859f1.tar.xz
linux-c0822b63ccbf3b019059f384c290b080cae859f1.zip
[SCSI] qla2xxx: Optimize existing port name server query matching.
Signed-off-by: Joe Carnuccio <joe.carnuccio@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index f601a938fe9f..7aedd9011501 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -1723,6 +1723,9 @@ typedef struct fc_port {
uint8_t scan_state;
} fc_port_t;
+#define QLA_FCPORT_SCAN_NONE 0
+#define QLA_FCPORT_SCAN_FOUND 1
+
/*
* Fibre channel port/lun states.
*/