[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4CB86C87.5010207@gmail.com>
Date: Fri, 15 Oct 2010 23:00:23 +0800
From: Wan ZongShun <mcuos.com@...il.com>
To: netdev@...r.kernel.org, yachen@...oton.com,
"David S. Miller" <davem@...emloft.net>,
linux-kernel@...r.kernel.org
Subject: [PATCH] net/nuc900: change dev_warn to dev_dbg when link down occurs
Hi David,
When I didnot connect the net cable, the warning infos are always showed,
so I change the dev_warn to dev_dbg.
Signed-off-by: Wan ZongShun <mcuos.com@...il.com>
---
drivers/net/arm/w90p910_ether.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/arm/w90p910_ether.c b/drivers/net/arm/w90p910_ether.c
index 4545d5a..98f8ada 100644
--- a/drivers/net/arm/w90p910_ether.c
+++ b/drivers/net/arm/w90p910_ether.c
@@ -213,7 +213,7 @@ static void update_linkspeed(struct net_device *dev)
if (!mii_link_ok(ðer->mii)) {
ether->linkflag = 0x0;
netif_carrier_off(dev);
- dev_warn(&pdev->dev, "%s: Link down.\n", dev->name);
+ dev_dbg(&pdev->dev, "%s: Link down.\n", dev->name);
return;
}
--
1.6.3.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists