summaryrefslogtreecommitdiff
path: root/sys/dev/pci/agpvar.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2013-03-17 21:49:01 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2013-03-17 21:49:01 +0000
commitc0468ed3299fbaf7d9a8297819aa20988df0c046 (patch)
tree9b6e563b8c337d107cb75b3dc598763f8008903c /sys/dev/pci/agpvar.h
parent3d248ffcc532f23446d733f35b96ea1fcf0fadb3 (diff)
Add an interface to rebind AGP DMA mappings. To be used by the upcoming KMS
support to reload bindings after suspend/resume and to update cachability flags in the address translation table entries.
Diffstat (limited to 'sys/dev/pci/agpvar.h')
-rw-r--r--sys/dev/pci/agpvar.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/pci/agpvar.h b/sys/dev/pci/agpvar.h
index d394060f7c4..6c907d30eb2 100644
--- a/sys/dev/pci/agpvar.h
+++ b/sys/dev/pci/agpvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: agpvar.h,v 1.23 2012/12/06 15:05:21 mpi Exp $ */
+/* $OpenBSD: agpvar.h,v 1.24 2013/03/17 21:49:00 kettenis Exp $ */
/* $NetBSD: agpvar.h,v 1.4 2001/10/01 21:54:48 fvdl Exp $ */
/*-
@@ -187,6 +187,7 @@ int agp_bus_dma_init(struct agp_softc *, bus_addr_t, bus_addr_t,
void agp_bus_dma_destroy(struct agp_softc *, bus_dma_tag_t);
void agp_bus_dma_set_alignment(bus_dma_tag_t, bus_dmamap_t,
u_long);
+void agp_bus_dma_rebind(bus_dma_tag_t, bus_dmamap_t, int);
void *agp_map(struct agp_softc *, bus_addr_t, bus_size_t,
bus_space_handle_t *);