PATCH [6/8] qla2xxx: Small enhancements
Subsystems (2)
ChangeSet
1.1876 04/09/06 11:57:40 [email protected] +4 -0 Misc. small enhancements:
o Add 're-scan' and 'initiate lip' support via /proc similar to the 7.x series drivers.
o Add module parameter ql2xprocessnotready, to selectively enable/disable the driver's internal NOT_READY check- condition handling.
Signed-off-by Andrew Vasquez <[email protected]>
drivers/scsi/qla2xxx/qla_def.h | 1 drivers/scsi/qla2xxx/qla_gbl.h | 1 drivers/scsi/qla2xxx/qla_isr.c | 6 +++++ drivers/scsi/qla2xxx/qla_os.c | 44 ++++++++++++++++++++++++++++++++++++++++- 4 files changed, 51 insertions(+), 1 deletion(-)
drivers/scsi/qla2xxx/qla_def.h +1 -0
@@ -2105,6 +2105,7 @@#define FCPORT_RESCAN_NEEDED 21/* IO descriptor processing needed */ #define IODESC_PROCESS_NEEDED 22/* IO descriptor processing needed */ #define IOCTL_ERROR_RECOVERY 23 +#define LOOP_RESET_NEEDED 24uint32_t device_flags;#define DFLG_LOCAL_DEVICES BIT_0
drivers/scsi/qla2xxx/qla_gbl.h +1 -0
@@ -69,6 +69,7 @@extern int ql2xenablezio;extern int ql2xintrdelaytimer;extern int ql2xloginretrycount; +extern int ql2xprocessnotready;extern int ConfigRequired;
drivers/scsi/qla2xxx/qla_isr.c +6 -0
@@ -1427,6 +1427,12 @@break ;case NOT_READY : +if (!ql2xprocessnotready) { +DEBUG2 (printk ("%s : Disabled NOT_READY handling...\n" , + __func__)); +break ; + } + fcport = lq->fclun->fcport;/*
drivers/scsi/qla2xxx/qla_os.c +43 -1
68 lines not on this page · raw message
Quoted 6 lines · Andrew Vasquez
ChangeSet
1.1876 04/09/06 11:57:40 [email protected] +4 -0 Misc. small enhancements:o Add 're-scan' and 'initiate lip' support via /proc similar to the 7.x series drivers.
procfs support is deprecated, any new procfs invofmration is explicitly vetoed. These changes need to go into sysfs, please try to work with emulex to get these attributes into the fc transport class.