
Home / Autodocs / scsi.device
NAME
- CMD_STOP
-
stop a drive, if possible.
FUNCTION
This command causes the drive to attempt spinning down the motor, park the drive heads and enter an idle state.
INPUTS
- io_Device
-
preset by the call to OpenDevice()
- io_Unit
-
preset by the call to OpenDevice()
- io_Command
-
CMD_STOP
- io_Flags
-
0 or IOF_QUICK
RESULT
- io_Error
-
0 for success, or an error code as defined in <devices/trackdisk.h>
NOTES
Drives may or may not react on this command. A possible reaction is that the drive spins down its motor and parks its drive head. A CMD_START is then required to return the drive into an operational stage.