diff options
author | John Crispin <blogic@openwrt.org> | 2014-07-14 17:05:40 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-07-14 17:05:40 +0000 |
commit | 5e24285604889f04eb422810179fe132fd1dbdd9 (patch) | |
tree | d446b0669b4bf3584db9339f3ea6afda95333375 | |
parent | 69796a42c926522262f190fefd5cc6c432f97b4a (diff) | |
download | master-187ad058-5e24285604889f04eb422810179fe132fd1dbdd9.tar.gz master-187ad058-5e24285604889f04eb422810179fe132fd1dbdd9.tar.bz2 master-187ad058-5e24285604889f04eb422810179fe132fd1dbdd9.zip |
ramips: squelch mdio debugging info on rt2880 ethernet
Use pr_debug rather than pr_info since it is only relevant
for debugging.
Signed-off-by: Claudio Leite <leitec@staticky.com>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41653 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | target/linux/ramips/patches-3.10/0220-NET-ralink-squelch_mdio_access.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/ramips/patches-3.10/0220-NET-ralink-squelch_mdio_access.patch b/target/linux/ramips/patches-3.10/0220-NET-ralink-squelch_mdio_access.patch new file mode 100644 index 0000000000..bc92a0221f --- /dev/null +++ b/target/linux/ramips/patches-3.10/0220-NET-ralink-squelch_mdio_access.patch @@ -0,0 +1,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); |