Commit 6a891249 authored by David S. Miller's avatar David S. Miller

[SCSI]: Use pci_name() in eata_pio.c

parent acf154f6
...@@ -873,13 +873,13 @@ static void find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt) ...@@ -873,13 +873,13 @@ static void find_pio_PCI(struct get_conf *buf, Scsi_Host_Template * tpnt)
u32 base, x; u32 base, x;
while ((dev = pci_find_device(PCI_VENDOR_ID_DPT, PCI_DEVICE_ID_DPT, dev)) != NULL) { while ((dev = pci_find_device(PCI_VENDOR_ID_DPT, PCI_DEVICE_ID_DPT, dev)) != NULL) {
DBG(DBG_PROBE && DBG_PCI, printk("eata_pio: find_PCI, HBA at %s\n", dev->dev.name)); DBG(DBG_PROBE && DBG_PCI, printk("eata_pio: find_PCI, HBA at %s\n", pci_name(dev)));
if (pci_enable_device(dev)) if (pci_enable_device(dev))
continue; continue;
pci_set_master(dev); pci_set_master(dev);
base = pci_resource_flags(dev, 0); base = pci_resource_flags(dev, 0);
if (base & IORESOURCE_MEM) { if (base & IORESOURCE_MEM) {
printk("eata_pio: invalid base address of device %s\n", dev->dev.name); printk("eata_pio: invalid base address of device %s\n", pci_name(dev));
continue; continue;
} }
base = pci_resource_start(dev, 0); base = pci_resource_start(dev, 0);
......
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