]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
sh: fix pci io access for r2d boards
authorMagnus Damm <magnus.damm@gmail.com>
Thu, 14 Feb 2008 05:05:57 +0000 (14:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 14 Feb 2008 05:25:41 +0000 (14:25 +0900)
commit123100cf4fff3e8ffa375df2c74c7f2cb29ab17a
treed8a030b56e28145b1983166e1c92e5f1fc70dc85
parentc0ca41a27ef40fbe6d5fe343b61d63d7e1b93d28
sh: fix pci io access for r2d boards

Use generic_io_base to point out the pci io window, and make sure the
highest port address used is SH7751_PCI_IO_SIZE - 1.

This patch fixes pci io port access for the r2d boards - CONFIG_8139TOO_PIO
now works as expected. So does the alsa driver for CMI8738.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Acked-by: Katsuya MATSUBARA <matsu@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/ops-rts7751r2d.c