During driver unload or module detach, the driver previously failed to
destroy per-command DMA maps and the parent buffer DMA tag, leaking
busdma resources across driver reload cycles. Furthermore, active DMA
maps cannot be destroyed while loaded. Because interrupts are disabled
before memory cleanup runs, any command left outstanding retained its
loaded DMA mapping and was never returned to CAM.
Flush all outstanding I/O commands during driver detach to unload active
DMA maps and return pending requests cleanly to CAM. Then destroy each
command's DMA map and the buffer DMA tag during memory teardown, ensuring
all busdma resources are fully released.