diff options
author | GoliathLabs | 2020-06-11 14:26:07 +0200 |
---|---|---|
committer | GoliathLabs | 2020-06-11 14:26:07 +0200 |
commit | 275fa1ec2c1fb2d726d6f000ba4847333ed8b9bb (patch) | |
tree | 2efcbdbb3f796a9fbc0c1596d06d50c2edda5538 | |
parent | cd0c374a8e214c7039d0adc75b42e424689d8a04 (diff) | |
download | aur-275fa1ec2c1fb2d726d6f000ba4847333ed8b9bb.tar.gz |
Updated: PKGBUILD
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 10 | ||||
-rw-r--r-- | linux-5.6.patch | 85 |
3 files changed, 6 insertions, 95 deletions
@@ -1,7 +1,7 @@ pkgbase = 8188fu-dkms-git pkgdesc = Driver for Realtek RTL8188FU USB wireless adapter - pkgver = r7.2dd10a1 - pkgrel = 2 + pkgver = r8.1d12cae + pkgrel = 1 url = http://www.realtek.com.tw/ install = 8188fu-dkms.install arch = any @@ -11,11 +11,9 @@ pkgbase = 8188fu-dkms-git source = 8188fu::git+https://github.com/corneal64/Realtek-USB-Wireless-Adapter-Drivers.git source = blacklist-r8188fu.conf source = dkms.conf - source = linux-5.6.patch sha256sums = SKIP sha256sums = 48bc8d2270ea8db1e5c0be51012419753b22a106028e153919b37d583c422cc6 sha256sums = e2b146ffbe6b81c6a8c963ee2826aecc3a092497fd9b33c6290751da5706d103 - sha256sums = 0bc53698eba30a8f635c595f905230d18371c1738903a1da80f9bbca58dd8ec5 pkgname = 8188fu-dkms-git @@ -6,8 +6,8 @@ _pkgname=8188fu pkgname="$_pkgname-dkms-git" -pkgver=r7.2dd10a1 -pkgrel=2 +pkgver=r8.1d12cae +pkgrel=1 pkgdesc='Driver for Realtek RTL8188FU USB wireless adapter' arch=('any') url='http://www.realtek.com.tw/' @@ -17,12 +17,10 @@ makedepends=('git') install="${_pkgname}-dkms.install" source=("$_pkgname::git+https://github.com/corneal64/Realtek-USB-Wireless-Adapter-Drivers.git" blacklist-r8188fu.conf - dkms.conf - linux-5.6.patch) + dkms.conf) sha256sums=('SKIP' '48bc8d2270ea8db1e5c0be51012419753b22a106028e153919b37d583c422cc6' - 'e2b146ffbe6b81c6a8c963ee2826aecc3a092497fd9b33c6290751da5706d103' - '0bc53698eba30a8f635c595f905230d18371c1738903a1da80f9bbca58dd8ec5') + 'e2b146ffbe6b81c6a8c963ee2826aecc3a092497fd9b33c6290751da5706d103') diff --git a/linux-5.6.patch b/linux-5.6.patch deleted file mode 100644 index e599fc5d4db4..000000000000 --- a/linux-5.6.patch +++ /dev/null @@ -1,85 +0,0 @@ -diff --git a/os_dep/linux/rtw_proc.c b/os_dep/linux/rtw_proc.c -index 9ecc542..8e0f7dd 100644 ---- a/os_dep/linux/rtw_proc.c -+++ b/os_dep/linux/rtw_proc.c -@@ -64,7 +64,11 @@ inline struct proc_dir_entry *rtw_proc_create_dir(const char *name, struct proc_ - } - - inline struct proc_dir_entry *rtw_proc_create_entry(const char *name, struct proc_dir_entry *parent, -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) -+ const struct proc_ops *fops, void * data) -+#else - const struct file_operations *fops, void * data) -+#endif - { - struct proc_dir_entry *entry; - -@@ -165,6 +169,14 @@ static ssize_t rtw_drv_proc_write(struct file *file, const char __user *buffer, - return -EROFS; - } - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) -+static const struct proc_ops rtw_drv_proc_fops = { -+ .proc_open = rtw_drv_proc_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release = single_release, -+ .proc_write = rtw_drv_proc_write, -+#else - static const struct file_operations rtw_drv_proc_fops = { - .owner = THIS_MODULE, - .open = rtw_drv_proc_open, -@@ -172,6 +184,7 @@ static const struct file_operations rtw_drv_proc_fops = { - .llseek = seq_lseek, - .release = single_release, - .write = rtw_drv_proc_write, -+#endif - }; - - int rtw_drv_proc_init(void) -@@ -532,6 +545,14 @@ static ssize_t rtw_adapter_proc_write(struct file *file, const char __user *buff - return -EROFS; - } - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) -+static const struct proc_ops rtw_adapter_proc_fops = { -+ .proc_open = rtw_adapter_proc_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release = single_release, -+ .proc_write = rtw_adapter_proc_write, -+#else - static const struct file_operations rtw_adapter_proc_fops = { - .owner = THIS_MODULE, - .open = rtw_adapter_proc_open, -@@ -539,6 +560,7 @@ static const struct file_operations rtw_adapter_proc_fops = { - .llseek = seq_lseek, - .release = single_release, - .write = rtw_adapter_proc_write, -+#endif - }; - - int proc_get_odm_dbg_comp(struct seq_file *m, void *v) -@@ -710,6 +732,14 @@ static ssize_t rtw_odm_proc_write(struct file *file, const char __user *buffer, - return -EROFS; - } - -+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5,6,0)) -+static const struct proc_ops rtw_odm_proc_fops = { -+ .proc_open = rtw_odm_proc_open, -+ .proc_read = seq_read, -+ .proc_lseek = seq_lseek, -+ .proc_release = single_release, -+ .proc_write = rtw_odm_proc_write, -+#else - static const struct file_operations rtw_odm_proc_fops = { - .owner = THIS_MODULE, - .open = rtw_odm_proc_open, -@@ -717,6 +747,7 @@ static const struct file_operations rtw_odm_proc_fops = { - .llseek = seq_lseek, - .release = single_release, - .write = rtw_odm_proc_write, -+#endif - }; - - struct proc_dir_entry *rtw_odm_proc_init(struct net_device *dev) |