From: Andrey Panin <pazke@orbita1.ru>
To: trivial@rustcorp.com.au
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] remove annoying ISAPNP message
Date: Fri, 15 Feb 2002 16:24:46 +0300 [thread overview]
Message-ID: <20020215132446.GA275@pazke.ipt> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 411 bytes --]
Hi,
here is first (I hope) patch for you :))
This patch removes useless messages like:
"isapnp: Calling quirk for 02:00".
These were debug messages some years ago and IMHO totally useless now.
Patch applies cleanly to 2.5.5 and should also apply to 2.4.x.
Best regards.
--
Andrey Panin | Embedded systems software engineer
pazke@orbita1.ru | PGP key: wwwkeys.eu.pgp.net
[-- Attachment #1.2: patch-isapnp-q --]
[-- Type: text/plain, Size: 815 bytes --]
diff -urN -X /usr/dontdiff /linux.vanilla/drivers/pnp/quirks.c /linux/drivers/pnp/quirks.c
--- /linux.vanilla/drivers/pnp/quirks.c Tue Oct 30 15:55:32 2001
+++ /linux/drivers/pnp/quirks.c Tue Oct 30 16:59:45 2001
@@ -18,6 +18,10 @@
#include <linux/isapnp.h>
#include <linux/string.h>
+#if 0
+#define ISAPNP_DEBUG
+#endif
+
static void __init quirk_awe32_resources(struct pci_dev *dev)
{
struct isapnp_port *port, *port2, *port3;
@@ -139,8 +143,10 @@
while (isapnp_fixups[i].vendor != 0) {
if ((isapnp_fixups[i].vendor == dev->vendor) &&
(isapnp_fixups[i].device == dev->device)) {
+#ifdef ISAPNP_DEBUG
printk(KERN_DEBUG "isapnp: Calling quirk for %02x:%02x\n",
dev->bus->number, dev->devfn);
+#endif
isapnp_fixups[i].quirk_function(dev);
}
i++;
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
reply other threads:[~2002-02-15 13:21 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=20020215132446.GA275@pazke.ipt \
--to=pazke@orbita1.ru \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/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