]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: replace additional "magic numbers" with macros 21786/head
authorLinus Lüssing <linus.luessing@c0d3.blue>
Wed, 7 May 2025 16:40:40 +0000 (18:40 +0200)
committerRobert Marko <robimarko@gmail.com>
Sun, 1 Feb 2026 16:32:29 +0000 (17:32 +0100)
commitd1a9f876f3265577b5a1881dbc1e428c04c8808f
tree2b63b741b0f054bbad18ee20713b5886fd4fcac6
parente9398422e69ac77df5714e0bae73bc8f07d691c9
realtek: replace additional "magic numbers" with macros

Increase readability by replacing more numbers and bit operations
with macros in order to give them distinct, expressive names.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Link: https://github.com/openwrt/openwrt/pull/21786
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/common.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl838x.h
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl839x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl930x.c
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/rtl931x.c