]> git.baikalelectronics.ru Git - kernel.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)
commitcbeade7f5fa02451fce0f9f4f9294b2948590378
treed8a030b56e28145b1983166e1c92e5f1fc70dc85
parentf47cb3f7453805ed09a2d854203111426d0ed156
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