From: Helge Deller Date: Fri, 6 Feb 2026 23:29:11 +0000 (+0100) Subject: parisc: lba_pci: Add debug code to show IO and PA ranges X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1651d69443c3a5fc12f1dee1229d526e7af9020a;p=thirdparty%2Fkernel%2Flinux.git parisc: lba_pci: Add debug code to show IO and PA ranges Add more code to debug the PAT PDC firmware. Signed-off-by: Helge Deller --- diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c index 3fc3765fddaa..1d29fa13650b 100644 --- a/drivers/parisc/lba_pci.c +++ b/drivers/parisc/lba_pci.c @@ -1066,6 +1066,10 @@ lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev) p = (void *) &(pa_pdc_cell->mod[2+i*3]); io = (void *) &(io_pdc_cell->mod[2+i*3]); + DBG_PAT("PA #%d : TYPE 0x%08lx, start 0x%08lx, end 0x%08lx\n", + i, p->type, p->start, p->end); + DBG_PAT("IO #%d : TYPE 0x%08lx, start 0x%08lx, end 0x%08lx\n", + i, io->type, io->start, io->end); /* Convert the PAT range data to PCI "struct resource" */ switch(p->type & 0xff) {