linux/drivers
Birger Koblitz fd3c7d080d r8152: Add support for the RTL8157 hardware
The RTL8157 uses a different packet descriptor format compared to the
previous generation of chips. Add support for this format by adding a
descriptor format structure into the r8152 structure and corresponding
desc_ops functions which abstract the vlan-tag, tx/rx len and
tx/rx checksum algorithms.

Also, add support for the ADV indirect access interface of the RTL8157
and PHY setup.

For initialization of the RTL8157, combine the existing RTL8156B and
RTL8156 init functions and add RTL8157-specific functinality in order
to improve code readability and maintainability.
r8156_init() is now called with RTL_VER_10 and RTL_VER_11 for the RTL8156,
with RTL_VER_12, RTL_VER_13 and RTL_VER_15 for the RTL8156B and with
RTL_VER_16 for the RTL8157 and checks the version for chip-specific code.
Also add USB power control functions for the RTL8157.

Add support for the USB device ID of Realtek RTL8157-based adapters. Detect
the RTL8157 as RTL_VER_16 and set it up.

Signed-off-by: Birger Koblitz <mail@birger-koblitz.de>
Link: https://patch.msgid.link/20260404-rtl8157_next-v7-2-039121318f23@birger-koblitz.de
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2026-04-09 12:16:46 +02:00
..
accel
accessibility
acpi ACPI: EC: clean up handlers on probe failure in acpi_ec_setup() 2026-03-24 18:47:10 +01:00
amba
android
ata
atm
auxdisplay auxdisplay: line-display: fix NULL dereference in linedisp_release 2026-03-27 09:54:31 +01:00
base Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-02 11:03:13 -07:00
bcma
block
bluetooth Bluetooth: hci_h4: Fix race during initialization 2026-04-01 16:45:47 -04:00
bus
cache
cdrom
cdx
char
clk Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-03-26 12:09:57 -07:00
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dibs
dio
dma
dma-buf
dpll dpll: zl3073x: implement frequency monitoring 2026-04-03 16:48:01 -07:00
edac
eisa
extcon
firewire
firmware
fpga
fsi
fwctl
gnss
gpib
gpio
gpu Mediatek DRM Fixes - 20260323 2026-03-28 08:05:36 +10:00
greybus
hid
hsi
hte
hv
hwmon hwmon: (pmbus/core) Protect regulator operations with mutex 2026-03-25 13:32:37 -07:00
hwspinlock
hwtracing
i2c i2c: designware: amdisp: Fix resume-probe race condition issue 2026-03-27 13:51:21 +01:00
i3c
idle
iio
infiniband Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-02 11:03:13 -07:00
input
interconnect
iommu IOMMU Fixes for Linux v7.0-rc6 2026-04-02 09:53:16 -07:00
ipack
irqchip Miscellaneous irqchip driver fixes: 2026-03-29 09:53:01 -07:00
isdn
leds
macintosh
mailbox
mcb
md
media media: ccs: Avoid deadlock in ccs_init_state() 2026-03-26 13:14:07 +01:00
memory
memstick
message
mfd
misc
mmc
most
mtd
mux
net r8152: Add support for the RTL8157 hardware 2026-04-09 12:16:46 +02:00
nfc Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-02 11:03:13 -07:00
ntb
nubus
nvdimm
nvme
nvmem
of
opp
parisc
parport
pci
pcmcia
peci
perf
phy Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-02 11:03:13 -07:00
pinctrl
platform
pmdomain
pnp
power
powercap
pps
ps3
ptp
pwm
rapidio
ras
regulator
remoteproc
resctrl
reset
rpmsg
rtc
s390
sbus
scsi Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net 2026-04-02 11:03:13 -07:00
sh
siox
slimbus
soc
soundwire
spi spi: spi-fsl-lpspi: fix teardown order issue (UAF) 2026-03-26 12:27:42 +00:00
spmi
ssb
staging
target
tc
tee
thermal thermal: intel: int340x: soc_slider: Set offset only for balanced mode 2026-03-24 19:00:12 +01:00
thunderbolt
tty
ufs
uio
usb
vdpa
vfio vfio/pci: Fix double free in dma-buf feature 2026-03-26 06:38:27 -06:00
vhost
video
virt
virtio
w1
watchdog
xen xen/privcmd: unregister xenstore notifier on module exit 2026-03-26 08:57:51 +01:00
zorro
Kconfig
Makefile