forked from Openwrt-EcoNet/openwrt
83d962316128 net: phy: realtek: add RTL8127-internal PHY 708686132ba0 net: phy: realtek: Add support for PHY LEDs on RTL8211E be1cc96ddf82 net: phy: realtek: use __set_bit() in rtl8211f_led_hw_control_get() 8c4d0172657c net: phy: realtek: Group RTL82* macro definitions 12d40df259e3 net: phy: realtek: add RTL8211F register defines 7c6fa3ffd265 net: phy: realtek: Clean up RTL821x ExtPage access f3b265358b91 net: phy: realtek: remove unsed RTL821x_PHYSR* macros 7840e4d6f48a net: phy: realtek: Add support for WOL magic packet on RTL8211F Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
29 lines
948 B
Diff
29 lines
948 B
Diff
From f3b265358b911fe9e495619bdfa7797749474f95 Mon Sep 17 00:00:00 2001
|
|
From: Michael Klein <michael@fossekall.de>
|
|
Date: Sun, 4 May 2025 19:29:11 +0200
|
|
Subject: [PATCH] net: phy: realtek: remove unsed RTL821x_PHYSR* macros
|
|
|
|
These macros have there since the first revision but were never used, so
|
|
let's just remove them.
|
|
|
|
Signed-off-by: Michael Klein <michael@fossekall.de>
|
|
Link: https://patch.msgid.link/20250504172916.243185-2-michael@fossekall.de
|
|
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
|
|
---
|
|
drivers/net/phy/realtek/realtek_main.c | 4 ----
|
|
1 file changed, 4 deletions(-)
|
|
|
|
--- a/drivers/net/phy/realtek/realtek_main.c
|
|
+++ b/drivers/net/phy/realtek/realtek_main.c
|
|
@@ -18,10 +18,6 @@
|
|
|
|
#include "realtek.h"
|
|
|
|
-#define RTL821x_PHYSR 0x11
|
|
-#define RTL821x_PHYSR_DUPLEX BIT(13)
|
|
-#define RTL821x_PHYSR_SPEED GENMASK(15, 14)
|
|
-
|
|
#define RTL821x_INER 0x12
|
|
#define RTL8211B_INER_INIT 0x6400
|
|
#define RTL8211E_INER_LINK_STATUS BIT(10)
|