From 817c94d7a2195cba7d2d6b3806a84ae5f6b834d7 Mon Sep 17 00:00:00 2001 From: Thamatip Chitpong Date: Sat, 30 Dec 2023 11:37:14 +0700 Subject: [PATCH] [SCSIPORT] ScsiPortDeviceControl: Add IOCTL_ATA_* stub --- drivers/storage/port/scsiport/ioctl.c | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/drivers/storage/port/scsiport/ioctl.c b/drivers/storage/port/scsiport/ioctl.c index b3a28416d0971..1661524e4741b 100644 --- a/drivers/storage/port/scsiport/ioctl.c +++ b/drivers/storage/port/scsiport/ioctl.c @@ -538,6 +538,16 @@ ScsiPortDeviceControl( status = STATUS_NOT_IMPLEMENTED; break; + case IOCTL_ATA_PASS_THROUGH: + DPRINT1("IOCTL_ATA_PASS_THROUGH unimplemented!\n"); + status = STATUS_NOT_IMPLEMENTED; + break; + + case IOCTL_ATA_PASS_THROUGH_DIRECT: + DPRINT1("IOCTL_ATA_PASS_THROUGH_DIRECT unimplemented!\n"); + status = STATUS_NOT_IMPLEMENTED; + break; + default: DPRINT1("unknown ioctl code: 0x%lX\n", Stack->Parameters.DeviceIoControl.IoControlCode); status = STATUS_NOT_SUPPORTED;