From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeff Garzik Subject: Re: [PATCH v2] libata: Simulate REPORT LUNS for ATAPI devices Date: Thu, 07 Dec 2006 07:20:54 -0500 Message-ID: <45780726.8010107@garzik.org> References: <4574A90E.5010801@us.ibm.com> <4574AB78.40102@garzik.org> <4574B004.6030606@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from srv5.dvmed.net ([207.36.208.214]:37319 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032103AbWLGMU7 (ORCPT ); Thu, 7 Dec 2006 07:20:59 -0500 In-Reply-To: <4574B004.6030606@us.ibm.com> Sender: linux-ide-owner@vger.kernel.org List-Id: linux-ide@vger.kernel.org To: "Darrick J. Wong" Cc: linux-scsi , Linux Kernel Mailing List , "linux-ide@vger.kernel.org" , Alan Cox Darrick J. Wong wrote: > The Quantum GoVault SATAPI removable disk device returns ATA_ERR in > response to a REPORT LUNS packet. If this happens to an ATAPI device > that is attached to a SAS controller (this is the case with sas_ata), > the device does not load because SCSI won't touch a "SCSI device" > that won't report its LUNs. Since most ATAPI devices don't support > multiple LUNs anyway, we might as well fake a response like we do for > ATA devices. > > Signed-off-by: Darrick J. Wong Seems sane to me, but I would like additional comment/testing/etc. before applying...