This patch integrates the version-two r8152 drivers from Realtek into the kernel. I am new to kernel development, so apologies if I make newbie mistakes. I have tested the updated module in v6.1 on my machine, without any issues. A final note, when I removed all the code for earlier kernel versions, the header r8152_compatibility.h reduced dramatically in size. This leads me to suspect that some of the headers like <linux/init.h> are no longer needed. However, I left them in there just in case. Albert Zhou (5): net: move back netif_set_gso_max helpers r8152: update to version two r8152: remove backwards compatibility r8152: merge header into source r8152: remove redundant code drivers/net/usb/r8152.c | 19712 +++++++++++++++++++++++++++--------- include/linux/netdevice.h | 21 + net/core/dev.h | 21 - 3 files changed, 15072 insertions(+), 4682 deletions(-) base-commit: ee6050c8af96bba2f81e8b0793a1fc2f998fcd20 -- 2.34.1