summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-01-31 16:04:51 -0800
committer <jejb@mulgrave.il.steeleye.com>2006-02-04 16:10:07 -0600
commit04414013bbda644b65537e73f1dacb2821b36811 (patch)
treed8859176c167bff43bfb929657a32da3bb814749 /drivers/scsi/qla2xxx/qla_def.h
parent53ea68ecea11bcbb3451c2758ce181bd97b569a9 (diff)
downloadblackbird-op-linux-04414013bbda644b65537e73f1dacb2821b36811.tar.gz
blackbird-op-linux-04414013bbda644b65537e73f1dacb2821b36811.zip
[SCSI] qla2xxx: Add port-speed FC transport attribute.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index bad066e5772a..26af5319c219 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2331,6 +2331,10 @@ typedef struct scsi_qla_host {
uint16_t min_external_loopid; /* First external loop Id */
uint16_t link_data_rate; /* F/W operating speed */
+#define LDR_1GB 0
+#define LDR_2GB 1
+#define LDR_4GB 3
+#define LDR_UNKNOWN 0xFFFF
uint8_t current_topology;
uint8_t prev_topology;
OpenPOWER on IntegriCloud