/freebsd/sys/riscv/riscv/ |
H A D | busdma_machdep.c | diff 757d4fbaa75df6193ccd19e475f7b581081d5291 Tue Dec 24 15:48:46 CET 2019 Scott Long <scottl@FreeBSD.org> Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific values, all without having to worry about the numerous other fields in the tag. The resulting template is then passed into busdma and the normal opaque tag object created. See the man page for details on how to initialize a template.
Templates do not support tag filters. Filters have been broken for many years, and only existed for an ancient make/model of hardware that had a quirky DMA engine. Instead of breaking the ABI/API and changing the arugment signature of bus_dma_tag_create() to remove the filter arguments, templates allow us to ignore them, and also significantly reduce the complexity of creating and managing tags.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D22906
|
/freebsd/sys/arm64/arm64/ |
H A D | busdma_machdep.c | diff 757d4fbaa75df6193ccd19e475f7b581081d5291 Tue Dec 24 15:48:46 CET 2019 Scott Long <scottl@FreeBSD.org> Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific values, all without having to worry about the numerous other fields in the tag. The resulting template is then passed into busdma and the normal opaque tag object created. See the man page for details on how to initialize a template.
Templates do not support tag filters. Filters have been broken for many years, and only existed for an ancient make/model of hardware that had a quirky DMA engine. Instead of breaking the ABI/API and changing the arugment signature of bus_dma_tag_create() to remove the filter arguments, templates allow us to ignore them, and also significantly reduce the complexity of creating and managing tags.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D22906
|
/freebsd/sys/x86/x86/ |
H A D | busdma_machdep.c | diff 757d4fbaa75df6193ccd19e475f7b581081d5291 Tue Dec 24 15:48:46 CET 2019 Scott Long <scottl@FreeBSD.org> Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific values, all without having to worry about the numerous other fields in the tag. The resulting template is then passed into busdma and the normal opaque tag object created. See the man page for details on how to initialize a template.
Templates do not support tag filters. Filters have been broken for many years, and only existed for an ancient make/model of hardware that had a quirky DMA engine. Instead of breaking the ABI/API and changing the arugment signature of bus_dma_tag_create() to remove the filter arguments, templates allow us to ignore them, and also significantly reduce the complexity of creating and managing tags.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D22906
|
/freebsd/share/man/man9/ |
H A D | bus_dma.9 | diff 757d4fbaa75df6193ccd19e475f7b581081d5291 Tue Dec 24 15:48:46 CET 2019 Scott Long <scottl@FreeBSD.org> Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific values, all without having to worry about the numerous other fields in the tag. The resulting template is then passed into busdma and the normal opaque tag object created. See the man page for details on how to initialize a template.
Templates do not support tag filters. Filters have been broken for many years, and only existed for an ancient make/model of hardware that had a quirky DMA engine. Instead of breaking the ABI/API and changing the arugment signature of bus_dma_tag_create() to remove the filter arguments, templates allow us to ignore them, and also significantly reduce the complexity of creating and managing tags.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D22906
|
/freebsd/sys/sys/ |
H A D | bus_dma.h | diff 757d4fbaa75df6193ccd19e475f7b581081d5291 Tue Dec 24 15:48:46 CET 2019 Scott Long <scottl@FreeBSD.org> Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific values, all without having to worry about the numerous other fields in the tag. The resulting template is then passed into busdma and the normal opaque tag object created. See the man page for details on how to initialize a template.
Templates do not support tag filters. Filters have been broken for many years, and only existed for an ancient make/model of hardware that had a quirky DMA engine. Instead of breaking the ABI/API and changing the arugment signature of bus_dma_tag_create() to remove the filter arguments, templates allow us to ignore them, and also significantly reduce the complexity of creating and managing tags.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D22906
|
/freebsd/sys/powerpc/powerpc/ |
H A D | busdma_machdep.c | diff 757d4fbaa75df6193ccd19e475f7b581081d5291 Tue Dec 24 15:48:46 CET 2019 Scott Long <scottl@FreeBSD.org> Introduce the concept of busdma tag templates. A template can be allocated off the stack, initialized to default values, and then filled in with driver-specific values, all without having to worry about the numerous other fields in the tag. The resulting template is then passed into busdma and the normal opaque tag object created. See the man page for details on how to initialize a template.
Templates do not support tag filters. Filters have been broken for many years, and only existed for an ancient make/model of hardware that had a quirky DMA engine. Instead of breaking the ABI/API and changing the arugment signature of bus_dma_tag_create() to remove the filter arguments, templates allow us to ignore them, and also significantly reduce the complexity of creating and managing tags.
Reviewed by: imp, kib Differential Revision: https://reviews.freebsd.org/D22906
|