hc
2023-12-09 b22da3d8526a935aa31e086e63f60ff3246cb61c
kernel/drivers/net/ethernet/qlogic/netxen/netxen_nic.h
....@@ -1,24 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2003 - 2009 NetXen, Inc.
34 * Copyright (C) 2009 - QLogic Corporation.
45 * 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
- *
226 */
237
248 #ifndef _NETXEN_NIC_H_
....@@ -1205,9 +1189,6 @@
12051189 #define NX_FORCE_FW_RESET 0xdeaddead
12061190
12071191
1208
-/* Fw dump levels */
1209
-static const u32 FW_DUMP_LEVELS[] = { 0x3, 0x7, 0xf, 0x1f, 0x3f, 0x7f, 0xff };
1210
-
12111192 /* Flash read/write address */
12121193 #define NX_FW_DUMP_REG1 0x00130060
12131194 #define NX_FW_DUMP_REG2 0x001e0000
....@@ -1332,7 +1313,7 @@
13321313 u32 driver_info_word4;
13331314 u32 saved_state_array[NX_DUMP_STATE_ARRAY_LEN];
13341315 u32 capture_size_array[NX_DUMP_CAP_SIZE_ARRAY_LEN];
1335
- u32 rsvd[0];
1316
+ u32 rsvd[];
13361317 };
13371318
13381319 /* Common Entry Header: Common to All Entry Types */