ixl(4)/ixlv(4): Fix some busdma tags and improper map NULL.
Description from Brett:
"The busdma tags used to create mappings for the tx and rx rings did not have
the device's tag as parents, meaning that they did not respect the device's
busdma properties. The other tags used in the driver had their parents set
Also, the dma maps for each buffer in ixl_txeof() were being NULLed after
being unloaded, which is an error because those maps are then reused without
being recreated (I believe this also leaked resources since the maps were not
destroyed). Simply removing the line that sets the maps to NULL gives the
desired behavior. There does not seem to be a similar problem with ixl_rxeof().
Functions to free the tx and rx rings also NULL out the dma maps for each
buffer, but this seems okay because the maps are destroyed and not reused in
With these fixes, my ixl card seems to be working with the IOMMU enabled."
Submitted by: Brett Gutstein <email@example.com>
Reviewed by: erj
Approved by: Alan Cox <firstname.lastname@example.org>
MFC after: 1 week