patch-2.4.19 linux-2.4.19/drivers/pnp/quirks.c
Next file: linux-2.4.19/drivers/s390/block/dasd.c
Previous file: linux-2.4.19/drivers/pnp/isapnp.c
Back to the patch index
Back to the overall index
- Lines: 22
- Date:
Fri Aug 2 17:39:44 2002
- Orig file:
linux-2.4.18/drivers/pnp/quirks.c
- Orig date:
Sun Nov 4 09:31:58 2001
diff -urN linux-2.4.18/drivers/pnp/quirks.c linux-2.4.19/drivers/pnp/quirks.c
@@ -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++;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)