Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932633AbVIMMlo (ORCPT ); Tue, 13 Sep 2005 08:41:44 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932632AbVIMMlo (ORCPT ); Tue, 13 Sep 2005 08:41:44 -0400 Received: from magic.adaptec.com ([216.52.22.17]:51345 "EHLO magic.adaptec.com") by vger.kernel.org with ESMTP id S932470AbVIMMln (ORCPT ); Tue, 13 Sep 2005 08:41:43 -0400 Message-ID: <4326C8FF.8050400@adaptec.com> Date: Tue, 13 Sep 2005 08:41:35 -0400 From: Luben Tuikov User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Christoph Hellwig CC: Alan Cox , Rik van Riel , Luben Tuikov , James Bottomley , Linux Kernel Mailing List , SCSI Mailing List Subject: Re: [PATCH 2.6.13 14/14] sas-class: SCSI Host glue References: <20050910041218.29183.qmail@web51612.mail.yahoo.com> <1126383605.30449.12.camel@localhost.localdomain> <20050911094007.GB5429@infradead.org> In-Reply-To: <20050911094007.GB5429@infradead.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Sep 2005 12:41:41.0830 (UTC) FILETIME=[7DE29660:01C5B860] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1414 Lines: 40 On 09/11/05 05:40, Christoph Hellwig wrote: > > Yes, absolutely. This discussion is driving far off right now, no one > is asking Adaptec to add support for competing products here, we're just > asking to not declare the host_template in the common code, and supporting > limited controllers is one of the reasons. Hi Christoph, I cannot make something to be, something that it is not. That is, the SAS LLDD is not a "scsi host" and it will never be, because it is just not a "scsi host". What it is, is an access point to the transport, this is its sole function and existance. E.g. it doesn't know about max_luns, etc, which are purely SCSI Core-into-scsi_host concepts. It does know about Execute Command SCSI RPC and TMFs. The "scsi_host" template is a SCSI Core concept, which mixes a software component (what it is) and a hardware component (what you're talking about). Now, see the layering infrastructure: SATA support: The sas_sata_host.c file would also declare a scsi_host, where it will define its own queuecommand(), eh_timed_out(), eh_strategy_handler(), etc. and do the _protocol_ part, whereby the SAS LLDD does the transport part. Luben - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/