aboutsummaryrefslogtreecommitdiff
path: root/sys/x86/include
diff options
context:
space:
mode:
authorMitchell Horne <mhorne@FreeBSD.org>2023-12-06 23:07:31 +0000
committerMitchell Horne <mhorne@FreeBSD.org>2023-12-06 23:10:25 +0000
commit7cb028deff6f46fbefa99f4f19882c69fd7cb883 (patch)
treeff5dd8c9a15d69057b667e763d80af8dde04c5ea /sys/x86/include
parent47d669f10ea3eb92a3783376549728b42c9e22b9 (diff)
downloadsrc-7cb028deff6f46fbefa99f4f19882c69fd7cb883.tar.gz
src-7cb028deff6f46fbefa99f4f19882c69fd7cb883.zip
busdma: Prevent the use of filters with bus_dma_tag_create()
A deprecation notice was added to the bus_dma(9) man page by scottl@ in September 2020 discouraging the use of filter functions. I've performed an attentive check of all callers in the tree and everything that exists today passes NULL for both filtfunc and filtarg. Thus, we should start returning EINVAL if these arguments are non-NULL to prevent new usages from popping up. Update the man page to be more clear about this. The deprecation notice is present since at least 13.0-RELEASE, so this is the appropriate step for the lifetime of 15, without actually breaking the driver API. Stable branches will emit a warning instead. This change enables the removal of a fair amount of unused complexity across the various busdma implementations. Reviewed by: jhb MFC after: never Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D42852
Diffstat (limited to 'sys/x86/include')
0 files changed, 0 insertions, 0 deletions