StorPortNotification for LinkUp routine

A miniport uses the LinkUp notification to indicate that the storage adapter's link to it's attached storage devices is restored.

Syntax


VOID StorPortNotification(
  _In_ SCSI_NOTIFICATION_TYPE NotificationType,
  _In_ PVOID                  HwDeviceExtension
);

Parameters

NotificationType [in]

Specifies the LinkUp notification type.

HwDeviceExtension [in]

A pointer to the hardware device extension. This is a per HBA storage area that the port driver allocates and initializes on behalf of the miniport driver. Miniport drivers usually store HBA-specific information in this extension, such as the state of the HBA and the mapped access ranges for the HBA. This area is available to the miniport driver immediately after the miniport driver calls StorPortInitialize. The port driver frees this memory when it removes the device.

Return value

None

Remarks

When Storport receives the LinkUp notification, it will restart the adapter so that it can resume operation. Miniport drivers should not send this notification unless the link is down.

For information about the effects of other notification types, see StorPortNotification.

Requirements

Target platform

Header

Storport.h (include Storport.h)

Library

Storport.lib

See also

StorPortInitialize
StorPortNotification

 

 

Send comments about this topic to Microsoft

Show: