6fbeb2e223
such, the segments pointer in the DMA tag will always be NULL. In bus_dmamap_load(), temporarily point the segments pointer in the DMA tag to a local variable so that we don't dereference a NULL pointer. Reset the segments pointer to NULL after calling the callback function with it. PR: alpha/30486 MFC after: 1 week