lkml.org 
[lkml]   [2000]   [Feb]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Date
Subject[PATCH] isapnp beautified

I slightly changed some printk in pnp/isapnp.c and pnp/quirks.c.
It should look better now.

--

- *Alex* -

http://freepage.logicom.it/azummo/
--- linux/drivers/pnp/isapnp.c Mon Feb 28 21:17:26 2000
+++ sb-linux/drivers/pnp/isapnp.c Tue Feb 29 02:17:57 2000
@@ -2040,7 +2040,7 @@
if (isapnp_reserve_irq[i] < 0) {
isapnp_reserve_irq[i] = irq;
#ifdef ISAPNP_DEBUG
- printk("IRQ %i is reserved now.\n", irq);
+ printk("isapnp: IRQ %i is reserved now.\n", irq);
#endif
return 0;
}
@@ -2056,7 +2056,7 @@

pci_for_each_dev(dev) {
#ifdef ISAPNP_DEBUG
- printk("PCI: reserved IRQ: %i\n", dev->irq);
+ printk("isapnp: PCI: reserved IRQ: %i\n", dev->irq);
#endif
if (dev->irq > 0)
isapnp_do_reserve_irq(dev->irq);
--- linux/drivers/pnp/quirks.c Mon Feb 28 21:16:56 2000
+++ sb-linux/drivers/pnp/quirks.c Tue Feb 29 02:18:43 2000
@@ -45,7 +45,7 @@
port3->min += 0x800;
port3->max += 0x800;
}
- printk(KERN_INFO "ISAPnP: AWE32 quirk - adding two ports\n");
+ printk(KERN_INFO "isapnp: AWE32 quirk - adding two ports\n");
}


@@ -71,7 +71,7 @@
while (isapnp_fixups[i].vendor != 0) {
if ((isapnp_fixups[i].vendor == dev->vendor) &&
(isapnp_fixups[i].device == dev->device)) {
- printk(KERN_DEBUG "PnP: Calling quirk for %02x:%02x\n",
+ printk(KERN_DEBUG "isapnp: Calling quirk for %02x:%02x\n",
dev->bus->number, dev->devfn);
isapnp_fixups[i].quirk_function(dev);
}
\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2011 Jasper Spaans