diff options
Diffstat (limited to 'drivers/scsi/qla4xxx/ql4_fw.h')
-rw-r--r-- | drivers/scsi/qla4xxx/ql4_fw.h | 29 |
1 files changed, 28 insertions, 1 deletions
diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b/drivers/scsi/qla4xxx/ql4_fw.h index 0336c6db8cb3..01082aa77098 100644 --- a/drivers/scsi/qla4xxx/ql4_fw.h +++ b/drivers/scsi/qla4xxx/ql4_fw.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* | 1 | /* |
2 | * QLogic iSCSI HBA Driver | 2 | * QLogic iSCSI HBA Driver |
3 | * Copyright (c) 2003-2006 QLogic Corporation | 3 | * Copyright (c) 2003-2010 QLogic Corporation |
4 | * | 4 | * |
5 | * See LICENSE.qla4xxx for copyright and licensing details. | 5 | * See LICENSE.qla4xxx for copyright and licensing details. |
6 | */ | 6 | */ |
@@ -416,6 +416,8 @@ struct qla_flt_region { | |||
416 | #define MBOX_ASTS_IPV6_ND_PREFIX_IGNORED 0x802C | 416 | #define MBOX_ASTS_IPV6_ND_PREFIX_IGNORED 0x802C |
417 | #define MBOX_ASTS_IPV6_LCL_PREFIX_IGNORED 0x802D | 417 | #define MBOX_ASTS_IPV6_LCL_PREFIX_IGNORED 0x802D |
418 | #define MBOX_ASTS_ICMPV6_ERROR_MSG_RCVD 0x802E | 418 | #define MBOX_ASTS_ICMPV6_ERROR_MSG_RCVD 0x802E |
419 | #define MBOX_ASTS_TXSCVR_INSERTED 0x8130 | ||
420 | #define MBOX_ASTS_TXSCVR_REMOVED 0x8131 | ||
419 | 421 | ||
420 | #define ISNS_EVENT_DATA_RECEIVED 0x0000 | 422 | #define ISNS_EVENT_DATA_RECEIVED 0x0000 |
421 | #define ISNS_EVENT_CONNECTION_OPENED 0x0001 | 423 | #define ISNS_EVENT_CONNECTION_OPENED 0x0001 |
@@ -446,12 +448,14 @@ struct addr_ctrl_blk { | |||
446 | #define FWOPT_SESSION_MODE 0x0040 | 448 | #define FWOPT_SESSION_MODE 0x0040 |
447 | #define FWOPT_INITIATOR_MODE 0x0020 | 449 | #define FWOPT_INITIATOR_MODE 0x0020 |
448 | #define FWOPT_TARGET_MODE 0x0010 | 450 | #define FWOPT_TARGET_MODE 0x0010 |
451 | #define FWOPT_ENABLE_CRBDB 0x8000 | ||
449 | 452 | ||
450 | uint16_t exec_throttle; /* 04-05 */ | 453 | uint16_t exec_throttle; /* 04-05 */ |
451 | uint8_t zio_count; /* 06 */ | 454 | uint8_t zio_count; /* 06 */ |
452 | uint8_t res0; /* 07 */ | 455 | uint8_t res0; /* 07 */ |
453 | uint16_t eth_mtu_size; /* 08-09 */ | 456 | uint16_t eth_mtu_size; /* 08-09 */ |
454 | uint16_t add_fw_options; /* 0A-0B */ | 457 | uint16_t add_fw_options; /* 0A-0B */ |
458 | #define SERIALIZE_TASK_MGMT 0x0400 | ||
455 | 459 | ||
456 | uint8_t hb_interval; /* 0C */ | 460 | uint8_t hb_interval; /* 0C */ |
457 | uint8_t inst_num; /* 0D */ | 461 | uint8_t inst_num; /* 0D */ |
@@ -686,6 +690,29 @@ struct mbx_sys_info { | |||
686 | uint8_t reserved[12]; /* 34-3f */ | 690 | uint8_t reserved[12]; /* 34-3f */ |
687 | }; | 691 | }; |
688 | 692 | ||
693 | struct about_fw_info { | ||
694 | uint16_t fw_major; /* 00 - 01 */ | ||
695 | uint16_t fw_minor; /* 02 - 03 */ | ||
696 | uint16_t fw_patch; /* 04 - 05 */ | ||
697 | uint16_t fw_build; /* 06 - 07 */ | ||
698 | uint8_t fw_build_date[16]; /* 08 - 17 ASCII String */ | ||
699 | uint8_t fw_build_time[16]; /* 18 - 27 ASCII String */ | ||
700 | uint8_t fw_build_user[16]; /* 28 - 37 ASCII String */ | ||
701 | uint16_t fw_load_source; /* 38 - 39 */ | ||
702 | /* 1 = Flash Primary, | ||
703 | 2 = Flash Secondary, | ||
704 | 3 = Host Download | ||
705 | */ | ||
706 | uint8_t reserved1[6]; /* 3A - 3F */ | ||
707 | uint16_t iscsi_major; /* 40 - 41 */ | ||
708 | uint16_t iscsi_minor; /* 42 - 43 */ | ||
709 | uint16_t bootload_major; /* 44 - 45 */ | ||
710 | uint16_t bootload_minor; /* 46 - 47 */ | ||
711 | uint16_t bootload_patch; /* 48 - 49 */ | ||
712 | uint16_t bootload_build; /* 4A - 4B */ | ||
713 | uint8_t reserved2[180]; /* 4C - FF */ | ||
714 | }; | ||
715 | |||
689 | struct crash_record { | 716 | struct crash_record { |
690 | uint16_t fw_major_version; /* 00 - 01 */ | 717 | uint16_t fw_major_version; /* 00 - 01 */ |
691 | uint16_t fw_minor_version; /* 02 - 03 */ | 718 | uint16_t fw_minor_version; /* 02 - 03 */ |