]> git.baikalelectronics.ru Git - kernel.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)
commit25fddd0491ab2ecf53290623008de8ab2aab7877
tree83112c5476a2c021a76818c172545107ac93fd03
parent5ba6b164cf93c7da31dc6b06711b62ecef942b67
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