aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_gbl.h
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-09-20 17:07:33 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:49:38 -0400
commit338c9161e406591afbc1a6635a68d3b6d5362e00 (patch)
tree6bb711ac12bac66447ca924e56a9b616d6acd1e6 /drivers/scsi/qla2xxx/qla_gbl.h
parentc81d04c9e27966c0e4c5650d130f209bff9671f9 (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.h5
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
134qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t); 134qla2x00_load_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t);
135 135
136extern int 136extern int
137qla2x00_dump_ram(scsi_qla_host_t *, dma_addr_t, uint32_t, uint32_t);
138
139extern int
137qla2x00_execute_fw(scsi_qla_host_t *, uint32_t); 140qla2x00_execute_fw(scsi_qla_host_t *, uint32_t);
138 141
139extern void 142extern 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);
303extern int qla24xx_write_optrom_data(struct scsi_qla_host *, uint8_t *, 306extern int qla24xx_write_optrom_data(struct scsi_qla_host *, uint8_t *,
304 uint32_t, uint32_t); 307 uint32_t, uint32_t);
308extern uint8_t *qla25xx_read_optrom_data(struct scsi_qla_host *, uint8_t *,
309 uint32_t, uint32_t);
305 310
306extern int qla2x00_get_flash_version(scsi_qla_host_t *, void *); 311extern int qla2x00_get_flash_version(scsi_qla_host_t *, void *);
307extern int qla24xx_get_flash_version(scsi_qla_host_t *, void *); 312extern int qla24xx_get_flash_version(scsi_qla_host_t *, void *);