Device Driver Strategy Commands Cross-reference

The following table is a cross-reference for Device Driver strategy routine command codes. The command code is located in the PktCmd field of the Strategy 1 Request Packet.

┌────────────────────┬────────┬────────────────────────────────────────┐
│Name                │Bit Mask│Description                             │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDInit             │0x0     │INIT command                            │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDMedChk           │0x1     │Media Check                             │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDBldBPB           │0x2     │build BPB                               │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDIOCTLR           │0x3     │reserved for 3.x compatability          │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDINPUT            │0x4     │read data from device                   │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDNDR              │0x5     │non-destructive read                    │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDInputS           │0x6     │input status                            │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDInputF           │0x7     │input flush                             │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOUTPUT           │0x8     │write data to device                    │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOUTPUTV          │0x9     │write data and verify                   │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOutputS          │0xa     │output status                           │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOutputF          │0xb     │output flush                            │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDIOCTLW           │0xc     │reserved for 3.x compatability          │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOpen             │0xd     │device open                             │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDClose            │0xe     │device close                            │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDRemMed           │0xf     │is media removable                      │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDGenIOCTL         │0x10    │Generic IOCTL                           │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDResMed           │0x11    │reset media uncertain                   │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDGetLogMap        │0x12    │                                        │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDSetLogMap        │0x13    │                                        │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDDeInstall        │0x14    │De-Install driver                       │
├────────────────────┼────────┼────────────────────────────────────────┤
│                    │0x15    │reserved                                │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDPartfixeddisks   │0x16    │Partitionable Fixed Disks               │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDGetfd_logunitsmap│0x17    │Get Fixed Disk/Logical Unit Map         │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDInputBypass      │0x18    │cache bypass read data                  │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOutputBypass     │0x19    │cache bypass write data                 │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDOutputBypassV    │0x1a    │cache bypass write data and verify      │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDInitBase         │0x1b    │INIT command for base DDs               │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDShutdown         │0x1c    │                                        │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDGetDevSupport    │0x1d    │query for extended capability           │
├────────────────────┼────────┼────────────────────────────────────────┤
│                    │0x1e    │reserved                                │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDInitComplete     │0x1f    │Init complete for all DD's              │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDSaveRestore      │0x20    │                                        │
├────────────────────┼────────┼────────────────────────────────────────┤
│                    │0x21 -  │reserved                                │
│                    │0x60    │                                        │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDAddOnPrep        │0x61    │Prepare for add on                      │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDStar             │0x62    │start console output                    │
├────────────────────┼────────┼────────────────────────────────────────┤
│CMDStop             │0x63    │stop console output                     │
└────────────────────┴────────┴────────────────────────────────────────┘


[Back: DevHlp Function Cross-reference]
[Next: System Ordinal Cross-reference]