| #ifndef _ALPHA_AGP_BACKEND_H |
| #define _ALPHA_AGP_BACKEND_H 1 |
| typedef union _alpha_agp_mode { |
| typedef struct _alpha_agp_info { |
| struct pci_controller *hose; |
| alpha_agp_mode capability; |
| struct alpha_agp_ops *ops; |
| int (*setup)(alpha_agp_info *); |
| void (*cleanup)(alpha_agp_info *); |
| int (*configure)(alpha_agp_info *); |
| int (*bind)(alpha_agp_info *, off_t, struct agp_memory *); |
| int (*unbind)(alpha_agp_info *, off_t, struct agp_memory *); |
| unsigned long (*translate)(alpha_agp_info *, dma_addr_t); |
| #endif /* _ALPHA_AGP_BACKEND_H */ |