]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
parisc: lba_pci: Add debug code to show IO and PA ranges
authorHelge Deller <deller@gmx.de>
Fri, 6 Feb 2026 23:29:11 +0000 (00:29 +0100)
committerHelge Deller <deller@gmx.de>
Fri, 6 Feb 2026 23:45:19 +0000 (00:45 +0100)
Add more code to debug the PAT PDC firmware.

Signed-off-by: Helge Deller <deller@gmx.de>
drivers/parisc/lba_pci.c

index 3fc3765fddaaffd16f1f6d7cde839ec1e704c816..1d29fa13650be8d9ccff83c1929f28f3a7d4a9c1 100644 (file)
@@ -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) {