aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorAndrew Vasquez <andrew.vasquez@qlogic.com>2007-01-29 13:22:21 -0500
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-01-31 12:06:38 -0500
commit30c4766213aeb684ee477ac7f36703f9134ac7ad (patch)
tree91b95d4e765aa74856e4e7a4b9ee5aefb04e01dc /drivers/scsi/qla2xxx/qla_def.h
parentd88021a6710e6ed5d1899ba2e54d4638026e277d (diff)
[SCSI] qla2xxx: Export OptionROM boot-codes version information.
This includes BIOS, EFI, FCODE and firmware versions. 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_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 3b26f8e00ace..2a59faa632df 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;