[openwrt/openwrt] kernel: rtl8367b: restore rlvid definitions

LEDE Commits lede-commits at lists.infradead.org
Thu Aug 8 10:58:19 PDT 2024


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/48d9a0b8dda62550d810db4d937bd779f2e25f16

commit 48d9a0b8dda62550d810db4d937bd779f2e25f16
Author: Mieczyslaw Nalewaj <namiltd at yahoo.com>
AuthorDate: Wed Aug 7 22:44:46 2024 +0200

    kernel: rtl8367b: restore rlvid definitions
    
    Restore RTL8367B_CHIP_VER_RLVID_SHIFT and RTL8367B_CHIP_VER_RLVID_MASK definitions
    removed in commit c30e0eb2a33e.
    
    Signed-off-by: Mieczyslaw Nalewaj <namiltd at yahoo.com>
    Link: https://github.com/openwrt/openwrt/pull/16108
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/generic/files/drivers/net/phy/rtl8367b.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/target/linux/generic/files/drivers/net/phy/rtl8367b.c b/target/linux/generic/files/drivers/net/phy/rtl8367b.c
index 534da05517..69deaec20c 100644
--- a/target/linux/generic/files/drivers/net/phy/rtl8367b.c
+++ b/target/linux/generic/files/drivers/net/phy/rtl8367b.c
@@ -121,6 +121,8 @@
 #define RTL8367B_CHIP_NUMBER_REG		0x1300/*GOOD*/
 
 #define RTL8367B_CHIP_VER_REG			0x1301/*GOOD*/
+#define   RTL8367B_CHIP_VER_RLVID_SHIFT		12/*GOOD*/
+#define   RTL8367B_CHIP_VER_RLVID_MASK		0xf/*GOOD*/
 #define   RTL8367B_CHIP_VER_MCID_SHIFT		8/*GOOD*/
 #define   RTL8367B_CHIP_VER_MCID_MASK		0xf/*GOOD*/
 #define   RTL8367B_CHIP_VER_BOID_SHIFT		4/*GOOD*/




More information about the lede-commits mailing list