diff options
Diffstat (limited to 'drivers/char/agp/agp.h')
-rw-r--r-- | drivers/char/agp/agp.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/char/agp/agp.h b/drivers/char/agp/agp.h index ce110a3bf298..17e6d0d3ba36 100644 --- a/drivers/char/agp/agp.h +++ b/drivers/char/agp/agp.h | |||
@@ -121,6 +121,11 @@ struct agp_bridge_driver { | |||
121 | void (*agp_destroy_pages)(struct agp_memory *); | 121 | void (*agp_destroy_pages)(struct agp_memory *); |
122 | int (*agp_type_to_mask_type) (struct agp_bridge_data *, int); | 122 | int (*agp_type_to_mask_type) (struct agp_bridge_data *, int); |
123 | void (*chipset_flush)(struct agp_bridge_data *); | 123 | void (*chipset_flush)(struct agp_bridge_data *); |
124 | |||
125 | int (*agp_map_page)(void *addr, dma_addr_t *ret); | ||
126 | void (*agp_unmap_page)(void *addr, dma_addr_t dma); | ||
127 | int (*agp_map_memory)(struct agp_memory *mem); | ||
128 | void (*agp_unmap_memory)(struct agp_memory *mem); | ||
124 | }; | 129 | }; |
125 | 130 | ||
126 | struct agp_bridge_data { | 131 | struct agp_bridge_data { |
@@ -135,6 +140,7 @@ struct agp_bridge_data { | |||
135 | u32 *gatt_table_real; | 140 | u32 *gatt_table_real; |
136 | unsigned long scratch_page; | 141 | unsigned long scratch_page; |
137 | unsigned long scratch_page_real; | 142 | unsigned long scratch_page_real; |
143 | dma_addr_t scratch_page_dma; | ||
138 | unsigned long gart_bus_addr; | 144 | unsigned long gart_bus_addr; |
139 | unsigned long gatt_bus_addr; | 145 | unsigned long gatt_bus_addr; |
140 | u32 mode; | 146 | u32 mode; |