lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20231013083306.10261-1-liuchang_125125@163.com>
Date:   Fri, 13 Oct 2023 16:33:06 +0800
From:   liuchang_125125@....com
To:     jejb@...ux.ibm.com, martin.petersen@...cle.com,
        linux-scsi@...r.kernel.org, linux-kernel@...r.kernel.org
Cc:     mark.tao@...hubtech.com, shaper.liu@...hubtech.com,
        thomas.hu@...hubtech.com, chevron.li@...hubtech.com,
        charl.liu@...hubtech.com, Charl Liu <liuchang_125125@....com>
Subject: [PATCH 2/9] scsi: bht: Add Bayhub module's Kconfig and Makefile for compiling Bayhub's SD/MMC Card interface driver

From: Charl Liu <liuchang_125125@....com>

1.Add Bayhub module's config "SCSI_BHT"
2.Add Bayhub module's Makefile

Signed-off-by: Charl Liu <liuchang_125125@....com>
---
Change in V1:
Add Bayhub module's Kconfig and Makefile for compiling Bayhub's
SD/MMC Card interface driver.
---
 drivers/scsi/bht/Kconfig  | 10 ++++++++++
 drivers/scsi/bht/Makefile | 18 ++++++++++++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 drivers/scsi/bht/Kconfig
 create mode 100644 drivers/scsi/bht/Makefile

diff --git a/drivers/scsi/bht/Kconfig b/drivers/scsi/bht/Kconfig
new file mode 100644
index 000000000000..f6d224799885
--- /dev/null
+++ b/drivers/scsi/bht/Kconfig
@@ -0,0 +1,10 @@
+# SPDX-License-Identifier: GPL-2.0-only
+config SCSI_BHT
+	tristate "Bayhub's SD/MMC Card Interface Driver"
+	depends on PCI && SCSI
+	help
+	  This driver supports the Bayhub's SD/MMC host controllers.
+
+	  If you have the Bayhub's SD/MMC host controllers, say Y or M here.
+
+	  If unsure, say N.
diff --git a/drivers/scsi/bht/Makefile b/drivers/scsi/bht/Makefile
new file mode 100644
index 000000000000..65fa352c51b2
--- /dev/null
+++ b/drivers/scsi/bht/Makefile
@@ -0,0 +1,18 @@
+# SPDX-License-Identifier: GPL-2.0-only
+INCLUDE = -I$(KERNEL_SOURCE)/include	\
+	-I$(KERNEL_SOURCE)/drivers/scsi	\
+	-I$(PWD)
+
+ccflags-y += -g $(INCLUDE)
+
+OBJ = linux_os/linux_base.o linux_os/linux_api.o linux_os/linux_scsi.o
+CARD_OBJ = card/cardcommon.o card/cardinterface.o card/mmc.o card/sd.o card/thermal.o card/uhs2.o card/card_ddr200_support.o card/output_tuning.o
+HOST_OBJ = host/host.o host/hostven.o host/cmdhandler.o host/irqhandler.o host/transhandler.o
+MAIN_OBJ = main/cfgmng.o main/thread.o main/autotimerfunc.o main/geniofunc.o main/pmfunc.o main/reqmng.o main/testcase.o
+TQ_OBJ = tagqueue/tagqueue.o  tagqueue/tqadma2.o tagqueue/tqadma3.o tagqueue/tqadma_sdma_like.o tagqueue/tqpolicy.o tagqueue/tqsdma.o tagqueue/tq_merge.o
+UTIL_OBJ = util/util.o util/debug.o
+
+obj-$(CONFIG_SCSI_BHT) := bht-sd.o
+bht-sd-objs := $(OBJ) $(CARD_OBJ) $(HOST_OBJ) $(MAIN_OBJ) $(TQ_OBJ) $(UTIL_OBJ)
+
+
-- 
2.34.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ