HomeFreeBSD

busdma: deduplicate _bus_dmamap_addseg() function

Description

busdma: deduplicate _bus_dmamap_addseg() function

It is functionally identical in all implementations, so move the
function to subr_busdma_bounce.c. The KASSERT present in the x86 version
is now enabled for all architectures. It should be universally
applicable.

Reviewed by: jhb
MFC after: 1 month
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D45047

Details

Provenance
mhorneAuthored on Feb 14 2024, 5:01 PM
Reviewer
jhb
Differential Revision
D45047: busdma: deduplicate _bus_dmamap_addseg() function
Parents
rGb24e353f9e58: fib_dxr: set fib_data field in struct dxr_aux early enough
Branches
Unknown
Tags
Unknown