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 struct pci_controller
*hose
;
26 alpha_agp_mode capability
;
29 struct alpha_agp_ops
*ops
;
32 struct alpha_agp_ops
{
33 int (*setup
)(alpha_agp_info
*);
34 void (*cleanup
)(alpha_agp_info
*);
35 int (*configure
)(alpha_agp_info
*);
36 int (*bind
)(alpha_agp_info
*, off_t
, struct agp_memory
*);
37 int (*unbind
)(alpha_agp_info
*, off_t
, struct agp_memory
*);
38 unsigned long (*translate
)(alpha_agp_info
*, dma_addr_t
);
42 #endif /* _ALPHA_AGP_BACKEND_H */