aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 3b26f8e00ac..2a59faa632d 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2044,6 +2044,8 @@ struct isp_operations {
2044 uint32_t, uint32_t); 2044 uint32_t, uint32_t);
2045 int (*write_optrom) (struct scsi_qla_host *, uint8_t *, uint32_t, 2045 int (*write_optrom) (struct scsi_qla_host *, uint8_t *, uint32_t,
2046 uint32_t); 2046 uint32_t);
2047
2048 int (*get_flash_version) (struct scsi_qla_host *, void *);
2047}; 2049};
2048 2050
2049/* MSI-X Support *************************************************************/ 2051/* MSI-X Support *************************************************************/
@@ -2400,6 +2402,15 @@ typedef struct scsi_qla_host {
2400#define QLA_SREADING 1 2402#define QLA_SREADING 1
2401#define QLA_SWRITING 2 2403#define QLA_SWRITING 2
2402 2404
2405 /* PCI expansion ROM image information. */
2406#define ROM_CODE_TYPE_BIOS 0
2407#define ROM_CODE_TYPE_FCODE 1
2408#define ROM_CODE_TYPE_EFI 3
2409 uint8_t bios_revision[2];
2410 uint8_t efi_revision[2];
2411 uint8_t fcode_revision[16];
2412 uint32_t fw_revision[4];
2413
2403 /* Needed for BEACON */ 2414 /* Needed for BEACON */
2404 uint16_t beacon_blink_led; 2415 uint16_t beacon_blink_led;
2405 uint8_t beacon_color_state; 2416 uint8_t beacon_color_state;