The IOCC_DEVICE_CONTROL CommandCode consists of all the CommmandModifiers responsible for device control.

The following table describes the IOCC_DEVICE_CONTROL CommandModifiers:

┌────────────────────────┬────────────────────────────────────┐
│CommandModifier         │Description                         │
├────────────────────────┼────────────────────────────────────┤
│IOCM_ABORT              │Aborts the unit's current operation │
│                        │and causes the driver to return any │
│                        │pending work in its queues.         │
│                        │Support is mandatory for SCSI       │
│                        │devices.                            │
├────────────────────────┼────────────────────────────────────┤
│IOCM_RESET              │Resets the unit to its default      │
│                        │operating parameters.               │
│                        │Support is mandatory for SCSI       │
│                        │devices.                            │
├────────────────────────┼────────────────────────────────────┤
│IOCM_SUSPEND            │Suspends the unit's current         │
│                        │operation. This command provides for│
│                        │sharing disk controller hardware    │
│                        │with other device drivers.          │
│                        │Support is mandatory for diskette   │
│                        │controllers.                        │
├────────────────────────┼────────────────────────────────────┤
│IOCM_RESUME             │Resumes  the unit's suspended       │
│                        │operation.  This command provides   │
│                        │for the sharing of the diskette     │
│                        │controller with other device        │
│                        │drivers.                            │
│                        │Support is mandatory for diskette   │
│                        │controllers.                        │
├────────────────────────┼────────────────────────────────────┤
│IOCM_LOCK_MEDIA         │Locks the current media in the unit.│
│                        │Support is mandatory for SCSI       │
│                        │adapter device drivers and for other│
│                        │devices that support a media-locking│
│                        │function.                           │
├────────────────────────┼────────────────────────────────────┤
│IOCM_UNLOCK_MEDIA       │Unlocks the current media from the  │
│                        │unit.                               │
│                        │Mandatory for SCSI adapter device   │
│                        │drivers and for other devices that  │
│                        │support a media-locking function.   │
├────────────────────────┼────────────────────────────────────┤
│IOCM_EJECT_MEDIA        │Ejects the current media from the   │
│                        │unit.                               │
│                        │Mandatory for SCSI adapter device   │
│                        │drivers and for other devices that  │
│                        │support a media-locking function.   │
└────────────────────────┴────────────────────────────────────┘

Remarks