diff options
Diffstat (limited to 'drivers/pnp/quirks.c')
-rw-r--r-- | drivers/pnp/quirks.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c index 37993206ae5d..e4daf4635c48 100644 --- a/drivers/pnp/quirks.c +++ b/drivers/pnp/quirks.c | |||
@@ -49,8 +49,11 @@ static void quirk_awe32_resources(struct pnp_dev *dev) | |||
49 | port2->max += 0x400; | 49 | port2->max += 0x400; |
50 | port3->min += 0x800; | 50 | port3->min += 0x800; |
51 | port3->max += 0x800; | 51 | port3->max += 0x800; |
52 | dev_info(&dev->dev, | ||
53 | "AWE32 quirk - added ioports 0x%lx and 0x%lx\n", | ||
54 | (unsigned long)port2->min, | ||
55 | (unsigned long)port3->min); | ||
52 | } | 56 | } |
53 | printk(KERN_INFO "pnp: AWE32 quirk - adding two ports\n"); | ||
54 | } | 57 | } |
55 | 58 | ||
56 | static void quirk_cmi8330_resources(struct pnp_dev *dev) | 59 | static void quirk_cmi8330_resources(struct pnp_dev *dev) |
@@ -73,7 +76,8 @@ static void quirk_cmi8330_resources(struct pnp_dev *dev) | |||
73 | IORESOURCE_DMA_8BIT) | 76 | IORESOURCE_DMA_8BIT) |
74 | dma->map = 0x000A; | 77 | dma->map = 0x000A; |
75 | } | 78 | } |
76 | printk(KERN_INFO "pnp: CMI8330 quirk - fixing interrupts and dma\n"); | 79 | dev_info(&dev->dev, "CMI8330 quirk - forced possible IRQs to 5, 7, 10 " |
80 | "and DMA channels to 1, 3\n"); | ||
77 | } | 81 | } |
78 | 82 | ||
79 | static void quirk_sb16audio_resources(struct pnp_dev *dev) | 83 | static void quirk_sb16audio_resources(struct pnp_dev *dev) |
@@ -104,8 +108,7 @@ static void quirk_sb16audio_resources(struct pnp_dev *dev) | |||
104 | changed = 1; | 108 | changed = 1; |
105 | } | 109 | } |
106 | if (changed) | 110 | if (changed) |
107 | printk(KERN_INFO | 111 | dev_info(&dev->dev, "SB audio device quirk - increased port range\n"); |
108 | "pnp: SB audio device quirk - increasing port range\n"); | ||
109 | } | 112 | } |
110 | 113 | ||
111 | 114 | ||
@@ -214,8 +217,8 @@ void pnp_fixup_device(struct pnp_dev *dev) | |||
214 | quirk = pnp_fixups[i].quirk_function; | 217 | quirk = pnp_fixups[i].quirk_function; |
215 | 218 | ||
216 | #ifdef DEBUG | 219 | #ifdef DEBUG |
217 | dev_dbg(&dev->dev, "calling quirk 0x%p", quirk); | 220 | dev_dbg(&dev->dev, "calling "); |
218 | print_fn_descriptor_symbol(": %s()\n", | 221 | print_fn_descriptor_symbol("%s()\n", |
219 | (unsigned long) *quirk); | 222 | (unsigned long) *quirk); |
220 | #endif | 223 | #endif |
221 | (*quirk)(dev); | 224 | (*quirk)(dev); |