]> 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)
commitd072004bfaa62cc0a47112abb837944af0a60032
tree83112c5476a2c021a76818c172545107ac93fd03
parent169e6af4049c5c0db29cca298780ed7449611616
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