diff options
| author | INAGAKI Hiroshi | 2024-12-23 12:00:26 +0000 |
|---|---|---|
| committer | Sander Vanheule | 2025-01-21 17:37:51 +0000 |
| commit | 9fc80b684cb4d0d4b632c973bd1b90ca573628d1 (patch) | |
| tree | 12a75e53b46f35dcf57ce230d890bcf9f0f54d14 | |
| parent | 09fbc5d343bb5a5c247c9f302491108de740606f (diff) | |
| download | openwrt-9fc80b684cb4d0d4b632c973bd1b90ca573628d1.tar.gz | |
realtek: suppress debug messages of RTL930x SerDes in PHY driver
Change some debugging messages of RTL930x SerDes in the PHY driver to
pr_debug() to suppress log messages on the console.
Signed-off-by: INAGAKI Hiroshi <musashino.open@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17593
Signed-off-by: Sander Vanheule <sander@svanheule.net>
| -rw-r--r-- | target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c b/target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c index 09c6ca3b2c..53a7e184f5 100644 --- a/target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c +++ b/target/linux/realtek/files-6.6/drivers/net/phy/rtl83xx-phy.c @@ -1690,7 +1690,7 @@ static int rtl9300_read_status(struct phy_device *phydev) if (of_property_read_u32(dn, "sds", &sds_num)) sds_num = -1; - pr_info("%s: Port %d, SerDes is %d\n", __func__, phy_addr, sds_num); + pr_debug("%s: Port %d, SerDes is %d\n", __func__, phy_addr, sds_num); } else { dev_err(dev, "No DT node.\n"); return -EINVAL; @@ -1700,7 +1700,7 @@ static int rtl9300_read_status(struct phy_device *phydev) return 0; mode = rtl9300_sds_mode_get(sds_num); - pr_info("%s got SDS mode %02x\n", __func__, mode); + pr_debug("%s got SDS mode %02x\n", __func__, mode); if (mode == RTL930X_SDS_OFF) mode = rtl9300_sds_field_r(sds_num, 0x1f, 9, 11, 7); if (mode == RTL930X_SDS_MODE_10GBASER) { /* 10GR mode */ @@ -1715,7 +1715,7 @@ static int rtl9300_read_status(struct phy_device *phydev) latch_status |= rtl9300_sds_field_r(sds_num, 0x1, 30, 8, 0); } - pr_info("%s link status: status: %d, latch %d\n", __func__, status, latch_status); + pr_debug("%s link status: status: %d, latch %d\n", __func__, status, latch_status); if (latch_status) { phydev->link = true; |