aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorJoe Carnuccio <joe.carnuccio@qlogic.com>2009-03-24 12:08:12 -0400
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-03 10:22:51 -0400
commitad0ecd61f4ad3260ca8f7216765ddbb1a10677ea (patch)
tree4a228bd11305a1c07647b948e571542ac9b9389c /drivers/scsi/qla2xxx/qla_def.h
parentfbcbb5d0cf69ba8b59028ec3c5b9f9ff04409b88 (diff)
[SCSI] qla2xxx: Add EDC-update support.
Interface allows for the update of onboard EDC firmware present on mezzanine ISP25xx type cards. 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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 757e31d62146..5a55a20207ec 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -607,6 +607,7 @@ typedef struct {
607#define MBC_GET_TIMEOUT_PARAMS 0x22 /* Get FW timeouts. */ 607#define MBC_GET_TIMEOUT_PARAMS 0x22 /* Get FW timeouts. */
608#define MBC_TRACE_CONTROL 0x27 /* Trace control command. */ 608#define MBC_TRACE_CONTROL 0x27 /* Trace control command. */
609#define MBC_GEN_SYSTEM_ERROR 0x2a /* Generate System Error. */ 609#define MBC_GEN_SYSTEM_ERROR 0x2a /* Generate System Error. */
610#define MBC_WRITE_SFP 0x30 /* Write SFP Data. */
610#define MBC_READ_SFP 0x31 /* Read SFP Data. */ 611#define MBC_READ_SFP 0x31 /* Read SFP Data. */
611#define MBC_SET_TIMEOUT_PARAMS 0x32 /* Set FW timeouts. */ 612#define MBC_SET_TIMEOUT_PARAMS 0x32 /* Set FW timeouts. */
612#define MBC_MID_INITIALIZE_FIRMWARE 0x48 /* MID Initialize firmware. */ 613#define MBC_MID_INITIALIZE_FIRMWARE 0x48 /* MID Initialize firmware. */
@@ -2387,6 +2388,10 @@ struct qla_hw_data {
2387 void *sfp_data; 2388 void *sfp_data;
2388 dma_addr_t sfp_data_dma; 2389 dma_addr_t sfp_data_dma;
2389 2390
2391 uint8_t *edc_data;
2392 dma_addr_t edc_data_dma;
2393 uint16_t edc_data_len;
2394
2390 struct task_struct *dpc_thread; 2395 struct task_struct *dpc_thread;
2391 uint8_t dpc_active; /* DPC routine is active */ 2396 uint8_t dpc_active; /* DPC routine is active */
2392 2397