X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fagp_backend.h;h=367864695b8f14d6bb45172b3945970dfb43b5f5;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=905f5332177a11bc06633e3a766d7c1c14b6b6b4;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/linux/agp_backend.h b/include/linux/agp_backend.h index 905f53321..367864695 100644 --- a/include/linux/agp_backend.h +++ b/include/linux/agp_backend.h @@ -54,7 +54,7 @@ struct agp_kern_info { struct pci_dev *device; enum chipset_type chipset; unsigned long mode; - off_t aper_base; + unsigned long aper_base; size_t aper_size; int max_memory; /* In pages */ int current_memory; @@ -96,23 +96,5 @@ extern void agp_enable(u32); extern int agp_backend_acquire(void); extern void agp_backend_release(void); -/* - * Interface between drm and agp code. When agp initializes, it makes - * the below structure available via inter_module_register(), drm might - * use it. Keith Owens 28 Oct 2000. - */ -typedef struct { - void (*free_memory)(struct agp_memory *); - struct agp_memory * (*allocate_memory)(size_t, u32); - int (*bind_memory)(struct agp_memory *, off_t); - int (*unbind_memory)(struct agp_memory *); - void (*enable)(u32); - int (*acquire)(void); - void (*release)(void); - int (*copy_info)(struct agp_kern_info *); -} drm_agp_t; - -extern const drm_agp_t *drm_agp_p; - #endif /* __KERNEL__ */ #endif /* _AGP_BACKEND_H */