mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-27 08:00:11 +00:00
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)
This commit is contained in:
parent
e2b9919398
commit
102acd72aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=359948
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user