diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-17 18:06:52 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2009-07-17 18:06:52 +0000 |
commit | a6e6be278ab9f3522f60c3dbe43c13a2c5613f41 (patch) | |
tree | 86567eacd011625c497e805dc558864d83f73b4b /sys/arch/sgi/pci | |
parent | b5bbaedc253e1406375563930e7f02d209b16642 (diff) |
Update bus_dma to the better codebase found on almost all other platforms,
where the common part to all bus_dmamap_load*() functions is implemented in
in an internal load_buffer routine.
This allows the xbridge-specific dma code to only provide this function,
instead of three; and this also brings us a working bus_dmamap_load_uio()
on all supported sgi machines, which in turns make crpyto(4) devices really
work. Tested with hifn(4).
Diffstat (limited to 'sys/arch/sgi/pci')
-rw-r--r-- | sys/arch/sgi/pci/macepcibridge.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/sgi/pci/macepcibridge.c b/sys/arch/sgi/pci/macepcibridge.c index 2c6653810ad..cdf4b5247ce 100644 --- a/sys/arch/sgi/pci/macepcibridge.c +++ b/sys/arch/sgi/pci/macepcibridge.c @@ -1,4 +1,4 @@ -/* $OpenBSD: macepcibridge.c,v 1.23 2009/07/16 21:02:56 miod Exp $ */ +/* $OpenBSD: macepcibridge.c,v 1.24 2009/07/17 18:06:51 miod Exp $ */ /* * Copyright (c) 2001-2004 Opsycon AB (www.opsycon.se) @@ -133,6 +133,7 @@ struct machine_bus_dma_tag pci_bus_dma_tag = { _dmamap_load_mbuf, _dmamap_load_uio, _dmamap_load_raw, + _dmamap_load_buffer, _dmamap_unload, _dmamap_sync, _dmamem_alloc, |