31#ifndef _PCI_AGPPRIV_H_
32#define _PCI_AGPPRIV_H_
42#define AGP_DPF(fmt, ...) do { \
43 printf("agp: " fmt, ##__VA_ARGS__); \
46#define AGP_DPF(fmt, ...) do {} while (0)
void agp_set_aperture_resource(device_t dev, int rid)
int agp_generic_set_aperture(device_t dev, u_int32_t aperture)
struct agp_memory * agp_generic_alloc_memory(device_t dev, int type, vm_size_t size)
int agp_generic_bind_memory(device_t dev, struct agp_memory *mem, vm_offset_t offset)
int agp_generic_unbind_memory(device_t dev, struct agp_memory *mem)
TAILQ_HEAD(agp_memory_list, agp_memory)
int agp_generic_detach(device_t dev)
int agp_generic_attach(device_t dev)
int agp_generic_free_memory(device_t dev, struct agp_memory *mem)
u_int8_t agp_find_caps(device_t dev)
u_int32_t agp_generic_get_aperture(device_t dev)
void agp_free_res(device_t dev)
void agp_free_cdev(device_t dev)
void agp_free_gatt(struct agp_gatt *gatt)
struct agp_gatt * agp_alloc_gatt(device_t dev)
int agp_generic_enable(device_t dev, u_int32_t mode)
TAILQ_ENTRY(agp_memory) am_link
struct vm_object * am_obj
struct cdev * as_devalias
struct resource * as_aperture
enum agp_acquire_state as_state
struct agp_memory_list as_memory