mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-24 15:52:02 +00:00
20 lines
602 B
Diff
20 lines
602 B
Diff
|
diff --git a/drivers/net/phy/meson-gxl.c b/drivers/net/phy/meson-gxl.c
|
||
|
index ddc92424e8de..ee0aa18af631 100644
|
||
|
--- a/drivers/net/phy/meson-gxl.c
|
||
|
+++ b/drivers/net/phy/meson-gxl.c
|
||
|
@@ -33,6 +33,14 @@
|
||
|
#define TSTCNTL_WRITE_ADDRESS GENMASK(4, 0)
|
||
|
#define TSTREAD1 21
|
||
|
#define TSTWRITE 23
|
||
|
+#define INTSRC_FLAG 29
|
||
|
+#define INTSRC_ANEG_PR BIT(1)
|
||
|
+#define INTSRC_PARALLEL_FAULT BIT(2)
|
||
|
+#define INTSRC_ANEG_LP_ACK BIT(3)
|
||
|
+#define INTSRC_LINK_DOWN BIT(4)
|
||
|
+#define INTSRC_REMOTE_FAULT BIT(5)
|
||
|
+#define INTSRC_ANEG_COMPLETE BIT(6)
|
||
|
+#define INTSRC_MASK 30
|
||
|
|
||
|
#define BANK_ANALOG_DSP 0
|
||
|
#define BANK_WOL 1
|