From 1651d69443c3a5fc12f1dee1229d526e7af9020a Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Sat, 7 Feb 2026 00:29:11 +0100 Subject: [PATCH] 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 --- drivers/parisc/lba_pci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/parisc/lba_pci.c b/drivers/parisc/lba_pci.c index 3fc3765fddaaf..1d29fa13650be 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) { -- 2.47.3