VOID
ScsiPortFreeDeviceBase(
IN PVOID HwDeviceExtension,
IN PVOID MappedAddress
);
ScsiPortFreeDeviceBase frees a range of device I/O or memory space addresses previously mapped into the system address space with ScsiPortGetDeviceBase.
Parameters
HwDeviceExtension
Points to the miniport driver’s per-HBA storage area.
MappedAddress
Points to the base address of the range to be freed. This address must be the same as that returned by ScsiPortGetDeviceBase.
Comments
If a miniport driver’s HwScsiFindAdapter routine determines that the driver does not need a particular mapped base address for an adapter, it must release the mapping by calling this routine. For example, when a miniport determines there are no supported HBAs on a particular I/O bus, it must call ScsiPortFreeDeviceBase with each mapped address returned by ScsiPortGetDeviceBase, if any calls to this routine were made.
ScsiPortFreeDeviceBase can be called only from miniport driver’s HwScsiFindAdapter routine. Calls from other miniport routines will result in system failure or incorrect operation for the caller.
See Also