Netdev List
 help / color / mirror / Atom feed
From: "Ed Swierk" <eswierk@arastra.com>
To: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] forcedeth: "no link" is informational
Date: Tue, 18 Sep 2007 10:00:45 -0700	[thread overview]
Message-ID: <e6c711510709181000n5817895n753124f6bae45ed3@mail.gmail.com> (raw)

[-- 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)

                 reply	other threads:[~2007-09-18 17:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e6c711510709181000n5817895n753124f6bae45ed3@mail.gmail.com \
    --to=eswierk@arastra.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox