diff options
author | Saurav Kashyap <saurav.kashyap@qlogic.com> | 2014-07-03 08:18:28 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-07-25 17:16:59 -0400 |
commit | 17d87c45b9042fa2f830c5a47cdfd3370bb60729 (patch) | |
tree | 3653cce1d8754be253ef8cac615c178e56af6d9f | |
parent | f39a775715c86bb9165a3fc79bfc652138e44ff4 (diff) |
bnx2fc: Rebranding bnx2fc driver
QLogic has acquired the NetXtremeII products and drivers from Broadcom.
This patch re-brands bnx2fc driver as a QLogic driver
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Acked-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r-- | drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h | 13 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/Kconfig | 4 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc.h | 7 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_constants.h | 13 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_debug.c | 13 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_debug.h | 13 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_els.c | 3 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_fcoe.c | 11 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_hwi.c | 3 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_io.c | 3 | ||||
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc_tgt.c | 3 |
11 files changed, 72 insertions, 14 deletions
diff --git a/drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h b/drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h index e1f1e3448f98..fe2106c91c08 100644 --- a/drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h +++ b/drivers/scsi/bnx2fc/57xx_hsi_bnx2fc.h | |||
@@ -1,3 +1,16 @@ | |||
1 | /* 57xx_hsi_bnx2fc.h: QLogic NetXtreme II Linux FCoE offload driver. | ||
2 | * Handles operations such as session offload/upload etc, and manages | ||
3 | * session resources such as connection id and qp resources. | ||
4 | * | ||
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | ||
6 | * Copyright (c) 2014, QLogic Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation. | ||
11 | * | ||
12 | */ | ||
13 | |||
1 | #ifndef __57XX_FCOE_HSI_LINUX_LE__ | 14 | #ifndef __57XX_FCOE_HSI_LINUX_LE__ |
2 | #define __57XX_FCOE_HSI_LINUX_LE__ | 15 | #define __57XX_FCOE_HSI_LINUX_LE__ |
3 | 16 | ||
diff --git a/drivers/scsi/bnx2fc/Kconfig b/drivers/scsi/bnx2fc/Kconfig index cfcad8bde7cf..f245d543d7b1 100644 --- a/drivers/scsi/bnx2fc/Kconfig +++ b/drivers/scsi/bnx2fc/Kconfig | |||
@@ -1,5 +1,5 @@ | |||
1 | config SCSI_BNX2X_FCOE | 1 | config SCSI_BNX2X_FCOE |
2 | tristate "Broadcom NetXtreme II FCoE support" | 2 | tristate "QLogic NetXtreme II FCoE support" |
3 | depends on PCI | 3 | depends on PCI |
4 | select NETDEVICES | 4 | select NETDEVICES |
5 | select ETHERNET | 5 | select ETHERNET |
@@ -8,5 +8,5 @@ config SCSI_BNX2X_FCOE | |||
8 | select LIBFCOE | 8 | select LIBFCOE |
9 | select CNIC | 9 | select CNIC |
10 | ---help--- | 10 | ---help--- |
11 | This driver supports FCoE offload for the Broadcom NetXtreme II | 11 | This driver supports FCoE offload for the QLogic NetXtreme II |
12 | devices. | 12 | devices. |
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index 6a976657b475..1346e052e03c 100644 --- a/drivers/scsi/bnx2fc/bnx2fc.h +++ b/drivers/scsi/bnx2fc/bnx2fc.h | |||
@@ -1,8 +1,7 @@ | |||
1 | #ifndef _BNX2FC_H_ | 1 | /* bnx2fc.h: QLogic NetXtreme II Linux FCoE offload driver. |
2 | #define _BNX2FC_H_ | ||
3 | /* bnx2fc.h: Broadcom NetXtreme II Linux FCoE offload driver. | ||
4 | * | 2 | * |
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | 3 | * Copyright (c) 2008 - 2013 Broadcom Corporation |
4 | * Copyright (c) 2014, QLogic Corporation | ||
6 | * | 5 | * |
7 | * 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 |
8 | * 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 |
@@ -11,6 +10,8 @@ | |||
11 | * Written by: Bhanu Prakash Gollapudi (bprakash@broadcom.com) | 10 | * Written by: Bhanu Prakash Gollapudi (bprakash@broadcom.com) |
12 | */ | 11 | */ |
13 | 12 | ||
13 | #ifndef _BNX2FC_H_ | ||
14 | #define _BNX2FC_H_ | ||
14 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt | 15 | #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
15 | 16 | ||
16 | #include <linux/module.h> | 17 | #include <linux/module.h> |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_constants.h b/drivers/scsi/bnx2fc/bnx2fc_constants.h index dad9924abbbb..e147cc7ee36c 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_constants.h +++ b/drivers/scsi/bnx2fc/bnx2fc_constants.h | |||
@@ -1,3 +1,16 @@ | |||
1 | /* bnx2fc_constants.h: QLogic NetXtreme II Linux FCoE offload driver. | ||
2 | * Handles operations such as session offload/upload etc, and manages | ||
3 | * session resources such as connection id and qp resources. | ||
4 | * | ||
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | ||
6 | * Copyright (c) 2014, QLogic Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation. | ||
11 | * | ||
12 | */ | ||
13 | |||
1 | #ifndef __BNX2FC_CONSTANTS_H_ | 14 | #ifndef __BNX2FC_CONSTANTS_H_ |
2 | #define __BNX2FC_CONSTANTS_H_ | 15 | #define __BNX2FC_CONSTANTS_H_ |
3 | 16 | ||
diff --git a/drivers/scsi/bnx2fc/bnx2fc_debug.c b/drivers/scsi/bnx2fc/bnx2fc_debug.c index 0cbee1b23ee2..d055df01faa5 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_debug.c +++ b/drivers/scsi/bnx2fc/bnx2fc_debug.c | |||
@@ -1,3 +1,16 @@ | |||
1 | /* bnx2fc_debug.c: QLogic NetXtreme II Linux FCoE offload driver. | ||
2 | * Handles operations such as session offload/upload etc, and manages | ||
3 | * session resources such as connection id and qp resources. | ||
4 | * | ||
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | ||
6 | * Copyright (c) 2014, QLogic Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation. | ||
11 | * | ||
12 | */ | ||
13 | |||
1 | #include "bnx2fc.h" | 14 | #include "bnx2fc.h" |
2 | 15 | ||
3 | void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...) | 16 | void BNX2FC_IO_DBG(const struct bnx2fc_cmd *io_req, const char *fmt, ...) |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_debug.h b/drivers/scsi/bnx2fc/bnx2fc_debug.h index 4808ff99621f..2b9006774f37 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_debug.h +++ b/drivers/scsi/bnx2fc/bnx2fc_debug.h | |||
@@ -1,3 +1,16 @@ | |||
1 | /* bnx2fc_debug.h: QLogic NetXtreme II Linux FCoE offload driver. | ||
2 | * Handles operations such as session offload/upload etc, and manages | ||
3 | * session resources such as connection id and qp resources. | ||
4 | * | ||
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | ||
6 | * Copyright (c) 2014, QLogic Corporation | ||
7 | * | ||
8 | * This program is free software; you can redistribute it and/or modify | ||
9 | * it under the terms of the GNU General Public License as published by | ||
10 | * the Free Software Foundation. | ||
11 | * | ||
12 | */ | ||
13 | |||
1 | #ifndef __BNX2FC_DEBUG__ | 14 | #ifndef __BNX2FC_DEBUG__ |
2 | #define __BNX2FC_DEBUG__ | 15 | #define __BNX2FC_DEBUG__ |
3 | 16 | ||
diff --git a/drivers/scsi/bnx2fc/bnx2fc_els.c b/drivers/scsi/bnx2fc/bnx2fc_els.c index b1c9a4f8caee..ca75c7ca2559 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_els.c +++ b/drivers/scsi/bnx2fc/bnx2fc_els.c | |||
@@ -1,9 +1,10 @@ | |||
1 | /* | 1 | /* |
2 | * bnx2fc_els.c: Broadcom NetXtreme II Linux FCoE offload driver. | 2 | * bnx2fc_els.c: QLogic NetXtreme II Linux FCoE offload driver. |
3 | * This file contains helper routines that handle ELS requests | 3 | * This file contains helper routines that handle ELS requests |
4 | * and responses. | 4 | * and responses. |
5 | * | 5 | * |
6 | * Copyright (c) 2008 - 2013 Broadcom Corporation | 6 | * Copyright (c) 2008 - 2013 Broadcom Corporation |
7 | * Copyright (c) 2014, QLogic Corporation | ||
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c index 785d0d71781e..79e5c94107a9 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_fcoe.c +++ b/drivers/scsi/bnx2fc/bnx2fc_fcoe.c | |||
@@ -1,9 +1,10 @@ | |||
1 | /* bnx2fc_fcoe.c: Broadcom NetXtreme II Linux FCoE offload driver. | 1 | /* bnx2fc_fcoe.c: QLogic NetXtreme II Linux FCoE offload driver. |
2 | * This file contains the code that interacts with libfc, libfcoe, | 2 | * This file contains the code that interacts with libfc, libfcoe, |
3 | * cnic modules to create FCoE instances, send/receive non-offloaded | 3 | * cnic modules to create FCoE instances, send/receive non-offloaded |
4 | * FIP/FCoE packets, listen to link events etc. | 4 | * FIP/FCoE packets, listen to link events etc. |
5 | * | 5 | * |
6 | * Copyright (c) 2008 - 2013 Broadcom Corporation | 6 | * Copyright (c) 2008 - 2013 Broadcom Corporation |
7 | * Copyright (c) 2014, QLogic Corporation | ||
7 | * | 8 | * |
8 | * This program is free software; you can redistribute it and/or modify | 9 | * This program is free software; you can redistribute it and/or modify |
9 | * it under the terms of the GNU General Public License as published by | 10 | * it under the terms of the GNU General Public License as published by |
@@ -26,12 +27,12 @@ DEFINE_PER_CPU(struct bnx2fc_percpu_s, bnx2fc_percpu); | |||
26 | 27 | ||
27 | 28 | ||
28 | static char version[] = | 29 | static char version[] = |
29 | "Broadcom NetXtreme II FCoE Driver " DRV_MODULE_NAME \ | 30 | "QLogic NetXtreme II FCoE Driver " DRV_MODULE_NAME \ |
30 | " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; | 31 | " v" DRV_MODULE_VERSION " (" DRV_MODULE_RELDATE ")\n"; |
31 | 32 | ||
32 | 33 | ||
33 | MODULE_AUTHOR("Bhanu Prakash Gollapudi <bprakash@broadcom.com>"); | 34 | MODULE_AUTHOR("Bhanu Prakash Gollapudi <bprakash@broadcom.com>"); |
34 | MODULE_DESCRIPTION("Broadcom NetXtreme II BCM57710 FCoE Driver"); | 35 | MODULE_DESCRIPTION("QLogic NetXtreme II BCM57710 FCoE Driver"); |
35 | MODULE_LICENSE("GPL"); | 36 | MODULE_LICENSE("GPL"); |
36 | MODULE_VERSION(DRV_MODULE_VERSION); | 37 | MODULE_VERSION(DRV_MODULE_VERSION); |
37 | 38 | ||
@@ -692,7 +693,7 @@ static int bnx2fc_shost_config(struct fc_lport *lport, struct device *dev) | |||
692 | if (!lport->vport) | 693 | if (!lport->vport) |
693 | fc_host_max_npiv_vports(lport->host) = USHRT_MAX; | 694 | fc_host_max_npiv_vports(lport->host) = USHRT_MAX; |
694 | snprintf(fc_host_symbolic_name(lport->host), 256, | 695 | snprintf(fc_host_symbolic_name(lport->host), 256, |
695 | "%s (Broadcom %s) v%s over %s", | 696 | "%s (QLogic %s) v%s over %s", |
696 | BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, | 697 | BNX2FC_NAME, hba->chip_num, BNX2FC_VERSION, |
697 | interface->netdev->name); | 698 | interface->netdev->name); |
698 | 699 | ||
@@ -2775,7 +2776,7 @@ static struct fc_function_template bnx2fc_vport_xport_function = { | |||
2775 | */ | 2776 | */ |
2776 | static struct scsi_host_template bnx2fc_shost_template = { | 2777 | static struct scsi_host_template bnx2fc_shost_template = { |
2777 | .module = THIS_MODULE, | 2778 | .module = THIS_MODULE, |
2778 | .name = "Broadcom Offload FCoE Initiator", | 2779 | .name = "QLogic Offload FCoE Initiator", |
2779 | .queuecommand = bnx2fc_queuecommand, | 2780 | .queuecommand = bnx2fc_queuecommand, |
2780 | .eh_abort_handler = bnx2fc_eh_abort, /* abts */ | 2781 | .eh_abort_handler = bnx2fc_eh_abort, /* abts */ |
2781 | .eh_device_reset_handler = bnx2fc_eh_device_reset, /* lun reset */ | 2782 | .eh_device_reset_handler = bnx2fc_eh_device_reset, /* lun reset */ |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c index 512aed3ae4f1..c6688d72a846 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c | |||
@@ -1,8 +1,9 @@ | |||
1 | /* bnx2fc_hwi.c: Broadcom NetXtreme II Linux FCoE offload driver. | 1 | /* bnx2fc_hwi.c: QLogic NetXtreme II Linux FCoE offload driver. |
2 | * This file contains the code that low level functions that interact | 2 | * This file contains the code that low level functions that interact |
3 | * with 57712 FCoE firmware. | 3 | * with 57712 FCoE firmware. |
4 | * | 4 | * |
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | 5 | * Copyright (c) 2008 - 2013 Broadcom Corporation |
6 | * Copyright (c) 2014, QLogic Corporation | ||
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_io.c b/drivers/scsi/bnx2fc/bnx2fc_io.c index e0bb209f3af1..4c5891e66038 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_io.c +++ b/drivers/scsi/bnx2fc/bnx2fc_io.c | |||
@@ -1,7 +1,8 @@ | |||
1 | /* bnx2fc_io.c: Broadcom NetXtreme II Linux FCoE offload driver. | 1 | /* bnx2fc_io.c: QLogic NetXtreme II Linux FCoE offload driver. |
2 | * IO manager and SCSI IO processing. | 2 | * IO manager and SCSI IO processing. |
3 | * | 3 | * |
4 | * Copyright (c) 2008 - 2013 Broadcom Corporation | 4 | * Copyright (c) 2008 - 2013 Broadcom Corporation |
5 | * Copyright (c) 2014, QLogic Corporation | ||
5 | * | 6 | * |
6 | * This program is free software; you can redistribute it and/or modify | 7 | * 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 | 8 | * it under the terms of the GNU General Public License as published by |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_tgt.c b/drivers/scsi/bnx2fc/bnx2fc_tgt.c index 6870cf6781d9..c66c708412a6 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_tgt.c +++ b/drivers/scsi/bnx2fc/bnx2fc_tgt.c | |||
@@ -1,8 +1,9 @@ | |||
1 | /* bnx2fc_tgt.c: Broadcom NetXtreme II Linux FCoE offload driver. | 1 | /* bnx2fc_tgt.c: QLogic NetXtreme II Linux FCoE offload driver. |
2 | * Handles operations such as session offload/upload etc, and manages | 2 | * Handles operations such as session offload/upload etc, and manages |
3 | * session resources such as connection id and qp resources. | 3 | * session resources such as connection id and qp resources. |
4 | * | 4 | * |
5 | * Copyright (c) 2008 - 2013 Broadcom Corporation | 5 | * Copyright (c) 2008 - 2013 Broadcom Corporation |
6 | * Copyright (c) 2014, QLogic Corporation | ||
6 | * | 7 | * |
7 | * This program is free software; you can redistribute it and/or modify | 8 | * This program is free software; you can redistribute it and/or modify |
8 | * it under the terms of the GNU General Public License as published by | 9 | * it under the terms of the GNU General Public License as published by |