Message ID | 20200412033303.29574-31-jsmart2021@gmail.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | efct: Broadcom (Emulex) FC Target driver | expand |
On 4/12/20 5:33 AM, James Smart wrote: > This patch completes the efct driver population. > > This patch adds driver definitions for: > Adds the efct driver Kconfig and Makefiles > > Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com> > Signed-off-by: James Smart <jsmart2021@gmail.com> > > --- > v3: > Use SPDX license > Remove utils.c from makefile > --- > drivers/scsi/elx/Kconfig | 9 +++++++++ > drivers/scsi/elx/Makefile | 18 ++++++++++++++++++ > 2 files changed, 27 insertions(+) > create mode 100644 drivers/scsi/elx/Kconfig > create mode 100644 drivers/scsi/elx/Makefile > Reviewed-by: Hannes Reinecke <hare@suse.de> Cheers, Hannes
On Sat, Apr 11, 2020 at 08:33:02PM -0700, James Smart wrote: > This patch completes the efct driver population. > > This patch adds driver definitions for: > Adds the efct driver Kconfig and Makefiles > > Signed-off-by: Ram Vegesna <ram.vegesna@broadcom.com> > Signed-off-by: James Smart <jsmart2021@gmail.com> > > --- > v3: > Use SPDX license > Remove utils.c from makefile > --- > drivers/scsi/elx/Kconfig | 9 +++++++++ > drivers/scsi/elx/Makefile | 18 ++++++++++++++++++ > 2 files changed, 27 insertions(+) > create mode 100644 drivers/scsi/elx/Kconfig > create mode 100644 drivers/scsi/elx/Makefile > > diff --git a/drivers/scsi/elx/Kconfig b/drivers/scsi/elx/Kconfig > new file mode 100644 > index 000000000000..831daea7a951 > --- /dev/null > +++ b/drivers/scsi/elx/Kconfig > @@ -0,0 +1,9 @@ > +config SCSI_EFCT > + tristate "Emulex Fibre Channel Target" > + depends on PCI && SCSI > + depends on TARGET_CORE > + depends on SCSI_FC_ATTRS > + select CRC_T10DIF > + help > + The efct driver provides enhanced SCSI Target Mode > + support for specific SLI-4 adapters. The help text could be more verbose. The rest looks good. Reviewed-by: Daniel Wagner <dwagner@suse.de>
diff --git a/drivers/scsi/elx/Kconfig b/drivers/scsi/elx/Kconfig new file mode 100644 index 000000000000..831daea7a951 --- /dev/null +++ b/drivers/scsi/elx/Kconfig @@ -0,0 +1,9 @@ +config SCSI_EFCT + tristate "Emulex Fibre Channel Target" + depends on PCI && SCSI + depends on TARGET_CORE + depends on SCSI_FC_ATTRS + select CRC_T10DIF + help + The efct driver provides enhanced SCSI Target Mode + support for specific SLI-4 adapters. diff --git a/drivers/scsi/elx/Makefile b/drivers/scsi/elx/Makefile new file mode 100644 index 000000000000..77f06b962403 --- /dev/null +++ b/drivers/scsi/elx/Makefile @@ -0,0 +1,18 @@ +#// SPDX-License-Identifier: GPL-2.0 +#/* +# * Copyright (C) 2019 Broadcom. All Rights Reserved. The term +# * “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. +# */ + + +obj-$(CONFIG_SCSI_EFCT) := efct.o + +efct-objs := efct/efct_driver.o efct/efct_io.o efct/efct_scsi.o efct/efct_els.o \ + efct/efct_xport.o efct/efct_hw.o efct/efct_hw_queues.o \ + efct/efct_lio.o efct/efct_unsol.o + +efct-objs += libefc/efc_domain.o libefc/efc_fabric.o libefc/efc_node.o \ + libefc/efc_sport.o libefc/efc_device.o \ + libefc/efc_lib.o libefc/efc_sm.o + +efct-objs += libefc_sli/sli4.o