diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:31 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-24 16:53:31 -0400 |
commit | 28cfd8af52a9ed4e5bd1751ea6bc0b8c870f68ec (patch) | |
tree | 77491546baa6572cfc22ba7a93062cc857f9adbe /drivers/ide/pci/pdc202xx_old.c | |
parent | 2a8f7450f828eaee49d66f41f99ac2e54f1160a6 (diff) |
ide: include PCI device name in messages from IDE PCI host drivers
While at it:
* Apply small fixes to messages (s/dma/DMA/, remove trailing '.', etc).
* Fix printk() call in ide_setup_pci_baseregs() to use KERN_INFO.
* Move printk() call from ide_pci_clear_simplex() to the caller.
* Cleanup do_ide_setup_pci_device() a bit.
* amd74xx.c: remove superfluous PCI device revision information.
* hpt366.c: fix two printk() calls in ->init_chipset to use KERN_INFO.
* pdc202xx_new.c: fix printk() call in ->init_chipset to use KERN_INFO.
* pdc202xx_old.c: fix driver message in pdc202xx_init_one().
* via82cxxx.c: fix driver warning message in via_init_one().
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/pci/pdc202xx_old.c')
-rw-r--r-- | drivers/ide/pci/pdc202xx_old.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/ide/pci/pdc202xx_old.c b/drivers/ide/pci/pdc202xx_old.c index 17d99ce273af..5cb2731047e9 100644 --- a/drivers/ide/pci/pdc202xx_old.c +++ b/drivers/ide/pci/pdc202xx_old.c | |||
@@ -304,8 +304,8 @@ static void __devinit pdc202ata4_fixup_irq(struct pci_dev *dev, | |||
304 | if (irq != irq2) { | 304 | if (irq != irq2) { |
305 | pci_write_config_byte(dev, | 305 | pci_write_config_byte(dev, |
306 | (PCI_INTERRUPT_LINE)|0x80, irq); /* 0xbc */ | 306 | (PCI_INTERRUPT_LINE)|0x80, irq); /* 0xbc */ |
307 | printk(KERN_INFO "%s: PCI config space interrupt " | 307 | printk(KERN_INFO "%s %s: PCI config space interrupt " |
308 | "mirror fixed\n", name); | 308 | "mirror fixed\n", name, pci_name(dev)); |
309 | } | 309 | } |
310 | } | 310 | } |
311 | } | 311 | } |
@@ -406,8 +406,9 @@ static int __devinit pdc202xx_init_one(struct pci_dev *dev, const struct pci_dev | |||
406 | bridge->vendor == PCI_VENDOR_ID_INTEL && | 406 | bridge->vendor == PCI_VENDOR_ID_INTEL && |
407 | (bridge->device == PCI_DEVICE_ID_INTEL_I960 || | 407 | (bridge->device == PCI_DEVICE_ID_INTEL_I960 || |
408 | bridge->device == PCI_DEVICE_ID_INTEL_I960RM)) { | 408 | bridge->device == PCI_DEVICE_ID_INTEL_I960RM)) { |
409 | printk(KERN_INFO "ide: Skipping Promise PDC20265 " | 409 | printk(KERN_INFO "pdc202xx_old %s: skipping Promise " |
410 | "attached to I2O RAID controller\n"); | 410 | "PDC20265 attached to I2O RAID controller\n", |
411 | pci_name(dev)); | ||
411 | return -ENODEV; | 412 | return -ENODEV; |
412 | } | 413 | } |
413 | } | 414 | } |