Merge master and preserve YT6801 ioctl removal
This commit is contained in:
commit
cda21f1d62
719 files changed
+213110
-1850
No files matched your search
@@ -1,5 +1,18 @@
|
||||
{
|
||||
"source": "aur",
|
||||
"sync": false,
|
||||
"upstream_commit": "020a0f11079cc974794e49856a1a98ab677570a9"
|
||||
"source": "local",
|
||||
"upstream": {
|
||||
"watch": {
|
||||
"archive": "https://www.motor-comm.com/Cn/Skippower/downloadFile.html?id=1817",
|
||||
"filenames": true,
|
||||
"pattern": "yt6801-(?P<version>[0-9]+(?:\\.[0-9]+)*)\\.tar\\.gz",
|
||||
"mutable_sources": [
|
||||
"source:0"
|
||||
]
|
||||
}
|
||||
},
|
||||
"origin": {
|
||||
"aur": "yt6801-dkms",
|
||||
"commit": "020a0f11079cc974794e49856a1a98ab677570a9"
|
||||
},
|
||||
"sync": false
|
||||
}
|
||||
@@ -12,7 +12,7 @@ depends=('dkms')
|
||||
source=(${_pkgbase}-${pkgver}.zip::'https://www.motor-comm.com/Cn/Skippower/downloadFile.html?id=1817'
|
||||
'patch.diff')
|
||||
sha256sums=('877e6953fc6eb47232a74e47b0daf33de0e7f9e9a395d3bc10d500d3c4150af8'
|
||||
'a48de70ede7d530383c26f17b2a292143ec3af5e6024c0f4403b954249f52058')
|
||||
'3bad74e58b248d28212f9af468c0522440b9b96a335930f97595cd9f1a5c7b25')
|
||||
|
||||
prepare() {
|
||||
cd "$srcdir"
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
diff --git a/src/dkms.conf b/src/dkms.conf
|
||||
index 78eaf8b..9d93675 100644
|
||||
--- a/src/dkms.conf
|
||||
+++ b/src/dkms.conf
|
||||
@@ -1,8 +1,5 @@
|
||||
PACKAGE_NAME="yt6801"
|
||||
PACKAGE_VERSION="1.0.34"
|
||||
@@ -3,6 +3,3 @@
|
||||
-CLEAN="make clean"
|
||||
-MAKE[0]="make"
|
||||
BUILT_MODULE_NAME[0]="yt6801"
|
||||
@@ -11,6 +10,34 @@ diff --git a/src/dkms.conf b/src/dkms.conf
|
||||
AUTOINSTALL="yes"
|
||||
-REMAKE_INITRD="yes"
|
||||
diff --git a/src/fuxi-gmac-net.c b/src/fuxi-gmac-net.c
|
||||
index 3e643f9..fea4c97 100644
|
||||
--- a/src/fuxi-gmac-net.c
|
||||
+++ b/src/fuxi-gmac-net.c
|
||||
@@ -771,7 +771,9 @@ static void fxgmac_tx_hang_timer_handler(struct timer_list *t)
|
||||
static void fxgmac_tx_hang_timer_handler(unsigned long data)
|
||||
#endif
|
||||
{
|
||||
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0))
|
||||
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6,16,0))
|
||||
+ struct fxgmac_channel *channel = timer_container_of(channel, t, expansion.tx_hang_timer);
|
||||
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(4,14,0))
|
||||
struct fxgmac_channel *channel = from_timer(channel, t, expansion.tx_hang_timer);
|
||||
#else
|
||||
struct fxgmac_channel *channel = (struct fxgmac_channel *)data;
|
||||
diff --git a/src/fuxi-gmac.h b/src/fuxi-gmac.h
|
||||
index 539b507..2435f0c 100644
|
||||
--- a/src/fuxi-gmac.h
|
||||
+++ b/src/fuxi-gmac.h
|
||||
@@ -50,6 +50,8 @@
|
||||
#define FXGMAC_NS_IFA_LOCAL_LINK 1
|
||||
#define FXGMAC_NS_IFA_GLOBAL_UNICAST 2
|
||||
|
||||
+#define FXGMAC_INT_MODERATION_ENABLED 1
|
||||
+
|
||||
#define FXGMAX_ASPM_WAR_EN
|
||||
/* Descriptor related parameters */
|
||||
#if FXGMAC_TX_HANG_TIMER_ENABLED
|
||||
diff --git a/src/fuxi-gmac-net.c b/src/fuxi-gmac-net.c
|
||||
--- a/src/fuxi-gmac-net.c
|
||||
+++ b/src/fuxi-gmac-net.c
|
||||
@@ -2133,41 +2133,0 @@
|
||||
|
||||
Reference in new issue
Block a user