* [PATCH] forcedeth: "no link" is informational
@ 2007-09-18 17:00 Ed Swierk
0 siblings, 0 replies; only message in thread
From: Ed Swierk @ 2007-09-18 17:00 UTC (permalink / raw)
To: netdev; +Cc: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
Log "no link during initialization" at KERN_INFO as it's not an error,
and occurs every time the interface comes up (when the
forcedeth-phy-power-down patch is applied).
Signed-off-by: Ed Swierk <eswierk@arastra.com>
[-- Attachment #2: forcedeth-open-no-link-printk.patch --]
[-- Type: application/octet-stream, Size: 713 bytes --]
Log "no link during initialization" at KERN_INFO as it's not an error,
and occurs every time the interface comes up (when the
forcedeth-phy-power-down patch is applied).
Signed-off-by: Ed Swierk <eswierk@arastra.com>
Index: linux-2.6.22.6/drivers/net/forcedeth.c
===================================================================
--- linux-2.6.22.6.orig/drivers/net/forcedeth.c
+++ linux-2.6.22.6/drivers/net/forcedeth.c
@@ -4920,7 +4920,7 @@ static int nv_open(struct net_device *de
if (ret) {
netif_carrier_on(dev);
} else {
- printk("%s: no link during initialization.\n", dev->name);
+ printk(KERN_INFO "%s: no link during initialization.\n", dev->name);
netif_carrier_off(dev);
}
if (oom)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-09-18 17:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-18 17:00 [PATCH] forcedeth: "no link" is informational Ed Swierk
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox