projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62c544b
)
parisc: lba_pci: Add debug code to show IO and PA ranges
author
Helge Deller
<deller@gmx.de>
Fri, 6 Feb 2026 23:29:11 +0000
(
00:29
+0100)
committer
Helge 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
patch
|
blob
|
history
diff --git
a/drivers/parisc/lba_pci.c
b/drivers/parisc/lba_pci.c
index
3fc3765
..
1d29fa1
100644
(file)
--- 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) {