remove annoying ISAPNP message
PATCH 1/1 remove annoying ISAPNP message
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.
Signature · 2 lines
Andrey Panin | Embedded systems software engineer [email protected] | PGP key: wwwkeys.eu.pgp.net
linux/drivers/pnp/quirks.c renamed from linux.vanilla/drivers/pnp/quirks.c +6 -0
@@ -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++;