summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2026-02-07 00:29:11 +0100
committerHelge Deller <deller@gmx.de>2026-02-07 00:45:19 +0100
commit1651d69443c3a5fc12f1dee1229d526e7af9020a (patch)
tree9dec0c54f1b5315486333e9335a9cfa4dbec7235
parent62c544bc108caa4ce68bfb9864a2500c4480ff56 (diff)
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 <deller@gmx.de>
-rw-r--r--drivers/parisc/lba_pci.c4
1 files changed, 4 insertions, 0 deletions
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) {