Merge master and preserve YT6801 ioctl removal

This commit is contained in:
Afonso Oliveira committed 2026-09-24 11:58:23 +01:00
commit cda21f1d62
719 files changed
+213110 -1850

No files matched your search

+30 -3
View File
@@ -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 @@