refresh patches
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 95490afcba944883e7f911214391a1a1e2fa3261 Mon Sep 17 00:00:00 2001
|
||||
From 6d141e3121676e9ca50d6465a622b9a5d572219a Mon Sep 17 00:00:00 2001
|
||||
From: "Jan Alexander Steffens (heftig)" <heftig@archlinux.org>
|
||||
Date: Mon, 26 Apr 2021 22:12:46 +0200
|
||||
Subject: ZEN: Add VHBA driver
|
||||
@@ -10,8 +10,8 @@ tag vhba-module-20240917
|
||||
drivers/scsi/Makefile | 1 +
|
||||
drivers/scsi/vhba/Kconfig | 9 +
|
||||
drivers/scsi/vhba/Makefile | 4 +
|
||||
drivers/scsi/vhba/vhba.c | 1124 ++++++++++++++++++++++++++++++++++++
|
||||
5 files changed, 1140 insertions(+)
|
||||
drivers/scsi/vhba/vhba.c | 1130 ++++++++++++++++++++++++++++++++++++
|
||||
5 files changed, 1146 insertions(+)
|
||||
create mode 100644 drivers/scsi/vhba/Kconfig
|
||||
create mode 100644 drivers/scsi/vhba/Makefile
|
||||
create mode 100644 drivers/scsi/vhba/vhba.c
|
||||
@@ -56,7 +56,7 @@ tag vhba-module-20240917
|
||||
+ccflags-y := -DVHBA_VERSION=\"$(VHBA_VERSION)\" -Werror
|
||||
--- /dev/null
|
||||
+++ b/drivers/scsi/vhba/vhba.c
|
||||
@@ -0,0 +1,1124 @@
|
||||
@@ -0,0 +1,1130 @@
|
||||
+/*
|
||||
+ * vhba.c
|
||||
+ *
|
||||
@@ -1108,7 +1108,11 @@ tag vhba-module-20240917
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)
|
||||
+static int vhba_remove (struct platform_device *pdev)
|
||||
+#else
|
||||
+static void vhba_remove (struct platform_device *pdev)
|
||||
+#endif
|
||||
+{
|
||||
+ struct vhba_host *vhost;
|
||||
+ struct Scsi_Host *shost;
|
||||
@@ -1121,7 +1125,9 @@ tag vhba-module-20240917
|
||||
+
|
||||
+ kfree(vhost->commands);
|
||||
+
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 11, 0)
|
||||
+ return 0;
|
||||
+#endif
|
||||
+}
|
||||
+
|
||||
+static void vhba_release (struct device * dev)
|
||||
|
Reference in New Issue
Block a user