Skip to content

Commit 1651d69

Browse files
committed
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>
1 parent 62c544b commit 1651d69

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

drivers/parisc/lba_pci.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,6 +1066,10 @@ lba_pat_resources(struct parisc_device *pa_dev, struct lba_device *lba_dev)
10661066

10671067
p = (void *) &(pa_pdc_cell->mod[2+i*3]);
10681068
io = (void *) &(io_pdc_cell->mod[2+i*3]);
1069+
DBG_PAT("PA #%d : TYPE 0x%08lx, start 0x%08lx, end 0x%08lx\n",
1070+
i, p->type, p->start, p->end);
1071+
DBG_PAT("IO #%d : TYPE 0x%08lx, start 0x%08lx, end 0x%08lx\n",
1072+
i, io->type, io->start, io->end);
10691073

10701074
/* Convert the PAT range data to PCI "struct resource" */
10711075
switch(p->type & 0xff) {

0 commit comments

Comments
 (0)