forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h
....@@ -1,20 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2013-2014 Chelsio Communications. All rights reserved.
34 *
45 * Written by Anish Bhatt (anish@chelsio.com)
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms and conditions of the GNU General Public License,
8
- * version 2, as published by the Free Software Foundation.
9
- *
10
- * This program is distributed in the hope it will be useful, but WITHOUT
11
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13
- * more details.
14
- *
15
- * The full GNU General Public License is included in this distribution in
16
- * the file called "COPYING".
17
- *
186 */
197
208 #ifndef __CXGB4_DCB_H
....@@ -148,6 +136,9 @@
148136 ((val & 0x02) << 5) |
149137 ((val & 0x01) << 7);
150138 }
139
+
140
+extern const char * const dcb_ver_array[];
141
+
151142 #define CXGB4_DCB_ENABLED true
152143
153144 #else /* !CONFIG_CHELSIO_T4_DCB */