Commit 47ae515d authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] fix pci ide cleanness problem, make printk clearer

parent c574597e
...@@ -315,7 +315,7 @@ static int ide_pci_enable(struct pci_dev *dev, ide_pci_device_t *d) ...@@ -315,7 +315,7 @@ static int ide_pci_enable(struct pci_dev *dev, ide_pci_device_t *d)
"Could not enable device.\n", d->name); "Could not enable device.\n", d->name);
return -EBUSY; return -EBUSY;
} else } else
printk(KERN_WARNING "%s: Not fully BIOS configured!\n", d->name); printk(KERN_WARNING "%s: BIOS configuration fixed.\n", d->name);
} }
/* /*
...@@ -482,7 +482,7 @@ static void ide_hwif_setup_dma(struct pci_dev *dev, ide_pci_device_t *d, ide_hwi ...@@ -482,7 +482,7 @@ static void ide_hwif_setup_dma(struct pci_dev *dev, ide_pci_device_t *d, ide_hwi
if ((d->autodma == AUTODMA) || if ((d->autodma == AUTODMA) ||
((dev->class >> 8) == PCI_CLASS_STORAGE_IDE && ((dev->class >> 8) == PCI_CLASS_STORAGE_IDE &&
(dev->class & 0x80))) { (dev->class & 0x80))) {
u32 dma_base = ide_get_or_set_dma_base(hwif); unsigned long dma_base = ide_get_or_set_dma_base(hwif);
if (dma_base && !(pcicmd & PCI_COMMAND_MASTER)) { if (dma_base && !(pcicmd & PCI_COMMAND_MASTER)) {
/* /*
* Set up BM-DMA capability * Set up BM-DMA capability
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment