aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2008-09-12 00:22:49 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-10-03 12:46:17 -0400
commitc00d8994d91e51aa6b891ad0e877f66cc1011de2 (patch)
tree5c200c361fffd2d8ac48572b22db0c9cd8b55451 /drivers/scsi/qla2xxx/qla_def.h
parent4b89258c7320bab4155b692e76ae9ffdd85e79be (diff)
[SCSI] qla2xxx: Add Flash Layout Table support.
The Flash Layout Table (FLT) present on many recent HBAs encodes flash usage information, organizes data stored into separate regions and presents the information uniformly to the driver. Use this information rather than using specific hard-coded values based on ISP type. 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.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index d1160d229d10..880e71127b73 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2508,7 +2508,6 @@ typedef struct scsi_qla_host {
2508 uint64_t fce_wr, fce_rd; 2508 uint64_t fce_wr, fce_rd;
2509 struct mutex fce_mutex; 2509 struct mutex fce_mutex;
2510 2510
2511 uint32_t hw_event_start;
2512 uint32_t hw_event_ptr; 2511 uint32_t hw_event_ptr;
2513 uint32_t hw_event_pause_errors; 2512 uint32_t hw_event_pause_errors;
2514 2513
@@ -2554,6 +2553,13 @@ typedef struct scsi_qla_host {
2554 uint32_t fdt_unprotect_sec_cmd; 2553 uint32_t fdt_unprotect_sec_cmd;
2555 uint32_t fdt_protect_sec_cmd; 2554 uint32_t fdt_protect_sec_cmd;
2556 2555
2556 uint32_t flt_region_flt;
2557 uint32_t flt_region_fdt;
2558 uint32_t flt_region_boot;
2559 uint32_t flt_region_fw;
2560 uint32_t flt_region_vpd_nvram;
2561 uint32_t flt_region_hw_event;
2562
2557 /* Needed for BEACON */ 2563 /* Needed for BEACON */
2558 uint16_t beacon_blink_led; 2564 uint16_t beacon_blink_led;
2559 uint8_t beacon_color_state; 2565 uint8_t beacon_color_state;