From owner-freebsd-current Thu Nov 8 1:42:49 2001 Delivered-To: freebsd-current@freebsd.org Received: from melchior.cuivre.fr.eu.org (melchior.enst.fr [137.194.161.6]) by hub.freebsd.org (Postfix) with ESMTP id 4B3C037B419; Thu, 8 Nov 2001 01:42:45 -0800 (PST) Received: by melchior.cuivre.fr.eu.org (Postfix, from userid 11117) id C3B8E8017; Thu, 8 Nov 2001 10:42:43 +0100 (CET) Date: Thu, 8 Nov 2001 10:42:43 +0100 From: Thomas Quinot To: Nick Hibma Cc: Thomas Quinot , freebsd-scsi@FreeBSD.ORG, freebsd-current@FreeBSD.ORG Subject: Re: SCSI->IDE Message-ID: <20011108104243.A30845@cuivre.fr.eu.org> Reply-To: Thomas Quinot References: <20011107155735.B30053@cuivre.fr.eu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.3.15i In-Reply-To: ; from n_hibma@qubesoft.com on Wed, Nov 07, 2001 at 06:59:19PM -0000 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Le 2001-11-07, Nick Hibma écrivait : > You are not doing any conversion of commands from SCSI to ATAPI. Did you > verify that all SCSI commands are valid ATAPI commands? Actually the current version of the patch does do some translation (MODE_{SENSE,SELECT}_6 are mapped to their _10 equivalent, because the _6 variants are not implemented by ATAPI/MMC devices), but a better solution might be to move these translations up to transport independant layers, and be handled through quirk entries, or some similar flagging mechanism. After all, ATAPI really is a /transport/ mechanism for SCSI commands: it is up to the initiator of a request to know which command set to use for a given device. Thomas. -- Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message