diff options
author | <andrew.vasquez@qlogic.com> | 2005-04-17 16:04:54 -0400 |
---|---|---|
committer | James Bottomley <jejb@titanic> | 2005-04-18 14:47:19 -0400 |
commit | 8482e118afa0cb4321ab3d30b1100d27d63130c0 (patch) | |
tree | 971714d297194e1c20e1b80b1d2e031d4517f5ad /drivers/scsi/qla2xxx/qla_def.h | |
parent | f4f051ebb40e74ad0ba02d2cb3a6c16b0393472b (diff) |
[PATCH] qla2xxx: add remote port codes...
Add initial support for FC remote port infrastructure.
o Use fc_remote_port...() registration and block/unlock
functions.
o Consolidate 'attribute' (fc-remote/sysfs) helpers into
new qla_attr.c file.
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.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 9e3144f42f57..b153d64bb966 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -219,7 +219,7 @@ | |||
219 | /* | 219 | /* |
220 | * Timeout timer counts in seconds | 220 | * Timeout timer counts in seconds |
221 | */ | 221 | */ |
222 | #define PORT_RETRY_TIME 2 | 222 | #define PORT_RETRY_TIME 1 |
223 | #define LOOP_DOWN_TIMEOUT 60 | 223 | #define LOOP_DOWN_TIMEOUT 60 |
224 | #define LOOP_DOWN_TIME 255 /* 240 */ | 224 | #define LOOP_DOWN_TIME 255 /* 240 */ |
225 | #define LOOP_DOWN_RESET (LOOP_DOWN_TIME - 30) | 225 | #define LOOP_DOWN_RESET (LOOP_DOWN_TIME - 30) |
@@ -1718,6 +1718,7 @@ typedef struct fc_port { | |||
1718 | uint8_t cur_path; /* current path id */ | 1718 | uint8_t cur_path; /* current path id */ |
1719 | 1719 | ||
1720 | lun_bit_mask_t lun_mask; | 1720 | lun_bit_mask_t lun_mask; |
1721 | struct fc_rport *rport; | ||
1721 | } fc_port_t; | 1722 | } fc_port_t; |
1722 | 1723 | ||
1723 | /* | 1724 | /* |