Skip to contentSkip to conversation

net: eth-phy: define LOG_CATEGORY

PATCH RESEND In review Patrick Delaunay 2 participants 6 messages Jul 20, 2021 – Jul 22, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/3 net: eth-phy: define LOG_CATEGORY

Define LOG_CATEGORY to allow filtering with log command.

---

 drivers/net/eth-phy-uclass.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/eth-phy-uclass.c +2 -0
index 07aebd935e..abb658bf21 100644
@@ -3,6 +3,8 @@
  * Copyright 2020 NXP
  */
 
+#define LOG_CATEGORY UCLASS_ETH_PHY
+
 #include <common.h>
 #include <dm.h>
 #include <net.h>
Signature · 1 line
2.25.1
#1 lore raw

PATCH RESEND 2/3 net: dwc_eth_qos: define LOG_CATEGORY

Define LOG_CATEGORY to allow filtering with log command.

---

 drivers/net/dwc_eth_qos.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/dwc_eth_qos.c +2 -0
index f048e9d585..3358dc3514 100644
@@ -27,6 +27,8 @@
  *    all clock and reset signals to the HW block.
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
Signature · 1 line
2.25.1
#2 lore raw

Re: [RESEND PATCH 2/3] net: dwc_eth_qos: define LOG_CATEGORY

Quoted 24 lines · Patrick Delaunay

Define LOG_CATEGORY to allow filtering with log command.

---

 drivers/net/dwc_eth_qos.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/dwc_eth_qos.c +2 -1
index f048e9d585..3358dc3514 100644
@@ -27,6 +27,8 @@
  *    all clock and reset signals to the HW block.
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include <common.h>
 #include <clk.h>
 #include <cpu_func.h>
--
Quoted 2 lines

2.25.1

Applied to u-boot-net/network-master
Thanks,
Ramon.

#3 lore raw

PATCH RESEND 3/3 net: define LOG_CATEGORY

In reply to Patrick Delaunay

Define LOG_CATEGORY to allow filtering with log command.

---

 net/eth-uclass.c | 2 ++
 1 file changed, 2 insertions(+)
net/eth-uclass.c +2 -0
index 5146bd6666..c2a97d723a 100644
@@ -5,6 +5,8 @@
  * Joe Hershberger, National Instruments
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include <common.h>
 #include <bootstage.h>
 #include <dm.h>
Signature · 1 line
2.25.1
#4 lore raw

Re: [RESEND PATCH 3/3] net: define LOG_CATEGORY

Quoted 24 lines · Patrick Delaunay

Define LOG_CATEGORY to allow filtering with log command.

---

 net/eth-uclass.c | 2 ++
 1 file changed, 2 insertions(+)
net/eth-uclass.c +2 -1
index 5146bd6666..c2a97d723a 100644
@@ -5,6 +5,8 @@
  * Joe Hershberger, National Instruments
  */
 
+#define LOG_CATEGORY UCLASS_ETH
+
 #include <common.h>
 #include <bootstage.h>
 #include <dm.h>
--
Quoted 2 lines

2.25.1

Applied to u-boot-net/network-master
Thanks,
Ramon.

#5 lore raw
In reply to Patrick Delaunay
Quoted 24 lines · Patrick Delaunay

Define LOG_CATEGORY to allow filtering with log command.

---

 drivers/net/eth-phy-uclass.c | 2 ++
 1 file changed, 2 insertions(+)
drivers/net/eth-phy-uclass.c +2 -1
index 07aebd935e..abb658bf21 100644
@@ -3,6 +3,8 @@
  * Copyright 2020 NXP
  */
 
+#define LOG_CATEGORY UCLASS_ETH_PHY
+
 #include <common.h>
 #include <dm.h>
 #include <net.h>
--
Quoted 2 lines

2.25.1

Applied to u-boot-net/network-master
Thanks,
Ramon.