diff options
author | Seokmann Ju <seokmann.ju@qlogic.com> | 2007-07-05 16:16:51 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-07-14 20:08:05 -0400 |
commit | 2c3dfe3f6ad8daff5acdb01713e4f2b116e78136 (patch) | |
tree | 8d95e2356c0f5121ceab48ab564d2796b6530d29 /drivers/scsi/qla2xxx/qla_dbg.h | |
parent | 968a5763fb7247feb0e69573a2975a7a0c094267 (diff) |
[SCSI] qla2xxx: add support for NPIV
Following patch adds support for NPIV (N-Port ID Virtualization) to the
qla2xxx.
- supported within switched-fabric topologies only.
- supports up to 63 virtual ports on each physical port.
Signed-off-by: Seokmann Ju <seokmann.ju@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_dbg.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_dbg.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_dbg.h b/drivers/scsi/qla2xxx/qla_dbg.h index 5b12278968e0..49dffeb78512 100644 --- a/drivers/scsi/qla2xxx/qla_dbg.h +++ b/drivers/scsi/qla2xxx/qla_dbg.h | |||
@@ -21,6 +21,7 @@ | |||
21 | /* #define QL_DEBUG_LEVEL_12 */ /* Output IP trace msgs */ | 21 | /* #define QL_DEBUG_LEVEL_12 */ /* Output IP trace msgs */ |
22 | /* #define QL_DEBUG_LEVEL_13 */ /* Output fdmi function trace msgs */ | 22 | /* #define QL_DEBUG_LEVEL_13 */ /* Output fdmi function trace msgs */ |
23 | /* #define QL_DEBUG_LEVEL_14 */ /* Output RSCN trace msgs */ | 23 | /* #define QL_DEBUG_LEVEL_14 */ /* Output RSCN trace msgs */ |
24 | /* #define QL_DEBUG_LEVEL_15 */ /* Output NPIV trace msgs */ | ||
24 | /* | 25 | /* |
25 | * Local Macro Definitions. | 26 | * Local Macro Definitions. |
26 | */ | 27 | */ |
@@ -30,7 +31,8 @@ | |||
30 | defined(QL_DEBUG_LEVEL_7) || defined(QL_DEBUG_LEVEL_8) || \ | 31 | defined(QL_DEBUG_LEVEL_7) || defined(QL_DEBUG_LEVEL_8) || \ |
31 | defined(QL_DEBUG_LEVEL_9) || defined(QL_DEBUG_LEVEL_10) || \ | 32 | defined(QL_DEBUG_LEVEL_9) || defined(QL_DEBUG_LEVEL_10) || \ |
32 | defined(QL_DEBUG_LEVEL_11) || defined(QL_DEBUG_LEVEL_12) || \ | 33 | defined(QL_DEBUG_LEVEL_11) || defined(QL_DEBUG_LEVEL_12) || \ |
33 | defined(QL_DEBUG_LEVEL_13) || defined(QL_DEBUG_LEVEL_14) | 34 | defined(QL_DEBUG_LEVEL_13) || defined(QL_DEBUG_LEVEL_14) || \ |
35 | defined(QL_DEBUG_LEVEL_15) | ||
34 | #define QL_DEBUG_ROUTINES | 36 | #define QL_DEBUG_ROUTINES |
35 | #endif | 37 | #endif |
36 | 38 | ||
@@ -125,6 +127,12 @@ | |||
125 | #define DEBUG14(x) do {} while (0) | 127 | #define DEBUG14(x) do {} while (0) |
126 | #endif | 128 | #endif |
127 | 129 | ||
130 | #if defined(QL_DEBUG_LEVEL_15) | ||
131 | #define DEBUG15(x) do {x;} while (0) | ||
132 | #else | ||
133 | #define DEBUG15(x) do {} while (0) | ||
134 | #endif | ||
135 | |||
128 | /* | 136 | /* |
129 | * Firmware Dump structure definition | 137 | * Firmware Dump structure definition |
130 | */ | 138 | */ |