summaryrefslogtreecommitdiff
path: root/sys/dev/pci/agpvar.h
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-07-02 04:10:26 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-07-02 04:10:26 +0000
commite764ee99192f4fe81845ffda9f2f4d3d7e0e6be9 (patch)
tree4a09fef4c2be2f043b75a2f3ad54529dc3c7ae8e /sys/dev/pci/agpvar.h
parent30c209ce687692e00e7a13e8a26476dfb1d8eff9 (diff)
remove unused agp_map functions
last use (in inteldrm) was removed in March
Diffstat (limited to 'sys/dev/pci/agpvar.h')
-rw-r--r--sys/dev/pci/agpvar.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h
index afbc298d142..c290f1bd09f 100644
--- a/sys/dev/pci/agpvar.h
+++ b/sys/dev/pci/agpvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: agpvar.h,v 1.35 2024/05/13 01:15:51 jsg Exp $ */
+/* $OpenBSD: agpvar.h,v 1.36 2024/07/02 04:10:25 jsg Exp $ */
/* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */
/*-
@@ -122,8 +122,6 @@ struct agp_gatt {
size_t ag_size;
};
-struct agp_map;
-
/*
* Functions private to the AGP code.
*/
@@ -136,15 +134,6 @@ void agp_free_gatt(bus_dma_tag_t, struct agp_gatt *);
void agp_flush_cache(void);
void agp_flush_cache_range(vaddr_t, vsize_t);
int agp_generic_enable(struct agp_softc *, u_int32_t);
-int agp_init_map(bus_space_tag_t, bus_addr_t, bus_size_t, int, struct
- agp_map **);
-void agp_destroy_map(struct agp_map *);
-int agp_map_subregion(struct agp_map *, bus_size_t, bus_size_t,
- bus_space_handle_t *);
-void agp_unmap_subregion(struct agp_map *, bus_space_handle_t,
- bus_size_t);
-void agp_map_atomic(struct agp_map *, bus_size_t, bus_space_handle_t *);
-void agp_unmap_atomic(struct agp_map *, bus_space_handle_t);
int agp_alloc_dmamem(bus_dma_tag_t, size_t, bus_dmamap_t *,
bus_addr_t *, bus_dma_segment_t *);