HomeFreeBSD

LinuxKPI: Use macro for implementation of some dma_map_* functions

Description

LinuxKPI: Use macro for implementation of some dma_map_* functions

This allows to remove unimplemented attrs parameter which type differs
between Linux kernel versions and to compile both drm-kmod and ofed
callers unmodified.
Also convert it to 'unsigned long' type to match modern Linuxes.

Reviewed by: hselasky
Differential revision: https://reviews.freebsd.org/D30932

Details

Provenance
wulfAuthored on Jul 5 2021, 12:20 AM
Reviewer
hselasky
Differential Revision
D30932: LinuxKPI: Use macro for implementation of some dma_map_* functions
Parents
rG864b11007ab3: LinuxKPI: Implement irq_work_sync() routine.
Branches
Unknown
Tags
Unknown