| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2003 - 2009 NetXen, Inc. |
|---|
| 3 | 4 | * Copyright (C) 2009 - QLogic Corporation. |
|---|
| 4 | 5 | * All rights reserved. |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or |
|---|
| 7 | | - * modify it under the terms of the GNU General Public License |
|---|
| 8 | | - * as published by the Free Software Foundation; either version 2 |
|---|
| 9 | | - * of the License, or (at your option) any later version. |
|---|
| 10 | | - * |
|---|
| 11 | | - * This program is distributed in the hope that it will be useful, but |
|---|
| 12 | | - * WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 13 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 14 | | - * GNU General Public License for more details. |
|---|
| 15 | | - * |
|---|
| 16 | | - * You should have received a copy of the GNU General Public License |
|---|
| 17 | | - * along with this program; if not, see <http://www.gnu.org/licenses/>. |
|---|
| 18 | | - * |
|---|
| 19 | | - * The full GNU General Public License is included in this distribution |
|---|
| 20 | | - * in the file called "COPYING". |
|---|
| 21 | | - * |
|---|
| 22 | 6 | */ |
|---|
| 23 | 7 | |
|---|
| 24 | 8 | #ifndef _NETXEN_NIC_H_ |
|---|
| .. | .. |
|---|
| 1205 | 1189 | #define NX_FORCE_FW_RESET 0xdeaddead |
|---|
| 1206 | 1190 | |
|---|
| 1207 | 1191 | |
|---|
| 1208 | | -/* Fw dump levels */ |
|---|
| 1209 | | -static const u32 FW_DUMP_LEVELS[] = { 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f, 0xff }; |
|---|
| 1210 | | - |
|---|
| 1211 | 1192 | /* Flash read/write address */ |
|---|
| 1212 | 1193 | #define NX_FW_DUMP_REG1 0x00130060 |
|---|
| 1213 | 1194 | #define NX_FW_DUMP_REG2 0x001e0000 |
|---|
| .. | .. |
|---|
| 1332 | 1313 | u32 driver_info_word4; |
|---|
| 1333 | 1314 | u32 saved_state_array[NX_DUMP_STATE_ARRAY_LEN]; |
|---|
| 1334 | 1315 | u32 capture_size_array[NX_DUMP_CAP_SIZE_ARRAY_LEN]; |
|---|
| 1335 | | - u32 rsvd[0]; |
|---|
| 1316 | + u32 rsvd[]; |
|---|
| 1336 | 1317 | }; |
|---|
| 1337 | 1318 | |
|---|
| 1338 | 1319 | /* Common Entry Header: Common to All Entry Types */ |
|---|