diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2005-07-06 13:32:07 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-07-14 11:03:15 -0400 |
commit | fa2a1ce53d4b869b74da9a770770c79f9af64914 (patch) | |
tree | da350e79117d3177f51c2788c51aeba425afd4ca /drivers/scsi/qla2xxx/qla_settings.h | |
parent | ba5140b48e35aa4e4b57eb6db5cface63d7bd712 (diff) |
[SCSI] qla2xxx: Code scrubbing.
Code scrubbing.
- Remove trailing whitespace from driver files.
- Remove unused #defines and inlines.
- Standardize on C comments (// -> /* */)
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_settings.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_settings.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/drivers/scsi/qla2xxx/qla_settings.h b/drivers/scsi/qla2xxx/qla_settings.h index c58f5faad9e1..a7d8ed08e06b 100644 --- a/drivers/scsi/qla2xxx/qla_settings.h +++ b/drivers/scsi/qla2xxx/qla_settings.h | |||
@@ -22,33 +22,8 @@ | |||
22 | */ | 22 | */ |
23 | #define DEBUG_QLA2100 0 /* For Debug of qla2x00 */ | 23 | #define DEBUG_QLA2100 0 /* For Debug of qla2x00 */ |
24 | 24 | ||
25 | #define STOP_ON_RESET 0 | ||
26 | #define USE_ABORT_TGT 1 /* Use Abort Target mbx cmd */ | 25 | #define USE_ABORT_TGT 1 /* Use Abort Target mbx cmd */ |
27 | 26 | ||
28 | #define VSA 0 /* Volume Set Addressing */ | ||
29 | |||
30 | /* Failover options */ | ||
31 | #define MAX_RECOVERYTIME 10 /* | ||
32 | * Max suspend time for a lun recovery | ||
33 | * time | ||
34 | */ | ||
35 | #define MAX_FAILBACKTIME 5 /* Max suspend time before fail back */ | ||
36 | |||
37 | #define QLA_CMD_TIMER_DELTA 3 | ||
38 | |||
39 | /* | ||
40 | * When a lun is suspended for the "Not Ready" condition then it will suspend | ||
41 | * the lun for increments of 6 sec delays. SUSPEND_COUNT is that count. | ||
42 | */ | ||
43 | #define SUSPEND_COUNT 10 /* 6 secs * 10 retries = 60 secs */ | ||
44 | |||
45 | /* | ||
46 | * Defines the time in seconds that the driver extends the command timeout to | ||
47 | * get around the problem where the mid-layer only allows 5 retries for | ||
48 | * commands that return BUS_BUSY | ||
49 | */ | ||
50 | #define EXTEND_CMD_TIMEOUT 60 | ||
51 | |||
52 | #define MAX_RETRIES_OF_ISP_ABORT 5 | 27 | #define MAX_RETRIES_OF_ISP_ABORT 5 |
53 | 28 | ||
54 | /* Max time to wait for the loop to be in LOOP_READY state */ | 29 | /* Max time to wait for the loop to be in LOOP_READY state */ |