vanhofen
3 years ago
7 changed files with 138 additions and 129 deletions
@ -0,0 +1,30 @@ |
|||||
|
################################################################################
|
||||
|
#
|
||||
|
# rtl8192eu
|
||||
|
#
|
||||
|
################################################################################
|
||||
|
|
||||
|
RTL8192EU_VERSION = git |
||||
|
RTL8192EU_DIR = rtl8192eu-linux-driver.$(RTL8192EU_VERSION) |
||||
|
RTL8192EU_SOURCE = rtl8192eu-linux-driver.$(RTL8192EU_VERSION) |
||||
|
RTL8192EU_SITE = https://github.com/mange/$(RTL8192EU_SOURCE) |
||||
|
|
||||
|
RTL8192EU_CHECKOUT = 60aa279428024ea78dcffe2c181ffee3cc1495f5 |
||||
|
|
||||
|
RTL8192EU_DEPENDENCIES = kernel-$(BOXTYPE) |
||||
|
|
||||
|
define RTL8192EU_INSTALL_BINARY |
||||
|
$(INSTALL_DATA) -D $(PKG_BUILD_DIR)/8192eu.ko $(TARGET_modulesdir)/kernel/drivers/net/wireless/8192eu.ko |
||||
|
endef |
||||
|
RTL8192EU_PRE_FOLLOWUP_HOOKS += RTL8192EU_INSTALL_BINARY |
||||
|
|
||||
|
define RTL8192EU_RUN_DEPMOD |
||||
|
$(LINUX_RUN_DEPMOD) |
||||
|
endef |
||||
|
RTL8192EU_TARGET_FINALIZE_HOOKS += RTL8192EU_RUN_DEPMOD |
||||
|
|
||||
|
rtl8192eu: | $(TARGET_DIR) |
||||
|
$(call PREPARE) |
||||
|
$(CHDIR)/$($(PKG)_DIR); \
|
||||
|
$(MAKE) $(KERNEL_MAKE_VARS) |
||||
|
$(call TARGET_FOLLOWUP) |
@ -1,23 +1,23 @@ |
|||||
--- a/os_dep/linux/os_intfs.c 2018-10-23 21:11:56.009471377 +0200
|
--- a/os_dep/linux/os_intfs.c 2018-10-23 21:11:56.009471377 +0200
|
||||
+++ b/os_dep/linux/os_intfs.c 2018-10-23 21:12:40.189684185 +0200
|
+++ b/os_dep/linux/os_intfs.c 2018-10-23 21:12:40.189684185 +0200
|
||||
@@ -1190,7 +1190,11 @@
|
@@ -1190,7 +1190,11 @@
|
||||
return dscp >> 5; |
return dscp >> 5; |
||||
} |
} |
||||
|
|
||||
-
|
-
|
||||
+#if (LINUX_VERSION_CODE>=KERNEL_VERSION(4,19,0))
|
+#if (LINUX_VERSION_CODE>=KERNEL_VERSION(4,19,0))
|
||||
+static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
|
+static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb,
|
||||
+ struct net_device *sb_dev,
|
+ struct net_device *sb_dev,
|
||||
+ select_queue_fallback_t fallback
|
+ select_queue_fallback_t fallback
|
||||
+#else
|
+#else
|
||||
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb |
static u16 rtw_select_queue(struct net_device *dev, struct sk_buff *skb |
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) |
||||
, void *accel_priv |
, void *accel_priv |
||||
@@ -1198,6 +1202,7 @@
|
@@ -1198,6 +1202,7 @@
|
||||
, select_queue_fallback_t fallback |
, select_queue_fallback_t fallback |
||||
#endif |
#endif |
||||
#endif |
#endif |
||||
+#endif
|
+#endif
|
||||
) |
) |
||||
{ |
{ |
||||
_adapter *padapter = rtw_netdev_priv(dev); |
_adapter *padapter = rtw_netdev_priv(dev); |
||||
|
Loading…
Reference in new issue