]> git.ipfire.org Git - thirdparty/linux.git/commit
net: phy: realtek: add interrupt support for RTL8221B
authorJianhui Zhao <zhaojh329@gmail.com>
Sun, 2 Nov 2025 15:26:37 +0000 (16:26 +0100)
committerJakub Kicinski <kuba@kernel.org>
Tue, 4 Nov 2025 00:45:46 +0000 (16:45 -0800)
commit18aa36238a4d835c1644dcccd63d32c7fdd4b310
tree25b2e7dd61b7e54f4b1db510808540798eb336bb
parentacbf1d0a9aeb1035e74c3750a6b31db0b7b69ed4
net: phy: realtek: add interrupt support for RTL8221B

This commit introduces interrupt support for RTL8221B (C45 mode).
Interrupts are mapped on the VEND2 page. VEND2 registers are only
accessible via C45 reads and cannot be accessed by C45 over C22.

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
[Enable only link state change interrupts]
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20251102152644.1676482-1-olek2@wp.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/realtek/realtek_main.c