diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2008-04-03 16:13:22 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 13:19:14 -0400 |
commit | 7d232c745ef2ce141cc9d9538421affa32846fdb (patch) | |
tree | 9581133d1a06f45f8305a19a4962386576f79ae5 /drivers/scsi/qla2xxx/qla_def.h | |
parent | c87a0d8c8de7e191cd59779560d8df2e935c7dc7 (diff) |
[SCSI] qla2xxx: Add Flash Descriptor Table layout support.
The Flash Descriptor Table (FDT) present on many recent HBAs
encodes flash accessing characteristics of the flash-part used on
the HBA. Use this information during flash manipulation (writes)
rather than using specific hard-coded values based on queried
manufacturer and device IDs.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index 047973f37847..7e6b6da6a67d 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2521,6 +2521,13 @@ typedef struct scsi_qla_host { | |||
2521 | uint8_t fcode_revision[16]; | 2521 | uint8_t fcode_revision[16]; |
2522 | uint32_t fw_revision[4]; | 2522 | uint32_t fw_revision[4]; |
2523 | 2523 | ||
2524 | uint16_t fdt_odd_index; | ||
2525 | uint32_t fdt_wrt_disable; | ||
2526 | uint32_t fdt_erase_cmd; | ||
2527 | uint32_t fdt_block_size; | ||
2528 | uint32_t fdt_unprotect_sec_cmd; | ||
2529 | uint32_t fdt_protect_sec_cmd; | ||
2530 | |||
2524 | /* Needed for BEACON */ | 2531 | /* Needed for BEACON */ |
2525 | uint16_t beacon_blink_led; | 2532 | uint16_t beacon_blink_led; |
2526 | uint8_t beacon_color_state; | 2533 | uint8_t beacon_color_state; |