]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
parisc: fix LMMIO mismatch between PAT length and MASK register
authorHelge Deller <deller@gmx.de>
Tue, 18 Jun 2013 21:21:25 +0000 (23:21 +0200)
committerHelge Deller <deller@gmx.de>
Tue, 9 Jul 2013 20:09:16 +0000 (22:09 +0200)
commitdac76f1be5beaea4af9afe85fb475c73de0b8731
tree83112c5476a2c021a76818c172545107ac93fd03
parentd2b4a646717153a1a180b64d4a8464054dbd700e
parisc: fix LMMIO mismatch between PAT length and MASK register

The LMMIO length reported by PAT and the length given by the LBA MASK
register are not consistent. This leads e.g. to a not-working ATI FireGL
card with the radeon DRM driver since the memory can't be mapped.

Fix this by correctly adjusting the resource sizes.

Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # 3.10
drivers/parisc/lba_pci.c