Important: The information in this document is obsolete and should not be used for new development.
SCSIReset
You can use theSCSIReset
function to reset all devices on the SCSI bus.
FUNCTION SCSIReset: OSErr;DESCRIPTION
TheSCSIReset
function directs the SCSI controller chip (or equivalent hardware) in the Macintosh computer to assert the SCSI bus reset signal. The reset signal causes all devices on the bus to clear pending I/O and forces the bus into the bus free phase.
- WARNING
- The
SCSIReset
function interrupts SCSI communications and can cause data loss. Use this function only in exceptional circumstances.ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector forSCSIReset
are
Trap macro Selector _SCSIDispatch $0000 RESULT CODES
noErr 0 No error scCommErr 2 Communications error, operation timeout SEE ALSO
See "SCSI Bus Signals," beginning on page 3-4, and "SCSI Bus Phases," beginning on page 3-5, for more information about the reset signal and the bus free phase.