diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2007-09-20 17:07:33 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:49:38 -0400 |
commit | 338c9161e406591afbc1a6635a68d3b6d5362e00 (patch) | |
tree | 6bb711ac12bac66447ca924e56a9b616d6acd1e6 /drivers/scsi/qla2xxx/qla_gbl.h | |
parent | c81d04c9e27966c0e4c5650d130f209bff9671f9 (diff) |
[SCSI] qla2xxx: Add flash burst-read/write support.
Newer ISPs support a mechanism to read and write flash-memory via
the firmware LOAD/DUMP memory mailbox command routines. When
supported, utilizing these mechanisms significantly reduces
overall access times.
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_gbl.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_gbl.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_gbl.h b/drivers/scsi/qla2xxx/qla_gbl.h index aa1e41152283..e8122e8444c7 100644 --- a/drivers/scsi/qla2xxx/qla_gbl.h +++ b/drivers/scsi/qla2xxx/qla_gbl.h | |||
@@ -134,6 +134,9 @@ extern int | |||
134 | qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); | 134 | qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); |
135 | 135 | ||
136 | extern int | 136 | extern int |
137 | qla2x00_dump_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); | ||
138 | |||
139 | extern int | ||
137 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); | 140 | qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); |
138 | 141 | ||
139 | extern void | 142 | extern void |
@@ -302,6 +305,8 @@ extern uint8_t *qla24xx_read_optrom_data(struct scsi_qla_host *, uint8_t *, | |||
302 | uint32_t, uint32_t); | 305 | uint32_t, uint32_t); |
303 | extern int qla24xx_write_optrom_data(struct scsi_qla_host *, uint8_t *, | 306 | extern int qla24xx_write_optrom_data(struct scsi_qla_host *, uint8_t *, |
304 | uint32_t, uint32_t); | 307 | uint32_t, uint32_t); |
308 | extern uint8_t *qla25xx_read_optrom_data(struct scsi_qla_host *, uint8_t *, | ||
309 | uint32_t, uint32_t); | ||
305 | 310 | ||
306 | extern int qla2x00_get_flash_version(scsi_qla_host_t *, void *); | 311 | extern int qla2x00_get_flash_version(scsi_qla_host_t *, void *); |
307 | extern int qla24xx_get_flash_version(scsi_qla_host_t *, void *); | 312 | extern int qla24xx_get_flash_version(scsi_qla_host_t *, void *); |