From dc7cbdfa65fd814b3b9aa3c56257da201109e807 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 Apr 2019 21:17:31 +0100 Subject: gentoo resync : 05.04.2019 --- .../rts_pstor/files/rts_pstor-linux-3.10.patch | 53 ---------------------- .../rts_pstor/files/rts_pstor-linux-3.8.patch | 29 ------------ sys-block/rts_pstor/files/rts_pstor-vmalloc.patch | 44 ------------------ 3 files changed, 126 deletions(-) delete mode 100644 sys-block/rts_pstor/files/rts_pstor-linux-3.10.patch delete mode 100644 sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch delete mode 100644 sys-block/rts_pstor/files/rts_pstor-vmalloc.patch (limited to 'sys-block/rts_pstor/files') diff --git a/sys-block/rts_pstor/files/rts_pstor-linux-3.10.patch b/sys-block/rts_pstor/files/rts_pstor-linux-3.10.patch deleted file mode 100644 index 0070549b88d8..000000000000 --- a/sys-block/rts_pstor/files/rts_pstor-linux-3.10.patch +++ /dev/null @@ -1,53 +0,0 @@ ---- rts_pstor.a/rtsx.c 2013-07-03 05:39:26.316723407 +0530 -+++ rts_pstor.b/rtsx.c 2013-07-03 05:28:28.584882761 +0530 -@@ -135,38 +135,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: PCIE Card Reader\n"); - SPRINTF(" Version: %s\n", DRIVER_VERSION); - SPRINTF(" Build: %s\n", DRIVER_MAKE_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; - } - - -@@ -272,7 +252,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/rts_pstor/files/rts_pstor-linux-3.8.patch b/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch deleted file mode 100644 index 797b1088f31b..000000000000 --- a/sys-block/rts_pstor/files/rts_pstor-linux-3.8.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- rts_pstor.a/rtsx.c 2011-01-11 14:41:07.000000000 +0530 -+++ rts_pstor.b/rtsx.c 2013-05-29 00:39:11.319267655 +0530 -@@ -913,7 +913,7 @@ - chip->s3_pwr_off_delay = 1000; - } - --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; -@@ -1077,7 +1077,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); - -@@ -1104,7 +1104,7 @@ - .name = CR_DRIVER_NAME, - .id_table = rtsx_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/rts_pstor/files/rts_pstor-vmalloc.patch b/sys-block/rts_pstor/files/rts_pstor-vmalloc.patch deleted file mode 100644 index 3b3f4beb885d..000000000000 --- a/sys-block/rts_pstor/files/rts_pstor-vmalloc.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Naur rts_pstor.a/ms.c rts_pstor.b/ms.c ---- rts_pstor.a/ms.c 2011-01-11 04:11:07.000000000 -0500 -+++ rts_pstor.b/ms.c 2015-09-17 01:28:41.816067799 -0400 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - #include "rtsx.h" - #include "rtsx_transport.h" -diff -Naur rts_pstor.a/rtsx_chip.c rts_pstor.b/rtsx_chip.c ---- rts_pstor.a/rtsx_chip.c 2011-01-11 04:11:07.000000000 -0500 -+++ rts_pstor.b/rtsx_chip.c 2015-09-17 01:28:13.680536901 -0400 -@@ -24,6 +24,7 @@ - #include - #include - #include -+#include - - #include "rtsx.h" - #include "rtsx_transport.h" -diff -Naur rts_pstor.a/rtsx_scsi.c rts_pstor.b/rtsx_scsi.c ---- rts_pstor.a/rtsx_scsi.c 2011-01-11 04:11:07.000000000 -0500 -+++ rts_pstor.b/rtsx_scsi.c 2015-09-17 01:28:42.688053259 -0400 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - #include "rtsx.h" - #include "rtsx_transport.h" -diff -Naur rts_pstor.a/xd.c rts_pstor.b/xd.c ---- rts_pstor.a/xd.c 2011-01-11 04:11:07.000000000 -0500 -+++ rts_pstor.b/xd.c 2015-09-17 01:28:42.689053242 -0400 -@@ -23,6 +23,7 @@ - #include - #include - #include -+#include - - #include "rtsx.h" - #include "rtsx_transport.h" -- cgit v1.2.3