| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2013-2014 Chelsio Communications. All rights reserved. |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * 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 | | - * |
|---|
| 18 | 6 | */ |
|---|
| 19 | 7 | |
|---|
| 20 | 8 | #ifndef __CXGB4_DCB_H |
|---|
| .. | .. |
|---|
| 148 | 136 | ((val & 0x02) << 5) | |
|---|
| 149 | 137 | ((val & 0x01) << 7); |
|---|
| 150 | 138 | } |
|---|
| 139 | + |
|---|
| 140 | +extern const char * const dcb_ver_array[]; |
|---|
| 141 | + |
|---|
| 151 | 142 | #define CXGB4_DCB_ENABLED true |
|---|
| 152 | 143 | |
|---|
| 153 | 144 | #else /* !CONFIG_CHELSIO_T4_DCB */ |
|---|