HomeFreeBSD

bhnd_usb: Use bus_generic_rman_*

Description

bhnd_usb: Use bus_generic_rman_*

For SYS_RES_MEMORY, use bus_generic_rman_* for
activate/deactivate_resource methods as well as custom
map/unmap_resource methods that request submappings of the sc_mem
resource allocated from the parent bus.

Differential Revision: https://reviews.freebsd.org/D43938

(cherry picked from commit b25f03a1a27256c8d638a7e82ac3f6248994d5f3)

Details

Provenance
jhbAuthored on Feb 27 2024, 7:44 PM
Differential Revision
D43938: bhnd_usb: Use bus_generic_rman_*
Parents
rG3ebdf18d5a75: dpaa2: Use bus_generic_rman_*
Branches
Unknown
Tags
Unknown