From: Jean Tourrilhes <jt@bougret.hpl.hp.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>,
Jeff Garzik <jgarzik@mandrakesoft.com>,
Alan Cox <alan@lxorguk.ukuu.org.uk>,
Linux kernel mailing list <linux-kernel@vger.kernel.org>
Subject: [PATCH 2.4] Fix dev->trans_start in wavelan
Date: Tue, 6 Aug 2002 11:18:59 -0700 [thread overview]
Message-ID: <20020806181859.GG11313@bougret.hpl.hp.com> (raw)
Hi Marcelo,
Previous patch was for the Pcmcia driver, this one is for the
ISA driver. This fix an annoying kernel log message, does the right
obvious thing and is very low risk.
Tested intensively on 2.4.19.
Regards,
Jean
-----------------------------------------------------------
diff -u -p linux/drivers/net/wavelan.p.25.h linux/drivers/net/wavelan.p.h
--- linux/drivers/net/wavelan.p.25.h Mon Aug 5 14:56:35 2002
+++ linux/drivers/net/wavelan.p.h Mon Aug 5 15:11:59 2002
@@ -345,6 +345,10 @@
* - Fix spinlock stupid bugs that I left in. The driver is now SMP
* compliant and doesn't lockup at startup.
*
+ * Changes made for release in 2.4.20 :
+ * ----------------------------------
+ * - Set dev->trans_start to avoid filling the logs
+ *
* Wishes & dreams:
* ----------------
* - roaming (see Pcmcia driver)
diff -u -p linux/drivers/net/wavelan.25.c linux/drivers/net/wavelan.c
--- linux/drivers/net/wavelan.25.c Mon Aug 5 14:56:44 2002
+++ linux/drivers/net/wavelan.c Mon Aug 5 14:57:36 2002
@@ -2782,6 +2782,9 @@ static inline int wv_packet_write(device
(unsigned char *) &nop.nop_h.ac_link,
sizeof(nop.nop_h.ac_link));
+ /* Make sure the watchdog will keep quiet for a while */
+ dev->trans_start = jiffies;
+
/* Keep stats up to date. */
lp->stats.tx_bytes += length;
reply other threads:[~2002-08-06 18:15 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=20020806181859.GG11313@bougret.hpl.hp.com \
--to=jt@bougret.hpl.hp.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=jgarzik@mandrakesoft.com \
--cc=jt@hpl.hp.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/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
all inboxes | Powered by JetHome®