diff options
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_tmpl.h')
| -rw-r--r-- | drivers/scsi/qla2xxx/qla_tmpl.h | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/drivers/scsi/qla2xxx/qla_tmpl.h b/drivers/scsi/qla2xxx/qla_tmpl.h index c9d2fff4d964..1967424c8e64 100644 --- a/drivers/scsi/qla2xxx/qla_tmpl.h +++ b/drivers/scsi/qla2xxx/qla_tmpl.h | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | /* | 1 | /* |
| 2 | * QLogic Fibre Channel HBA Driver | 2 | * QLogic Fibre Channel HBA Driver |
| 3 | * Copyright (c) 2003-2013 QLogic Corporation | 3 | * Copyright (c) 2003-2014 QLogic Corporation |
| 4 | * | 4 | * |
| 5 | * See LICENSE.qla2xxx for copyright and licensing details. | 5 | * See LICENSE.qla2xxx for copyright and licensing details. |
| 6 | */ | 6 | */ |
| @@ -52,6 +52,7 @@ struct __packed qla27xx_fwdt_template { | |||
| 52 | #define ENTRY_TYPE_WRREMREG 271 | 52 | #define ENTRY_TYPE_WRREMREG 271 |
| 53 | #define ENTRY_TYPE_RDREMRAM 272 | 53 | #define ENTRY_TYPE_RDREMRAM 272 |
| 54 | #define ENTRY_TYPE_PCICFG 273 | 54 | #define ENTRY_TYPE_PCICFG 273 |
| 55 | #define ENTRY_TYPE_GET_SHADOW 274 | ||
| 55 | 56 | ||
| 56 | #define CAPTURE_FLAG_PHYS_ONLY BIT_0 | 57 | #define CAPTURE_FLAG_PHYS_ONLY BIT_0 |
| 57 | #define CAPTURE_FLAG_PHYS_VIRT BIT_1 | 58 | #define CAPTURE_FLAG_PHYS_VIRT BIT_1 |
| @@ -109,12 +110,12 @@ struct __packed qla27xx_fwdt_entry { | |||
| 109 | } t259; | 110 | } t259; |
| 110 | 111 | ||
| 111 | struct __packed { | 112 | struct __packed { |
| 112 | uint8_t pci_addr; | 113 | uint8_t pci_offset; |
| 113 | uint8_t reserved[3]; | 114 | uint8_t reserved[3]; |
| 114 | } t260; | 115 | } t260; |
| 115 | 116 | ||
| 116 | struct __packed { | 117 | struct __packed { |
| 117 | uint8_t pci_addr; | 118 | uint8_t pci_offset; |
| 118 | uint8_t reserved[3]; | 119 | uint8_t reserved[3]; |
| 119 | uint32_t write_data; | 120 | uint32_t write_data; |
| 120 | } t261; | 121 | } t261; |
| @@ -186,6 +187,12 @@ struct __packed qla27xx_fwdt_entry { | |||
| 186 | uint32_t addr; | 187 | uint32_t addr; |
| 187 | uint32_t count; | 188 | uint32_t count; |
| 188 | } t273; | 189 | } t273; |
| 190 | |||
| 191 | struct __packed { | ||
| 192 | uint32_t num_queues; | ||
| 193 | uint8_t queue_type; | ||
| 194 | uint8_t reserved[3]; | ||
| 195 | } t274; | ||
| 189 | }; | 196 | }; |
| 190 | }; | 197 | }; |
| 191 | 198 | ||
| @@ -202,4 +209,8 @@ struct __packed qla27xx_fwdt_entry { | |||
| 202 | #define T268_BUF_TYPE_EXCH_BUFOFF 2 | 209 | #define T268_BUF_TYPE_EXCH_BUFOFF 2 |
| 203 | #define T268_BUF_TYPE_EXTD_LOGIN 3 | 210 | #define T268_BUF_TYPE_EXTD_LOGIN 3 |
| 204 | 211 | ||
| 212 | #define T274_QUEUE_TYPE_REQ_SHAD 1 | ||
| 213 | #define T274_QUEUE_TYPE_RSP_SHAD 2 | ||
| 214 | #define T274_QUEUE_TYPE_ATIO_SHAD 3 | ||
| 215 | |||
| 205 | #endif | 216 | #endif |
