]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: eth: convert set_rx_mode() to regmap 22757/head
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Fri, 3 Apr 2026 10:25:59 +0000 (12:25 +0200)
committerRobert Marko <robimarko@gmail.com>
Mon, 6 Apr 2026 09:23:17 +0000 (11:23 +0200)
commit063223da70678e3eb0d0c7bc1a311b9bf756e2fa
tree75af1887708d848fd1d55df468f0b1d4c47899b7
parent99a0cf9c4466eed6993419fb6d697805467b4443
realtek: eth: convert set_rx_mode() to regmap

Make use of regmap in all device specific set_rx_mode() functions.
Adapt the constant prefixes to the rest of the driver. While we
are here:

- align the RTL931x function name with the other targets
- replace constants with GENMASK()
- use new lowercase style for hexadecimal values

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/22757
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.18/drivers/net/ethernet/rtl838x_eth.c
target/linux/realtek/files-6.18/drivers/net/ethernet/rtl838x_eth.h