diff options
| -rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | 10 | ||||
| -rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | 1 | ||||
| -rw-r--r-- | drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h | 48 |
3 files changed, 49 insertions, 10 deletions
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h index d98a44637896..fb6980a09981 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4.h | |||
| @@ -49,16 +49,6 @@ | |||
| 49 | #include <asm/io.h> | 49 | #include <asm/io.h> |
| 50 | #include "cxgb4_uld.h" | 50 | #include "cxgb4_uld.h" |
| 51 | 51 | ||
| 52 | #define T4FW_VERSION_MAJOR 0x01 | ||
| 53 | #define T4FW_VERSION_MINOR 0x0C | ||
| 54 | #define T4FW_VERSION_MICRO 0x19 | ||
| 55 | #define T4FW_VERSION_BUILD 0x00 | ||
| 56 | |||
| 57 | #define T5FW_VERSION_MAJOR 0x01 | ||
| 58 | #define T5FW_VERSION_MINOR 0x0C | ||
| 59 | #define T5FW_VERSION_MICRO 0x19 | ||
| 60 | #define T5FW_VERSION_BUILD 0x00 | ||
| 61 | |||
| 62 | #define CH_WARN(adap, fmt, ...) dev_warn(adap->pdev_dev, fmt, ## __VA_ARGS__) | 52 | #define CH_WARN(adap, fmt, ...) dev_warn(adap->pdev_dev, fmt, ## __VA_ARGS__) |
| 63 | 53 | ||
| 64 | enum { | 54 | enum { |
diff --git a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c index c27dcd98ea33..5bf490a781aa 100644 --- a/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +++ b/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c | |||
| @@ -70,6 +70,7 @@ | |||
| 70 | #include "t4_values.h" | 70 | #include "t4_values.h" |
| 71 | #include "t4_msg.h" | 71 | #include "t4_msg.h" |
| 72 | #include "t4fw_api.h" | 72 | #include "t4fw_api.h" |
| 73 | #include "t4fw_version.h" | ||
| 73 | #include "cxgb4_dcb.h" | 74 | #include "cxgb4_dcb.h" |
| 74 | #include "cxgb4_debugfs.h" | 75 | #include "cxgb4_debugfs.h" |
| 75 | #include "clip_tbl.h" | 76 | #include "clip_tbl.h" |
diff --git a/drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h b/drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h new file mode 100644 index 000000000000..e2bd3f747858 --- /dev/null +++ b/drivers/net/ethernet/chelsio/cxgb4/t4fw_version.h | |||
| @@ -0,0 +1,48 @@ | |||
| 1 | /* | ||
| 2 | * This file is part of the Chelsio T4 Ethernet driver for Linux. | ||
| 3 | * | ||
| 4 | * Copyright (c) 2003-2014 Chelsio Communications, Inc. All rights reserved. | ||
| 5 | * | ||
| 6 | * This software is available to you under a choice of one of two | ||
| 7 | * licenses. You may choose to be licensed under the terms of the GNU | ||
| 8 | * General Public License (GPL) Version 2, available from the file | ||
| 9 | * COPYING in the main directory of this source tree, or the | ||
| 10 | * OpenIB.org BSD license below: | ||
| 11 | * | ||
| 12 | * Redistribution and use in source and binary forms, with or | ||
| 13 | * without modification, are permitted provided that the following | ||
| 14 | * conditions are met: | ||
| 15 | * | ||
| 16 | * - Redistributions of source code must retain the above | ||
| 17 | * copyright notice, this list of conditions and the following | ||
| 18 | * disclaimer. | ||
| 19 | * | ||
| 20 | * - Redistributions in binary form must reproduce the above | ||
| 21 | * copyright notice, this list of conditions and the following | ||
| 22 | * disclaimer in the documentation and/or other materials | ||
| 23 | * provided with the distribution. | ||
| 24 | * | ||
| 25 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
| 26 | * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
| 27 | * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
| 28 | * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
| 29 | * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
| 30 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
| 31 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
| 32 | * SOFTWARE. | ||
| 33 | */ | ||
| 34 | |||
| 35 | #ifndef __T4FW_VERSION_H__ | ||
| 36 | #define __T4FW_VERSION_H__ | ||
| 37 | |||
| 38 | #define T4FW_VERSION_MAJOR 0x01 | ||
| 39 | #define T4FW_VERSION_MINOR 0x0C | ||
| 40 | #define T4FW_VERSION_MICRO 0x19 | ||
| 41 | #define T4FW_VERSION_BUILD 0x00 | ||
| 42 | |||
| 43 | #define T5FW_VERSION_MAJOR 0x01 | ||
| 44 | #define T5FW_VERSION_MINOR 0x0C | ||
| 45 | #define T5FW_VERSION_MICRO 0x19 | ||
| 46 | #define T5FW_VERSION_BUILD 0x00 | ||
| 47 | |||
| 48 | #endif | ||
