mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-08 11:32:05 +08:00
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)
|