1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Update Realtek r8168

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-11-22 20:09:56 +01:00
parent 4194e2ab61
commit 00164ca23f
2 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,13 @@
--- a/src/r8168_n.c 2023-10-20 17:46:41.593467802 +0200
+++ b/src/r8168_n.c 2023-10-20 17:47:59.460123974 +0200
@@ -82,6 +82,10 @@
#include <linux/mdio.h>
#endif
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,5,0)
+#include <net/gso.h>
+#endif
+
#include <asm/io.h>
#include <asm/irq.h>