diff options
author | David S. Miller <davem@davemloft.net> | 2015-02-20 15:46:55 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-02-20 15:46:55 -0500 |
commit | 931c471af51565a6290d9fabbe14ed7c8fa4a317 (patch) | |
tree | 8adff655442ccf25229cc7c4098b9700356d7de2 /drivers/net/ethernet | |
parent | 959d10f6bbf6ab5b8813c4e37540a2e43ca2ae96 (diff) | |
parent | 85fe7cd21f99fed1842275ef86c88de5ecc998b4 (diff) |
Merge branch 'bnx2x-next'
Rasesh Mody says:
====================
bnx2-cnic: Driver Version Upgrades
This patch set includes bnx2 and cnic drivers' re-branding changes, fix for a
chip initialization issue and updates the bnx2 driver version to 2.2.6 and
cnic driver version to 2.5.21.
Please apply these patches to net-next.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet')
-rw-r--r-- | drivers/net/ethernet/broadcom/Kconfig | 8 | ||||
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2.c | 14 | ||||
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2.h | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2_fw.h | 4 | ||||
-rw-r--r-- | drivers/net/ethernet/broadcom/cnic.c | 6 | ||||
-rw-r--r-- | drivers/net/ethernet/broadcom/cnic_if.h | 8 |
6 files changed, 21 insertions, 23 deletions
diff --git a/drivers/net/ethernet/broadcom/Kconfig b/drivers/net/ethernet/broadcom/Kconfig index 41a3c9804427..ee4fdfe65e9e 100644 --- a/drivers/net/ethernet/broadcom/Kconfig +++ b/drivers/net/ethernet/broadcom/Kconfig | |||
@@ -71,12 +71,12 @@ config BCMGENET | |||
71 | Broadcom BCM7xxx Set Top Box family chipset. | 71 | Broadcom BCM7xxx Set Top Box family chipset. |
72 | 72 | ||
73 | config BNX2 | 73 | config BNX2 |
74 | tristate "QLogic NetXtremeII support" | 74 | tristate "QLogic bnx2 support" |
75 | depends on PCI | 75 | depends on PCI |
76 | select CRC32 | 76 | select CRC32 |
77 | select FW_LOADER | 77 | select FW_LOADER |
78 | ---help--- | 78 | ---help--- |
79 | This driver supports QLogic NetXtremeII gigabit Ethernet cards. | 79 | This driver supports QLogic bnx2 gigabit Ethernet cards. |
80 | 80 | ||
81 | To compile this driver as a module, choose M here: the module | 81 | To compile this driver as a module, choose M here: the module |
82 | will be called bnx2. This is recommended. | 82 | will be called bnx2. This is recommended. |
@@ -87,8 +87,8 @@ config CNIC | |||
87 | select BNX2 | 87 | select BNX2 |
88 | select UIO | 88 | select UIO |
89 | ---help--- | 89 | ---help--- |
90 | This driver supports offload features of QLogic NetXtremeII | 90 | This driver supports offload features of QLogic bnx2 gigabit |
91 | gigabit Ethernet cards. | 91 | Ethernet cards. |
92 | 92 | ||
93 | To compile this driver as a module, choose M here: the module | 93 | To compile this driver as a module, choose M here: the module |
94 | will be called cnic. This is recommended. | 94 | will be called cnic. This is recommended. |
diff --git a/drivers/net/ethernet/broadcom/bnx2.c b/drivers/net/ethernet/broadcom/bnx2.c index 02bf0b86995b..9f146b990c01 100644 --- a/drivers/net/ethernet/broadcom/bnx2.c +++ b/drivers/net/ethernet/broadcom/bnx2.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* bnx2.c: QLogic NX2 network driver. | 1 | /* bnx2.c: QLogic bnx2 network driver. |
2 | * | 2 | * |
3 | * Copyright (c) 2004-2014 Broadcom Corporation | 3 | * Copyright (c) 2004-2014 Broadcom Corporation |
4 | * Copyright (c) 2014 QLogic Corporation | 4 | * Copyright (c) 2014-2015 QLogic Corporation |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -58,8 +58,8 @@ | |||
58 | #include "bnx2_fw.h" | 58 | #include "bnx2_fw.h" |
59 | 59 | ||
60 | #define DRV_MODULE_NAME "bnx2" | 60 | #define DRV_MODULE_NAME "bnx2" |
61 | #define DRV_MODULE_VERSION "2.2.5" | 61 | #define DRV_MODULE_VERSION "2.2.6" |
62 | #define DRV_MODULE_RELDATE "December 20, 2013" | 62 | #define DRV_MODULE_RELDATE "January 29, 2014" |
63 | #define FW_MIPS_FILE_06 "bnx2/bnx2-mips-06-6.2.3.fw" | 63 | #define FW_MIPS_FILE_06 "bnx2/bnx2-mips-06-6.2.3.fw" |
64 | #define FW_RV2P_FILE_06 "bnx2/bnx2-rv2p-06-6.0.15.fw" | 64 | #define FW_RV2P_FILE_06 "bnx2/bnx2-rv2p-06-6.0.15.fw" |
65 | #define FW_MIPS_FILE_09 "bnx2/bnx2-mips-09-6.2.1b.fw" | 65 | #define FW_MIPS_FILE_09 "bnx2/bnx2-mips-09-6.2.1b.fw" |
@@ -72,10 +72,10 @@ | |||
72 | #define TX_TIMEOUT (5*HZ) | 72 | #define TX_TIMEOUT (5*HZ) |
73 | 73 | ||
74 | static char version[] = | 74 | static char version[] = |
75 | "QLogic NetXtreme II Gigabit Ethernet Driver " DRV_MODULE_NAME " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 75 | "QLogic " DRV_MODULE_NAME " Gigabit Ethernet Driver v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
76 | 76 | ||
77 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>"); | 77 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com>"); |
78 | MODULE_DESCRIPTION("QLogic NetXtreme II BCM5706/5708/5709/5716 Driver"); | 78 | MODULE_DESCRIPTION("QLogic BCM5706/5708/5709/5716 Driver"); |
79 | MODULE_LICENSE("GPL"); | 79 | MODULE_LICENSE("GPL"); |
80 | MODULE_VERSION(DRV_MODULE_VERSION); | 80 | MODULE_VERSION(DRV_MODULE_VERSION); |
81 | MODULE_FIRMWARE(FW_MIPS_FILE_06); | 81 | MODULE_FIRMWARE(FW_MIPS_FILE_06); |
@@ -4984,8 +4984,6 @@ bnx2_init_chip(struct bnx2 *bp) | |||
4984 | 4984 | ||
4985 | bp->idle_chk_status_idx = 0xffff; | 4985 | bp->idle_chk_status_idx = 0xffff; |
4986 | 4986 | ||
4987 | bp->rx_mode = BNX2_EMAC_RX_MODE_SORT_MODE; | ||
4988 | |||
4989 | /* Set up how to generate a link change interrupt. */ | 4987 | /* Set up how to generate a link change interrupt. */ |
4990 | BNX2_WR(bp, BNX2_EMAC_ATTENTION_ENA, BNX2_EMAC_ATTENTION_ENA_LINK); | 4988 | BNX2_WR(bp, BNX2_EMAC_ATTENTION_ENA, BNX2_EMAC_ATTENTION_ENA_LINK); |
4991 | 4989 | ||
diff --git a/drivers/net/ethernet/broadcom/bnx2.h b/drivers/net/ethernet/broadcom/bnx2.h index 28df35d35893..f92f76c44756 100644 --- a/drivers/net/ethernet/broadcom/bnx2.h +++ b/drivers/net/ethernet/broadcom/bnx2.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* bnx2.h: QLogic NX2 network driver. | 1 | /* bnx2.h: QLogic bnx2 network driver. |
2 | * | 2 | * |
3 | * Copyright (c) 2004-2014 Broadcom Corporation | 3 | * Copyright (c) 2004-2014 Broadcom Corporation |
4 | * Copyright (c) 2014 QLogic Corporation | 4 | * Copyright (c) 2014-2015 QLogic Corporation |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/ethernet/broadcom/bnx2_fw.h b/drivers/net/ethernet/broadcom/bnx2_fw.h index 7db79c28b5ff..b0f2ccadaffd 100644 --- a/drivers/net/ethernet/broadcom/bnx2_fw.h +++ b/drivers/net/ethernet/broadcom/bnx2_fw.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* bnx2_fw.h: QLogic NX2 network driver. | 1 | /* bnx2_fw.h: QLogic bnx2 network driver. |
2 | * | 2 | * |
3 | * Copyright (c) 2004, 2005, 2006, 2007 Broadcom Corporation | 3 | * Copyright (c) 2004, 2005, 2006, 2007 Broadcom Corporation |
4 | * Copyright (c) 2014 QLogic Corporation | 4 | * Copyright (c) 2014-2015 QLogic Corporation |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/net/ethernet/broadcom/cnic.c b/drivers/net/ethernet/broadcom/cnic.c index f05fab65d78a..17c145fdf3ff 100644 --- a/drivers/net/ethernet/broadcom/cnic.c +++ b/drivers/net/ethernet/broadcom/cnic.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* cnic.c: QLogic CNIC core network driver. | 1 | /* cnic.c: QLogic CNIC core network driver. |
2 | * | 2 | * |
3 | * Copyright (c) 2006-2014 Broadcom Corporation | 3 | * Copyright (c) 2006-2014 Broadcom Corporation |
4 | * Copyright (c) 2014 QLogic Corporation | 4 | * Copyright (c) 2014-2015 QLogic Corporation |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -58,11 +58,11 @@ | |||
58 | #define CNIC_MODULE_NAME "cnic" | 58 | #define CNIC_MODULE_NAME "cnic" |
59 | 59 | ||
60 | static char version[] = | 60 | static char version[] = |
61 | "QLogic NetXtreme II CNIC Driver " CNIC_MODULE_NAME " v" CNIC_MODULE_VERSION " (" CNIC_MODULE_RELDATE ")\n"; | 61 | "QLogic " CNIC_MODULE_NAME "Driver v" CNIC_MODULE_VERSION " (" CNIC_MODULE_RELDATE ")\n"; |
62 | 62 | ||
63 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com> and John(Zongxi) " | 63 | MODULE_AUTHOR("Michael Chan <mchan@broadcom.com> and John(Zongxi) " |
64 | "Chen (zongxi@broadcom.com"); | 64 | "Chen (zongxi@broadcom.com"); |
65 | MODULE_DESCRIPTION("QLogic NetXtreme II CNIC Driver"); | 65 | MODULE_DESCRIPTION("QLogic cnic Driver"); |
66 | MODULE_LICENSE("GPL"); | 66 | MODULE_LICENSE("GPL"); |
67 | MODULE_VERSION(CNIC_MODULE_VERSION); | 67 | MODULE_VERSION(CNIC_MODULE_VERSION); |
68 | 68 | ||
diff --git a/drivers/net/ethernet/broadcom/cnic_if.h b/drivers/net/ethernet/broadcom/cnic_if.h index 8bb36c1c4d68..ef6125b0ee3e 100644 --- a/drivers/net/ethernet/broadcom/cnic_if.h +++ b/drivers/net/ethernet/broadcom/cnic_if.h | |||
@@ -1,7 +1,7 @@ | |||
1 | /* cnic_if.h: QLogic CNIC core network driver. | 1 | /* cnic_if.h: QLogic cnic core network driver. |
2 | * | 2 | * |
3 | * Copyright (c) 2006-2014 Broadcom Corporation | 3 | * Copyright (c) 2006-2014 Broadcom Corporation |
4 | * Copyright (c) 2014 QLogic Corporation | 4 | * Copyright (c) 2014-2015 QLogic Corporation |
5 | * | 5 | * |
6 | * This program is free software; you can redistribute it and/or modify | 6 | * This program is free software; you can redistribute it and/or modify |
7 | * it under the terms of the GNU General Public License as published by | 7 | * it under the terms of the GNU General Public License as published by |
@@ -15,8 +15,8 @@ | |||
15 | 15 | ||
16 | #include "bnx2x/bnx2x_mfw_req.h" | 16 | #include "bnx2x/bnx2x_mfw_req.h" |
17 | 17 | ||
18 | #define CNIC_MODULE_VERSION "2.5.20" | 18 | #define CNIC_MODULE_VERSION "2.5.21" |
19 | #define CNIC_MODULE_RELDATE "March 14, 2014" | 19 | #define CNIC_MODULE_RELDATE "January 29, 2015" |
20 | 20 | ||
21 | #define CNIC_ULP_RDMA 0 | 21 | #define CNIC_ULP_RDMA 0 |
22 | #define CNIC_ULP_ISCSI 1 | 22 | #define CNIC_ULP_ISCSI 1 |