Commit 0c18ee95 authored by Dave Jones's avatar Dave Jones Committed by Dave Jones

[AGPGART] Efficeon GART driver can use generic masking routine.

parent 3b540abc
...@@ -302,13 +302,6 @@ static int efficeon_remove_memory(struct agp_memory * mem, off_t pg_start, int t ...@@ -302,13 +302,6 @@ static int efficeon_remove_memory(struct agp_memory * mem, off_t pg_start, int t
return 0; return 0;
} }
/* GATT entry: (physical address | 1) */
static unsigned long efficeon_mask_memory(unsigned long addr, int type)
{
/* Memory type is ignored */
return addr | agp_bridge->driver->masks[0].mask;
}
struct agp_bridge_driver efficeon_driver = { struct agp_bridge_driver efficeon_driver = {
.owner = THIS_MODULE, .owner = THIS_MODULE,
...@@ -319,7 +312,7 @@ struct agp_bridge_driver efficeon_driver = { ...@@ -319,7 +312,7 @@ struct agp_bridge_driver efficeon_driver = {
.fetch_size = efficeon_fetch_size, .fetch_size = efficeon_fetch_size,
.cleanup = efficeon_cleanup, .cleanup = efficeon_cleanup,
.tlb_flush = efficeon_tlbflush, .tlb_flush = efficeon_tlbflush,
.mask_memory = efficeon_mask_memory, .mask_memory = agp_generic_mask_memory,
.masks = efficeon_generic_masks, .masks = efficeon_generic_masks,
.agp_enable = agp_generic_enable, .agp_enable = agp_generic_enable,
.cache_flush = global_cache_flush, .cache_flush = global_cache_flush,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment