From e10fbc44fbdb4cb1995f5422e0aa772274487a4a Mon Sep 17 00:00:00 2001 From: Michael Lotz Date: Fri, 12 Jun 2009 20:41:07 +0000 Subject: [PATCH] Not really sure why the inquiry command was special cased on ATAPI, but it prevents tools that try to read other inquiry pages (like cdrecord) from getting the required infos. This way the inquiry command is sent to the ATAPI device, which seems to work fine (at least for the drive I have here). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31019 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp b/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp index ef468734d6..071803869d 100644 --- a/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp +++ b/src/add-ons/kernel/busses/scsi/ahci/ahci_port.cpp @@ -825,7 +825,7 @@ AHCIPort::ScsiExecuteRequest(scsi_ccb *request) { // TRACE("AHCIPort::ScsiExecuteRequest port %d, opcode 0x%02x, length %u\n", fIndex, request->cdb[0], request->cdb_length); - if (fIsATAPI && request->cdb[0] != SCSI_OP_INQUIRY) { + if (fIsATAPI) { bool isWrite = false; switch (request->flags & SCSI_DIR_MASK) { case SCSI_DIR_NONE: