Skip to content

Commit

Permalink
Update Realtek r8152 driver to 2.19.2
Browse files Browse the repository at this point in the history
  • Loading branch information
awesometic committed Nov 16, 2024
1 parent 458c748 commit 94e05be
Show file tree
Hide file tree
Showing 2 changed files with 1,888 additions and 413 deletions.
11 changes: 3 additions & 8 deletions src/compatibility.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,8 @@
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(3,7,0) */
#endif /* LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31) */

#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,4,10)
#if defined __has_include
#if __has_include (<net/gso.h>)
#include <net/gso.h>
#endif
#endif
#endif /* LINUX_VERSION_CODE >= KERNEL_VERISON(6,4,10) */

#if LINUX_VERSION_CODE < KERNEL_VERSION(6,9,0)
#define ethtool_keee ethtool_eee
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0)
#define TSO_LEGACY_MAX_SIZE 65536
#define netif_napi_add_weight netif_napi_add
Expand Down Expand Up @@ -645,6 +639,7 @@
}
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,17,0) */
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(5,19,0) */
#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(6,9,0) */

#ifndef FALSE
#define TRUE 1
Expand Down
Loading

0 comments on commit 94e05be

Please sign in to comment.