]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
r8152: Add support for the RTL8159 chip
authorBirger Koblitz <mail@birger-koblitz.de>
Tue, 5 May 2026 15:56:34 +0000 (17:56 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 7 May 2026 01:54:14 +0000 (18:54 -0700)
commitad2a55b63b41af6431bfdde611ca5cf79e21ff51
tree1464820d0725b4804bc52828408990e1f93397b2
parent9774acd5fa5d6e78f62694ac5e2dca3ca3c11a8e
r8152: Add support for the RTL8159 chip

The RTL8159 re-uses the packet descriptor format introduced with the
RTL8157 and other hardware features of the RTL8157 (RTL_VER_16) such
as the SRAM access. The support therefore consists in expanding the
existing RTL8157 code for initialization and USB power management
to also be used for the RTL8159 (RTL_VER_17).

Most of the additional code is added in r8157_hw_phy_cfg() to configure
the RTL8159 PHY.

Add support for the USB device ID of Realtek RTL8159-based adapters,
for which the product ID is 0x815a. Detect the RTL8159 as RTL_VER_17
and set it up.

Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>
Tested-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://patch.msgid.link/20260505-rtl8159_net_next-v4-2-1a648a9c4d8d@birger-koblitz.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/usb/r8152.c