Specifications

System Macros Invoked by Drivers
SPI$RESET
SPI$RESET
Resets the SCSI bus and SCSI port hardware.
Format
SPI$RESET
Description
The SPI$RESET macro first resets the SCSI bus and then resets the port
hardware. A SCSI class driver should rarely invoke this macro; those class
drivers that do use it should be aware of the impact of a reset operation on other
devices on the same bus. The SCSI port driver logs an error when a class driver
invokes the SPI$RESET macro.
Inputs to the SPI$RESET macro include the following:
Location Contents
R4 Address of the SPDT.
R5 Address of the SCDRP.
SCDRP$L_CDT Address of the SCDT.
The port driver returns the following value to the class driver, preserving R3, R4,
and R5:
Location Contents
R0 Port status. The port driver returns one of the following
values:
SS$_NORMAL Normal, successful completion.
SS$_ABORT Reset aborted before completion.
2–86