Future releases of Solaris will provide this function for binary
and source compatibility. However, for increased functionality, use devmap_unmap(9E) instead. See devmap_unmap(9E)
for details.
mapdev_free() is called when a mapping created
by ddi_mapdev(9F)
is being destroyed. mapdev_free() receives the handle of the mapping being destroyed and a pointer to the driver
private data for this mapping in devprivate.
The mapdev_free() routine is expected to free any
resources that were allocated by the driver for this mapping.
|