History log of /freebsd-current/tools/bus_space/busdma.c
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 015b8583 01-Aug-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Rename busdma_sync() to busdma_sync_range() and rename the
base and size parameters to ofs and len (resp). Add a new
busdma_sync() that makes the entire MD coherent.


# 71d80fba 26-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Change the dev argument from a full path to just the device
identification (e.g. isa:0x3f0 or pci0:2:1:0). In libbus,
the device is turned into a path name. For bus_space_map(),
the resource is now specified in a second argument.
Before:
bus.map('/dev/proto/pci0:2:1:0/pcicfg')
busdma.tag_create('/dev/proto/pci0:2:1:0/busdma', ...)
Now:
bus.map('pci0:2:1:0', 'pcicfg')
busdma.tag_create('pci0:2:1:0', ...)


# 9af0c69a 26-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Remove debugging output. We should have tracing instead.


# 4af242aad 02-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Implement busdma_md_unload() and busdma_sync().

While here:
1. have the Python bindings contain constants for the space
identifiers and the sync operation.
2. change the segment iterators to return None when done,
not ENXIO.


# 22900685 02-Jul-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add busdma_md_create, busdma_md_destroy and busdma_md_load.


# d11f2a4c 12-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Free the segment objects properly.


# cc606478 10-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add accessor functions for iterating over segments. A segment
can be in bus address space, physical memory space or virtual
memory space.


# cbb052dd 08-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Map the allocated DMA memory into the address space.


# 6f769b73 07-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add busdma_mem_alloc & busdma_mem_free.


# 9c2cdb1a 06-Jun-2015 Marcel Moolenaar <marcel@FreeBSD.org>

Add DMA tag management to the C library and Python binding.