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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jul 2013 01:21:26 +0000 (18:21 -0700)
commit286f3bf473da48489bb539c08088fbb8dc64a35c
tree514d80b0a28c538ced385a718d32dcc56b78016f
parentad5def802da90a988d243d8426478bf23f54aad0
parisc: fix LMMIO mismatch between PAT length and MASK register

commit dac76f1be5beaea4af9afe85fb475c73de0b8731 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parisc/lba_pci.c