From: Magnus Damm <magnus.damm@gmail.com>
To: netdev@vger.kernel.org
Cc: eric.miao@marvell.com, Magnus Damm <magnus.damm@gmail.com>, nico@cam.org
Subject: [PATCH] smc91x: fix nowait printout
Date: Mon, 08 Sep 2008 14:02:56 +0900 [thread overview]
Message-ID: <20080908050256.11555.34058.sendpatchset@rx1.opensource.se> (raw)
From: Magnus Damm <damm@igel.co.jp>
Commit c4f0e76747e80578a8f7fddd82fd0ce8127bd2f8 added nowait platform
data support. The printout code was however not updated, so the value
of SMC_NOWAIT is still used. This patch makes sure that nowait is printed
accordingly to platform data.
Signed-off-by: Magnus Damm <damm@igel.co.jp>
---
drivers/net/smc91x.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- 0001/drivers/net/smc91x.c
+++ work/drivers/net/smc91x.c 2008-09-03 18:42:56.000000000 +0900
@@ -1961,7 +1961,8 @@ static int __init smc_probe(struct net_d
if (dev->dma != (unsigned char)-1)
printk(" DMA %d", dev->dma);
- printk("%s%s\n", nowait ? " [nowait]" : "",
+ printk("%s%s\n",
+ lp->cfg.flags & SMC91X_NOWAIT ? " [nowait]" : "",
THROTTLE_TX_PKTS ? " [throttle_tx]" : "");
if (!is_valid_ether_addr(dev->dev_addr)) {
next reply other threads:[~2008-09-08 5:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-08 5:02 Magnus Damm [this message]
2008-09-13 19:12 ` [PATCH] smc91x: fix nowait printout Jeff Garzik
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=20080908050256.11555.34058.sendpatchset@rx1.opensource.se \
--to=magnus.damm@gmail.com \
--cc=eric.miao@marvell.com \
--cc=netdev@vger.kernel.org \
--cc=nico@cam.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;
as well as URLs for NNTP newsgroup(s).