From 83a2d4db1a797747b7c4d58f64088ef9a0d6d928 Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 26 Aug 2007 20:53:35 +0000 Subject: [PATCH] make sure the request failes git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22076 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp b/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp index 22694348f7..8f733915bd 100644 --- a/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp +++ b/src/add-ons/kernel/busses/scsi/ahci/ahci_controller.cpp @@ -53,6 +53,10 @@ AHCIController::ExecuteRequest(scsi_ccb *request) TRACE("AHCIController::ExecuteRequest opcode %u, length %u\n", request->cdb[0], request->cdb_length); + request->subsys_status = SCSI_DEV_NOT_THERE; + fSCSI->finished(request, 1); + return; + request->subsys_status = SCSI_REQ_CMP; fSCSI->finished(request, 1); }