1 #ifndef _ALPHA_AGP_BACKEND_H
2 #define _ALPHA_AGP_BACKEND_H 1
4 typedef union _alpha_agp_mode {
19 typedef struct _alpha_agp_info {
20 enum chipset_type type;
21 struct pci_controller *hose;
27 alpha_agp_mode capability;
30 struct alpha_agp_ops *ops;
33 struct alpha_agp_ops {
34 int (*setup)(alpha_agp_info *);
35 void (*cleanup)(alpha_agp_info *);
36 int (*configure)(alpha_agp_info *);
37 int (*bind)(alpha_agp_info *, off_t, agp_memory *);
38 int (*unbind)(alpha_agp_info *, off_t, agp_memory *);
39 unsigned long (*translate)(alpha_agp_info *, dma_addr_t);
43 #endif /* _ALPHA_AGP_BACKEND_H */