Skip to content

Commit

Permalink
sh: Fix pr_debug statements for sh4
Browse files Browse the repository at this point in the history
Fix a problem uncovered by the recent change to always check the
arguments to pr_debug. The sh7751 was using the wrong name for the
PCI IO base address.

Signed-off-by: Jamie Lenehan <lenehan@twibble.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Jamie Lenehan authored and Paul Mundt committed Oct 6, 2006
1 parent 257440b commit 5804100
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/sh/drivers/pci/pci-sh7751.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,15 +155,15 @@ int __init sh7751_pcic_init(struct sh4_pci_address_map *map)
*/
pr_debug("PCI: Mapping IO address 0x%x - 0x%x to base 0x%x\n",
PCIBIOS_MIN_IO, (64 << 10),
SH4_PCI_IO_BASE + PCIBIOS_MIN_IO);
SH7751_PCI_IO_BASE + PCIBIOS_MIN_IO);

/*
* XXX: For now, leave this board-specific. In the event we have other
* boards that need to do similar work, this can be wrapped.
*/
#ifdef CONFIG_SH_BIGSUR
bigsur_port_map(PCIBIOS_MIN_IO, (64 << 10),
SH4_PCI_IO_BASE + PCIBIOS_MIN_IO, 0);
SH7751_PCI_IO_BASE + PCIBIOS_MIN_IO, 0);
#endif

/* Make sure the MSB's of IO window are set to access PCI space
Expand Down

0 comments on commit 5804100

Please sign in to comment.