HwScsiInitialize

BOOLEAN
HwScsiInitialize(

IN PVOID DeviceExtension
);

HwScsiInitialize initializes the HBA after a reboot or a power failure occurs.

Parameters

DeviceExtension

Points to the miniport driver's per-HBA storage area.

Return Value

If the initialization succeeds, HwScsiInitialize returns TRUE.

Comments

HwScsiInitialize must initialize the HBA but should avoid resetting the SCSI bus(es) if possible. Interrupts can occur before this routine is called. If HwScsiInitialize resets a bus, it must call ScsiPortNotification to report that the bus was reset.

If HwScsiInitialize cannot initialize the HBA, this routine should call ScsiPortLogError before returning FALSE when it returns control.

See Also

ScsiPortLogError, ScsiPortNotification