[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>
This commit is contained in:
@@ -219,7 +219,7 @@
|
||||
/*
|
||||
* Timeout timer counts in seconds
|
||||
*/
|
||||
#define PORT_RETRY_TIME 2
|
||||
#define PORT_RETRY_TIME 1
|
||||
#define LOOP_DOWN_TIMEOUT 60
|
||||
#define LOOP_DOWN_TIME 255 /* 240 */
|
||||
#define LOOP_DOWN_RESET (LOOP_DOWN_TIME - 30)
|
||||
@@ -1718,6 +1718,7 @@ typedef struct fc_port {
|
||||
uint8_t cur_path; /* current path id */
|
||||
|
||||
lun_bit_mask_t lun_mask;
|
||||
struct fc_rport *rport;
|
||||
} fc_port_t;
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user