diff options
| -rw-r--r-- | drivers/scsi/Kconfig | 8 | ||||
| -rw-r--r-- | drivers/scsi/Makefile | 1 | ||||
| -rw-r--r-- | drivers/scsi/fcoe/Makefile | 1 | ||||
| -rw-r--r-- | drivers/scsi/fcoe/fcoe.c | 2 | ||||
| -rw-r--r-- | drivers/scsi/fcoe/libfcoe.c | 24 | ||||
| -rw-r--r-- | drivers/scsi/libfc/fc_fcp.c | 2 |
6 files changed, 35 insertions, 3 deletions
diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig index e2f44e6c0bcb..bbec3a814ea7 100644 --- a/drivers/scsi/Kconfig +++ b/drivers/scsi/Kconfig | |||
| @@ -614,10 +614,16 @@ config LIBFC | |||
| 614 | ---help--- | 614 | ---help--- |
| 615 | Fibre Channel library module | 615 | Fibre Channel library module |
| 616 | 616 | ||
| 617 | config LIBFCOE | ||
| 618 | tristate "LibFCoE module" | ||
| 619 | select LIBFC | ||
| 620 | ---help--- | ||
| 621 | Library for Fibre Channel over Ethernet module | ||
| 622 | |||
| 617 | config FCOE | 623 | config FCOE |
| 618 | tristate "FCoE module" | 624 | tristate "FCoE module" |
| 619 | depends on PCI | 625 | depends on PCI |
| 620 | select LIBFC | 626 | select LIBFCOE |
| 621 | ---help--- | 627 | ---help--- |
| 622 | Fibre Channel over Ethernet module | 628 | Fibre Channel over Ethernet module |
| 623 | 629 | ||
diff --git a/drivers/scsi/Makefile b/drivers/scsi/Makefile index cf7929634668..e7c861ac417d 100644 --- a/drivers/scsi/Makefile +++ b/drivers/scsi/Makefile | |||
| @@ -37,6 +37,7 @@ obj-$(CONFIG_SCSI_SRP_ATTRS) += scsi_transport_srp.o | |||
| 37 | obj-$(CONFIG_SCSI_DH) += device_handler/ | 37 | obj-$(CONFIG_SCSI_DH) += device_handler/ |
| 38 | 38 | ||
| 39 | obj-$(CONFIG_LIBFC) += libfc/ | 39 | obj-$(CONFIG_LIBFC) += libfc/ |
| 40 | obj-$(CONFIG_LIBFCOE) += fcoe/ | ||
| 40 | obj-$(CONFIG_FCOE) += fcoe/ | 41 | obj-$(CONFIG_FCOE) += fcoe/ |
| 41 | obj-$(CONFIG_ISCSI_TCP) += libiscsi.o libiscsi_tcp.o iscsi_tcp.o | 42 | obj-$(CONFIG_ISCSI_TCP) += libiscsi.o libiscsi_tcp.o iscsi_tcp.o |
| 42 | obj-$(CONFIG_INFINIBAND_ISER) += libiscsi.o | 43 | obj-$(CONFIG_INFINIBAND_ISER) += libiscsi.o |
diff --git a/drivers/scsi/fcoe/Makefile b/drivers/scsi/fcoe/Makefile index 9b590ef170c0..950f27615c76 100644 --- a/drivers/scsi/fcoe/Makefile +++ b/drivers/scsi/fcoe/Makefile | |||
| @@ -1 +1,2 @@ | |||
| 1 | obj-$(CONFIG_FCOE) += fcoe.o | 1 | obj-$(CONFIG_FCOE) += fcoe.o |
| 2 | obj-$(CONFIG_LIBFCOE) += libfcoe.o | ||
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index a81a8ec3908e..23983c789429 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
| @@ -70,7 +70,7 @@ static int debug_fcoe; | |||
| 70 | 70 | ||
| 71 | MODULE_AUTHOR("Open-FCoE.org"); | 71 | MODULE_AUTHOR("Open-FCoE.org"); |
| 72 | MODULE_DESCRIPTION("FCoE"); | 72 | MODULE_DESCRIPTION("FCoE"); |
| 73 | MODULE_LICENSE("GPL"); | 73 | MODULE_LICENSE("GPL v2"); |
| 74 | 74 | ||
| 75 | /* fcoe host list */ | 75 | /* fcoe host list */ |
| 76 | LIST_HEAD(fcoe_hostlist); | 76 | LIST_HEAD(fcoe_hostlist); |
diff --git a/drivers/scsi/fcoe/libfcoe.c b/drivers/scsi/fcoe/libfcoe.c new file mode 100644 index 000000000000..17acbcc025aa --- /dev/null +++ b/drivers/scsi/fcoe/libfcoe.c | |||
| @@ -0,0 +1,24 @@ | |||
| 1 | /* | ||
| 2 | * Copyright(c) 2009 Intel Corporation. All rights reserved. | ||
| 3 | * | ||
| 4 | * This program is free software; you can redistribute it and/or modify it | ||
| 5 | * under the terms and conditions of the GNU General Public License, | ||
| 6 | * version 2, as published by the Free Software Foundation. | ||
| 7 | * | ||
| 8 | * This program is distributed in the hope it will be useful, but WITHOUT | ||
| 9 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | ||
| 10 | * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for | ||
| 11 | * more details. | ||
| 12 | * | ||
| 13 | * You should have received a copy of the GNU General Public License along with | ||
| 14 | * this program; if not, write to the Free Software Foundation, Inc., | ||
| 15 | * 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA. | ||
| 16 | * | ||
| 17 | * Maintained at www.Open-FCoE.org | ||
| 18 | */ | ||
| 19 | |||
| 20 | #include <linux/module.h> | ||
| 21 | |||
| 22 | MODULE_AUTHOR("Open-FCoE.org"); | ||
| 23 | MODULE_DESCRIPTION("FCoE"); | ||
| 24 | MODULE_LICENSE("GPL v2"); | ||
diff --git a/drivers/scsi/libfc/fc_fcp.c b/drivers/scsi/libfc/fc_fcp.c index 0997e8b1dcea..f555ae99ad40 100644 --- a/drivers/scsi/libfc/fc_fcp.c +++ b/drivers/scsi/libfc/fc_fcp.c | |||
| @@ -41,7 +41,7 @@ | |||
| 41 | 41 | ||
| 42 | MODULE_AUTHOR("Open-FCoE.org"); | 42 | MODULE_AUTHOR("Open-FCoE.org"); |
| 43 | MODULE_DESCRIPTION("libfc"); | 43 | MODULE_DESCRIPTION("libfc"); |
| 44 | MODULE_LICENSE("GPL"); | 44 | MODULE_LICENSE("GPL v2"); |
| 45 | 45 | ||
| 46 | static int fc_fcp_debug; | 46 | static int fc_fcp_debug; |
| 47 | 47 | ||
