git: e3ab0403dfc2 - main - xdma.4: Canonicalize SYNOPSIS
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Aug 2026 02:49:23 UTC
The branch main has been updated by ziaee:
URL: https://cgit.FreeBSD.org/src/commit/?id=e3ab0403dfc27b8f2717b8f969af71d74cba5687
commit e3ab0403dfc27b8f2717b8f969af71d74cba5687
Author: Alexander Ziaee <ziaee@FreeBSD.org>
AuthorDate: 2026-08-28 20:32:13 +0000
Commit: Alexander Ziaee <ziaee@FreeBSD.org>
CommitDate: 2026-08-29 02:48:13 +0000
xdma.4: Canonicalize SYNOPSIS
MFC after: 3 days
---
share/man/man4/xdma.4 | 16 ++++++----------
1 file changed, 6 insertions(+), 10 deletions(-)
diff --git a/share/man/man4/xdma.4 b/share/man/man4/xdma.4
index 674da75d187b..811a59b59e16 100644
--- a/share/man/man4/xdma.4
+++ b/share/man/man4/xdma.4
@@ -33,16 +33,8 @@
.Nm xdma
.Nd DMA abstraction layer
.Sh SYNOPSIS
-To compile xDMA device support into the kernel, place the following line
-in your kernel configuration file:
-.Bd -ragged -offset indent
-.Cd "device xdma"
-.Ed
-.Pp
-To compile xDMA FDT-based test driver, place the following line as well:
-.Bd -literal -offset indent
-.Cd "device xdma_test"
-.Ed
+.Cd device xdma
+.Cd device xdma_test
.Sh DESCRIPTION
xDMA is a DMA framework designed to abstract the interaction between device
drivers and DMA engines.
@@ -63,6 +55,10 @@ A non-stop periodic transfer designed for applications like audio.
.It Nm Memcpy
A memory-to-memory transfer.
.El
+.Pp
+If the kernel is compiled with the
+.Cd device xdma_test
+option, then the optional xDMA FDT-based test driver will be included.
.Sh SEE ALSO
.Xr bus_dma 9
.Sh HISTORY