kernel: rtl8367b: restore rlvid definitions
authorMieczyslaw Nalewaj <namiltd@yahoo.com>
Wed, 7 Aug 2024 20:44:46 +0000 (22:44 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Thu, 8 Aug 2024 17:56:29 +0000 (19:56 +0200)
Restore RTL8367B_CHIP_VER_RLVID_SHIFT and RTL8367B_CHIP_VER_RLVID_MASK definitions
removed in commit c30e0eb2a33e.

Signed-off-by: Mieczyslaw Nalewaj <namiltd@yahoo.com>
Link: https://github.com/openwrt/openwrt/pull/16108
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/files/drivers/net/phy/rtl8367b.c

index 534da05517c77e13652d8325de0b2c015646ce4e..69deaec20c558f85b1344d94bd1db89efcfe33d5 100644 (file)
 #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*/