[SCSIPORT] Add explicit IOCTL_ATA_PASS_THROUGH* cases (#1969)

ATA passthrough IOCTLs not supported by MS scsiport.
The implementation is optional, especially in SCSI.

IOCTL_SCSI_PASS_THROUGH will be implemented in SPTI library.

CORE-16422
This commit is contained in:
Serge Gautherie
2025-07-05 18:20:42 +03:00
committed by GitHub
parent 6ba2363bdb
commit 2c0782d1e0
+8
View File
@@ -538,6 +538,14 @@ ScsiPortDeviceControl(
status = STATUS_NOT_IMPLEMENTED;
break;
case IOCTL_ATA_PASS_THROUGH:
case IOCTL_ATA_PASS_THROUGH_DIRECT:
/* ATA passthrough IOCTLs not supported by MS scsiport */
DPRINT1("ATA passthrough IOCTLs not supported: 0x%lX\n",
Stack->Parameters.DeviceIoControl.IoControlCode);
status = STATUS_NOT_SUPPORTED;
break;
default:
DPRINT1("unknown ioctl code: 0x%lX\n", Stack->Parameters.DeviceIoControl.IoControlCode);
status = STATUS_NOT_SUPPORTED;