[CONNECTOR]: Update documentation to match reality.
[linux-2.6/verdex.git] / include / asm-ia64 / agp.h
blob4e517f0e6afa34e81e9aecdeee51bf0eaec2b967
1 #ifndef _ASM_IA64_AGP_H
2 #define _ASM_IA64_AGP_H
4 /*
5 * IA-64 specific AGP definitions.
7 * Copyright (C) 2002-2003 Hewlett-Packard Co
8 * David Mosberger-Tang <davidm@hpl.hp.com>
9 */
12 * To avoid memory-attribute aliasing issues, we require that the AGPGART engine operate
13 * in coherent mode, which lets us map the AGP memory as normal (write-back) memory
14 * (unlike x86, where it gets mapped "write-coalescing").
16 #define map_page_into_agp(page) /* nothing */
17 #define unmap_page_from_agp(page) /* nothing */
18 #define flush_agp_mappings() /* nothing */
19 #define flush_agp_cache() mb()
21 /* Convert a physical address to an address suitable for the GART. */
22 #define phys_to_gart(x) (x)
23 #define gart_to_phys(x) (x)
25 /* GATT allocation. Returns/accepts GATT kernel virtual address. */
26 #define alloc_gatt_pages(order) \
27 ((char *)__get_free_pages(GFP_KERNEL, (order)))
28 #define free_gatt_pages(table, order) \
29 free_pages((unsigned long)(table), (order))
31 #endif /* _ASM_IA64_AGP_H */