| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * QLogic Fibre Channel HBA Driver |
|---|
| 3 | 4 | * Copyright (c) 2003-2014 QLogic Corporation |
|---|
| 4 | | - * |
|---|
| 5 | | - * See LICENSE.qla2xxx for copyright and licensing details. |
|---|
| 6 | 5 | */ |
|---|
| 7 | 6 | #ifndef __QLA_BSG_H |
|---|
| 8 | 7 | #define __QLA_BSG_H |
|---|
| .. | .. |
|---|
| 31 | 30 | #define QL_VND_GET_PRIV_STATS 0x18 |
|---|
| 32 | 31 | #define QL_VND_DPORT_DIAGNOSTICS 0x19 |
|---|
| 33 | 32 | #define QL_VND_GET_PRIV_STATS_EX 0x1A |
|---|
| 33 | +#define QL_VND_SS_GET_FLASH_IMAGE_STATUS 0x1E |
|---|
| 34 | 34 | |
|---|
| 35 | 35 | /* BSG Vendor specific subcode returns */ |
|---|
| 36 | 36 | #define EXT_STATUS_OK 0 |
|---|
| .. | .. |
|---|
| 279 | 279 | #define QLA_DPORT_RESULT 0x0 |
|---|
| 280 | 280 | #define QLA_DPORT_START 0x2 |
|---|
| 281 | 281 | |
|---|
| 282 | +/* active images in flash */ |
|---|
| 283 | +struct qla_active_regions { |
|---|
| 284 | + uint8_t global_image; |
|---|
| 285 | + uint8_t board_config; |
|---|
| 286 | + uint8_t vpd_nvram; |
|---|
| 287 | + uint8_t npiv_config_0_1; |
|---|
| 288 | + uint8_t npiv_config_2_3; |
|---|
| 289 | + uint8_t reserved[32]; |
|---|
| 290 | +} __packed; |
|---|
| 291 | + |
|---|
| 282 | 292 | #endif |
|---|