]> git.baikalelectronics.ru Git - kernel.git/commit
MIPS: Better than nothing implementation of PCI mmap to fix X.
authorRalf Baechle <ralf@linux-mips.org>
Tue, 9 Dec 2008 17:58:46 +0000 (17:58 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Dec 2008 21:55:43 +0000 (21:55 +0000)
commiteedf5b64857f2da35bba267109b8f9510d6b890b
tree3d0998b03b0b3183e5748f941a4aa95003afc197
parent4725f5c00fc534f0d670d565a8849adee4c2b53c
MIPS: Better than nothing implementation of PCI mmap to fix X.

Certain X11 servers such as the SIS server will only work if PCI mmap is
implemented.  This patch implements PCI mmap but to be on the same side
so close to a release it only supports uncached mappings so performance
will not be optimal for some uses such as framebuffers.

Thanks to Zhang Le <r0bertz@gentoo.org> for the original report and
testing.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/include/asm/pci.h
arch/mips/pci/pci.c