Albert Zhou <albert.zhou.50@xxxxxxxxx> > Sent: Tuesday, November 8, 2022 11:34 PM > Subject: [PATCH net-next RFC 0/5] Update r8152 to version two > > 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. The Realtek's in-house driver doesn't satisfy the rules or requests of Linux kernel, so I don't think you could use it to replace the Linux kernel r8152 driver. The version is used to distinguish between the Realtek's in-house driver and Linux kernel r8152 driver. It doesn't mean you have to use version 2, even the version 2 may contain more experiment features. Best Regards, Hayes > 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.