Author: cem Date: Wed Apr 15 01:39:17 2020 New Revision: 359948 URL: https://svnweb.freebsd.org/changeset/base/359948
Log: bus_dma.9: Remove erroneous usage recommendation It is not valid to pass BUS_SPACE_UNRESTRICTED to bus_dma_tag_create()'s nsegments parameter as it is interpreted as a very large segment count. Subsequent allocation operations on the tag will preallocate some multiple of that count. BUS_SPACE_UNRESTRICTED therefore indicates something like: malloc(infinity). Discussed with: bcr, jhb (earlier version) Modified: head/share/man/man9/bus_dma.9 Modified: head/share/man/man9/bus_dma.9 ============================================================================== --- head/share/man/man9/bus_dma.9 Wed Apr 15 00:36:00 2020 (r359947) +++ head/share/man/man9/bus_dma.9 Wed Apr 15 01:39:17 2020 (r359948) @@ -53,7 +53,7 @@ .\" $FreeBSD$ .\" $NetBSD: bus_dma.9,v 1.25 2002/10/14 13:43:16 wiz Exp $ .\" -.Dd March 27, 2020 +.Dd April 14, 2020 .Dt BUS_DMA 9 .Os .Sh NAME @@ -618,9 +618,6 @@ DMA mapping associated with this tag. .It Fa nsegments Number of discontinuities (scatter/gather segments) allowed in a DMA mapped region. -If there is no restriction, -.Dv BUS_SPACE_UNRESTRICTED -may be specified. .It Fa maxsegsz Maximum size, in bytes, of a segment in any DMA mapped region associated with _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"