Commit f8999aea authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley

[PATCH] PATCH [2/15] qla2xxx: Remove flash routines

  Remove flash support from embedded driver:

  	o Remove unused option-rom variables from host structure.
  	o Remove flash manipulation routines.

 drivers/scsi/qla2xxx/qla_def.h  |    2
 drivers/scsi/qla2xxx/qla_gbl.h  |    8
 drivers/scsi/qla2xxx/qla_init.c |    3
 drivers/scsi/qla2xxx/qla_sup.c  |  446 ----------------------------------------
 4 files changed, 459 deletions(-)
parent 6110fce4
......@@ -2340,8 +2340,6 @@ typedef struct scsi_qla_host {
uint8_t node_name[WWN_SIZE];
uint8_t nvram_version;
uint8_t optrom_major;
uint8_t optrom_minor;
uint32_t isp_abort_cnt;
/* Adapter I/O statistics for failover */
......
......@@ -255,14 +255,6 @@ extern void qla2x00_lock_nvram_access(scsi_qla_host_t *);
extern void qla2x00_unlock_nvram_access(scsi_qla_host_t *);
extern uint16_t qla2x00_get_nvram_word(scsi_qla_host_t *, uint32_t);
extern void qla2x00_write_nvram_word(scsi_qla_host_t *, uint32_t, uint16_t);
extern void qla2x00_flash_enable(scsi_qla_host_t *);
extern void qla2x00_flash_disable(scsi_qla_host_t *);
extern uint8_t qla2x00_read_flash_byte(scsi_qla_host_t *, uint32_t);
extern uint8_t qla2x00_get_flash_manufacturer(scsi_qla_host_t *);
extern uint16_t qla2x00_get_flash_version(scsi_qla_host_t *);
extern uint16_t qla2x00_get_flash_image(scsi_qla_host_t *, uint8_t *);
extern uint16_t qla2x00_set_flash_image(scsi_qla_host_t *, uint8_t *);
/*
* Global Function Prototypes in qla_dbg.c source file.
*/
......
......@@ -133,9 +133,6 @@ qla2x00_initialize_adapter(scsi_qla_host_t *ha)
/* Initialize target map database. */
qla2x00_init_tgt_map(ha);
/* Get Flash Version */
qla2x00_get_flash_version(ha);
qla_printk(KERN_INFO, ha, "Configure NVRAM parameters...\n");
qla2x00_nvram_config(ha);
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment