A.4.10 SCSI Miniport Driver's HwScsiAdapterState Routine
Windows NT miniport drivers should set this entry point to NULL in the HW_INITIALIZATION_DATA (see Section A.4.1) only if either of the following conditions hold:
·The miniport drives an HBA to be connected on an I/O bus commonly found only in high-end, RISC-based platforms. That is, an x86-based platform running an x86-only Microsoft Windows system would not have an I/O bus of a type to support the HBA.
·The miniport drives an HBA that could be found in an x86-based platform running an x86-only Windows system, but the HBA has neither a BIOS nor an x86-only real-mode driver.
Otherwise, a miniport driver must have a HwScsiAdapterState routine in order to be portable across Windows NT and x86-only Microsoft Windows systems.
A HwScsiAdapterState routine is responsible for saving and restoring the state of its HBA, as requested by the x86-only system during transitions between x86 real and protected processor mode.
For more information about HwScsiAdapterState routines, see also the Kernel-Mode Driver Reference.