Commit 1651d694 authored by Helge Deller's avatar Helge Deller
Browse files

parisc: lba_pci: Add debug code to show IO and PA ranges



Add more code to debug the PAT PDC firmware.

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 62c544bc
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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) {