summaryrefslogtreecommitdiff
path: root/sys-block/rts5229/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-11-25 22:39:15 +0000
commitd934827bf44b7cfcf6711964418148fa60877668 (patch)
tree0625f358789b5e015e49db139cc1dbc9be00428f /sys-block/rts5229/files
parent2e34d110f164bf74d55fced27fe0000201b3eec5 (diff)
gentoo resync : 25.11.2020
Diffstat (limited to 'sys-block/rts5229/files')
-rw-r--r--sys-block/rts5229/files/rts5229-linux-3.10.patch53
-rw-r--r--sys-block/rts5229/files/rts5229-linux-3.8.patch29
-rw-r--r--sys-block/rts5229/files/rts5229-vmalloc.patch33
3 files changed, 0 insertions, 115 deletions
diff --git a/sys-block/rts5229/files/rts5229-linux-3.10.patch b/sys-block/rts5229/files/rts5229-linux-3.10.patch
deleted file mode 100644
index 5044234fe07d..000000000000
--- a/sys-block/rts5229/files/rts5229-linux-3.10.patch
+++ /dev/null
@@ -1,53 +0,0 @@
---- rts5229.a/rtsx.c 2013-07-03 05:24:40.728296993 +0530
-+++ rts5229.b/rtsx.c 2013-07-03 05:20:56.452568592 +0530
-@@ -126,38 +126,18 @@
-
-
- #undef SPRINTF
--#define SPRINTF(args...) \
-- do { if (pos < buffer+length) pos += sprintf(pos, ## args); } while (0)
-+#define SPRINTF(args...) seq_printf(m, ##args)
-
--static int proc_info (struct Scsi_Host *host, char *buffer,
-- char **start, off_t offset, int length, int inout)
-+static int show_info(struct seq_file *m, struct Scsi_Host *host)
- {
-- char *pos = buffer;
-
--
-- if (inout)
-- return length;
--
--
- SPRINTF(" Host scsi%d: %s\n", host->host_no, CR_DRIVER_NAME);
--
-
- SPRINTF(" Vendor: Realtek Corp.\n");
- SPRINTF(" Product: RTS5229\n");
- SPRINTF(" Version: %s\n", DRIVER_VERSION);
- SPRINTF(" Build: %s, %s\n", __DATE__, __TIME__);
--
-- /*
-- * Calculate start of next buffer, and return value.
-- */
-- *start = buffer + offset;
--
-- if ((pos - buffer) < offset)
-- return (0);
-- else if ((pos - buffer - offset) < length)
-- return (pos - buffer - offset);
-- else
-- return (length);
-+ return 0;
- }
-
-
-@@ -263,7 +243,7 @@
-
- .name = CR_DRIVER_NAME,
- .proc_name = CR_DRIVER_NAME,
-- .proc_info = proc_info,
-+ .show_info = show_info,
- .info = host_info,
-
-
diff --git a/sys-block/rts5229/files/rts5229-linux-3.8.patch b/sys-block/rts5229/files/rts5229-linux-3.8.patch
deleted file mode 100644
index 81779aef2767..000000000000
--- a/sys-block/rts5229/files/rts5229-linux-3.8.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- rts5229.a/rtsx.c 2012-03-21 07:10:18.000000000 +0530
-+++ rts5229.b/rtsx.c 2013-05-29 01:06:32.333737569 +0530
-@@ -911,7 +911,7 @@
- chip->support_mmc = 1;
- }
-
--static int __devinit rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
-+static int rtsx_probe(struct pci_dev *pci, const struct pci_device_id *pci_id)
- {
- struct Scsi_Host *host;
- struct rtsx_dev *dev;
-@@ -1066,7 +1066,7 @@
- }
-
-
--static void __devexit rtsx_remove(struct pci_dev *pci)
-+static void rtsx_remove(struct pci_dev *pci)
- {
- struct rtsx_dev *dev = (struct rtsx_dev *)pci_get_drvdata(pci);
-
-@@ -1092,7 +1092,7 @@
- .name = CR_DRIVER_NAME,
- .id_table = rts5229_ids,
- .probe = rtsx_probe,
-- .remove = __devexit_p(rtsx_remove),
-+ .remove = rtsx_remove,
- #ifdef CONFIG_PM
- .suspend = rtsx_suspend,
- .resume = rtsx_resume,
diff --git a/sys-block/rts5229/files/rts5229-vmalloc.patch b/sys-block/rts5229/files/rts5229-vmalloc.patch
deleted file mode 100644
index 51058cfb6f0c..000000000000
--- a/sys-block/rts5229/files/rts5229-vmalloc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-diff -Naur rts5229.a/ms.c rts5229.b/ms.c
---- rts5229.a/ms.c 2012-03-20 21:40:18.000000000 -0400
-+++ rts5229.b/ms.c 2015-09-17 01:13:54.830723253 -0400
-@@ -23,6 +23,7 @@
- #include <linux/blkdev.h>
- #include <linux/kthread.h>
- #include <linux/sched.h>
-+#include <linux/vmalloc.h>
-
- #include "rtsx.h"
- #include "rtsx_transport.h"
-diff -Naur rts5229.a/rtsx_chip.c rts5229.b/rtsx_chip.c
---- rts5229.a/rtsx_chip.c 2012-03-20 21:40:18.000000000 -0400
-+++ rts5229.b/rtsx_chip.c 2015-09-17 01:13:29.574133449 -0400
-@@ -24,6 +24,7 @@
- #include <linux/kthread.h>
- #include <linux/sched.h>
- #include <linux/workqueue.h>
-+#include <linux/vmalloc.h>
-
- #include "rtsx.h"
- #include "rtsx_transport.h"
-diff -Naur rts5229.a/rtsx_scsi.c rts5229.b/rtsx_scsi.c
---- rts5229.a/rtsx_scsi.c 2012-03-20 21:40:18.000000000 -0400
-+++ rts5229.b/rtsx_scsi.c 2015-09-17 01:13:44.035898653 -0400
-@@ -23,6 +23,7 @@
- #include <linux/blkdev.h>
- #include <linux/kthread.h>
- #include <linux/sched.h>
-+#include <linux/vmalloc.h>
-
- #include "rtsx.h"
- #include "rtsx_transport.h"