@@ -749,24 +749,21 @@ lba_fixup_bus(struct pci_bus *bus)
continue;
if (res->flags & IORESOURCE_IO) {
- DBG("lba_fixup_bus() I/O Ports [%lx/%lx] -> ",
- res->start, res->end);
+ DBG("lba_fixup_bus() I/O Ports [%pR] -> ", res);
res->start |= lba_portbase;
res->end |= lba_portbase;
- DBG("[%lx/%lx]\n", res->start, res->end);
+ DBG("[%pR]\n", res);
} else if (res->flags & IORESOURCE_MEM) {
/*
** Convert PCI (IO_VIEW) addresses to
** processor (PA_VIEW) addresses
*/
- DBG("lba_fixup_bus() MMIO [%lx/%lx] -> ",
- res->start, res->end);
+ DBG("lba_fixup_bus() MMIO [%pR] -> ", res);
res->start = PCI_HOST_ADDR(HBA_DATA(ldev), res->start);
res->end = PCI_HOST_ADDR(HBA_DATA(ldev), res->end);
- DBG("[%lx/%lx]\n", res->start, res->end);
+ DBG("[%pR]\n", res);
} else {
- DBG("lba_fixup_bus() WTF? 0x%lx [%lx/%lx] XXX",
- res->flags, res->start, res->end);
+ DBG("lba_fixup_bus() WTF? [%pR] XXX", res);
}
/*