HomeFreeBSD

simplebus: Map SYS_RES_IOPORT to SYS_RES_MEMORY later in alloc_resource

Description

simplebus: Map SYS_RES_IOPORT to SYS_RES_MEMORY later in alloc_resource

Specifically, the set/get_resource methods do not currently remap
resource types, so remap the type in alloc_resource only after
looking for a matching resource list entry.

Fixes: 3cf553288b96 simplebus: Consistently map SYS_RES_IOPORT to SYS_RES_MEMORY

Details

Provenance
jhbAuthored on Feb 16 2024, 12:04 AM
Parents
rGe32de9626f1a: reboot: initialize howto
Branches
Unknown
Tags
Unknown