direct-io.hg
changeset 4773:e6f9fbca8656
bitkeeper revision 1.1389.8.1 (427a2dc0yjvEz3OVwiOMxO61skasFg)
Fix installing fixmap_nocache entries, as used by PCI_MMCONFIG.
fixmap.h:
Address passed to set_fixmap_nocache is a machine-address -- install
it as such.
Kconfig:
Re-enable PCI_MMCONFIG.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
Fix installing fixmap_nocache entries, as used by PCI_MMCONFIG.
fixmap.h:
Address passed to set_fixmap_nocache is a machine-address -- install
it as such.
Kconfig:
Re-enable PCI_MMCONFIG.
Signed-off-by: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
author | cl349@firebug.cl.cam.ac.uk[cl349] |
---|---|
date | Thu May 05 14:29:20 2005 +0000 (2005-05-05) |
parents | d37452f3e8f0 |
children | eadf34921bc5 |
files | linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/fixmap.h linux-2.6.11-xen-sparse/include/asm-xen/asm-x86_64/fixmap.h |
line diff
1.1 --- a/linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig Wed May 04 20:14:21 2005 +0000 1.2 +++ b/linux-2.6.11-xen-sparse/arch/xen/i386/Kconfig Thu May 05 14:29:20 2005 +0000 1.3 @@ -788,7 +788,7 @@ config PCI_MMCONFIG 1.4 bool 1.5 depends on PCI && (PCI_GOMMCONFIG || (PCI_GOANY && ACPI)) 1.6 select ACPI_BOOT 1.7 - default n 1.8 + default y 1.9 1.10 source "drivers/pci/pcie/Kconfig" 1.11
2.1 --- a/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/fixmap.h Wed May 04 20:14:21 2005 +0000 2.2 +++ b/linux-2.6.11-xen-sparse/include/asm-xen/asm-i386/fixmap.h Thu May 05 14:29:20 2005 +0000 2.3 @@ -117,7 +117,7 @@ extern void __set_fixmap_ma (enum fixed_ 2.4 * Some hardware wants to get fixmapped without caching. 2.5 */ 2.6 #define set_fixmap_nocache(idx, phys) \ 2.7 - __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 2.8 + __set_fixmap_ma(idx, phys, PAGE_KERNEL_NOCACHE) 2.9 2.10 #define clear_fixmap(idx) \ 2.11 __set_fixmap(idx, 0, __pgprot(0))
3.1 --- a/linux-2.6.11-xen-sparse/include/asm-xen/asm-x86_64/fixmap.h Wed May 04 20:14:21 2005 +0000 3.2 +++ b/linux-2.6.11-xen-sparse/include/asm-xen/asm-x86_64/fixmap.h Thu May 05 14:29:20 2005 +0000 3.3 @@ -75,7 +75,7 @@ extern void __set_fixmap_ma (enum fixed_ 3.4 * Some hardware wants to get fixmapped without caching. 3.5 */ 3.6 #define set_fixmap_nocache(idx, phys) \ 3.7 - __set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE) 3.8 + __set_fixmap_ma(idx, phys, PAGE_KERNEL_NOCACHE) 3.9 3.10 #define clear_fixmap(idx) \ 3.11 __set_fixmap(idx, 0, __pgprot(0))