VOID ScsiPortFreeDeviceBase(HwDeviceExtension, MappedAddress)
IN PVOID HwDeviceExtension;
IN PVOID MappedAddress;
Frees a block of I/O addresses or memory space previously mapped into the system address space.
If the HBA miniport driver determines that the device base is not needed, it should release the mapping by calling this function. For example, when the driver determines there are no support HBAs on an I/O bus, it should call ScsiPortFreeDeviceBase with each base address returned by the miniport driver's calls to ScsiPortGetDeviceBase.
ScsiPortFreeDeviceBase can be called only from HBA miniport driver's HwFindAdapter routine. Calls from other HBA miniport driver functions will result in system failure or an incorrect operation.
HwFindAdapter, ScsiPortGetDeviceBase