aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.10/0220-NET-ralink-squelch_mdio_access.patch
blob: bc92a0221fcf30156c9a43383dd6e5c25390260b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Index: linux-3.10.34/drivers/net/ethernet/ralink/mdio_rt2880.c
===================================================================
--- linux-3.10.34.orig/drivers/net/ethernet/ralink/mdio_rt2880.c
+++ linux-3.10.34/drivers/net/ethernet/ralink/mdio_rt2880.c
@@ -136,7 +136,7 @@ int rt2880_mdio_read(struct mii_bus *bus
 	if (err)
 		return 0xffff;
 
-	pr_info("%s: addr=%04x, reg=%04x, value=%04x\n", __func__,
+	pr_debug("%s: addr=%04x, reg=%04x, value=%04x\n", __func__,
 		phy_addr, phy_reg, fe_r32(FE_MDIO_ACCESS) & 0xffff);
 
 	return fe_r32(FE_MDIO_ACCESS) & 0xffff;
@@ -148,7 +148,7 @@ int rt2880_mdio_write(struct mii_bus *bu
 	int err;
 	u32 t;
 
-	pr_info("%s: addr=%04x, reg=%04x, value=%04x\n", __func__,
+	pr_debug("%s: addr=%04x, reg=%04x, value=%04x\n", __func__,
 		phy_addr, phy_reg, fe_r32(FE_MDIO_ACCESS) & 0xffff);
 
 	err = rt2880_mdio_wait_ready(priv);