diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2009-03-24 12:08:01 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2009-04-03 10:22:46 -0400 |
commit | b64b0e8fd964ce637794d4aaa772db1ae4298ea9 (patch) | |
tree | 676892927a4ec44afdb682ab30a58a30e1d50bfd /drivers/scsi/qla2xxx/qla_fw.h | |
parent | dda772e8e3b9832d3368f84df3a3b7ec7dfbd9f0 (diff) |
[SCSI] qla2xxx: Pass in optional extended-initialization control block.
Recent ISPs use this data to configure FCF information.
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_fw.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_fw.h | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_fw.h b/drivers/scsi/qla2xxx/qla_fw.h index ffff42554087..05cf8380a486 100644 --- a/drivers/scsi/qla2xxx/qla_fw.h +++ b/drivers/scsi/qla2xxx/qla_fw.h | |||
@@ -1440,7 +1440,17 @@ struct nvram_81xx { | |||
1440 | uint16_t reserved_6[24]; | 1440 | uint16_t reserved_6[24]; |
1441 | 1441 | ||
1442 | /* Offset 128. */ | 1442 | /* Offset 128. */ |
1443 | uint16_t reserved_7[64]; | 1443 | uint16_t ex_version; |
1444 | uint8_t prio_fcf_matching_flags; | ||
1445 | uint8_t reserved_6_1[3]; | ||
1446 | uint16_t pri_fcf_vlan_id; | ||
1447 | uint8_t pri_fcf_fabric_name[8]; | ||
1448 | uint16_t reserved_6_2[7]; | ||
1449 | uint8_t spma_mac_addr[6]; | ||
1450 | uint16_t reserved_6_3[14]; | ||
1451 | |||
1452 | /* Offset 192. */ | ||
1453 | uint16_t reserved_7[32]; | ||
1444 | 1454 | ||
1445 | /* | 1455 | /* |
1446 | * BIT 0 = Enable spinup delay | 1456 | * BIT 0 = Enable spinup delay |
@@ -1664,6 +1674,17 @@ struct mid_init_cb_81xx { | |||
1664 | struct mid_conf_entry_24xx entries[MAX_MULTI_ID_FABRIC]; | 1674 | struct mid_conf_entry_24xx entries[MAX_MULTI_ID_FABRIC]; |
1665 | }; | 1675 | }; |
1666 | 1676 | ||
1677 | struct ex_init_cb_81xx { | ||
1678 | uint16_t ex_version; | ||
1679 | uint8_t prio_fcf_matching_flags; | ||
1680 | uint8_t reserved_1[3]; | ||
1681 | uint16_t pri_fcf_vlan_id; | ||
1682 | uint8_t pri_fcf_fabric_name[8]; | ||
1683 | uint16_t reserved_2[7]; | ||
1684 | uint8_t spma_mac_addr[6]; | ||
1685 | uint16_t reserved_3[14]; | ||
1686 | }; | ||
1687 | |||
1667 | #define FARX_ACCESS_FLASH_CONF_81XX 0x7FFD0000 | 1688 | #define FARX_ACCESS_FLASH_CONF_81XX 0x7FFD0000 |
1668 | #define FARX_ACCESS_FLASH_DATA_81XX 0x7F800000 | 1689 | #define FARX_ACCESS_FLASH_DATA_81XX 0x7F800000 |
1669 | 1690 | ||