mirror of
https://github.com/openwrt/openwrt.git
synced 2026-10-12 11:18:37 +04:00
Backport the upstream patch that converts the rtl8365mb register masks from hardcoded hex values to BIT() and GENMASK(). Upstream commit: net: dsa: realtek: rtl8365mb: define masks using BIT() and GENMASK() https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=9b84b36a527ccc831389628058a5bb1fcad66008 This is a pure refactoring with no functional change. It is backported so that later rtl8365mb backports based on the new macros apply cleanly. Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com> Link: https://github.com/openwrt/openwrt/pull/25678 Signed-off-by: Robert Marko <robimarko@gmail.com>