Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030369AbVI3Qr2 (ORCPT ); Fri, 30 Sep 2005 12:47:28 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030371AbVI3Qr2 (ORCPT ); Fri, 30 Sep 2005 12:47:28 -0400 Received: from magic.adaptec.com ([216.52.22.17]:15505 "EHLO magic.adaptec.com") by vger.kernel.org with ESMTP id S1030369AbVI3Qr1 (ORCPT ); Fri, 30 Sep 2005 12:47:27 -0400 Message-ID: <433D6C18.2070202@adaptec.com> Date: Fri, 30 Sep 2005 12:47:20 -0400 From: Luben Tuikov User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: andrew.patterson@hp.com CC: dougg@torque.net, Linus Torvalds , Luben Tuikov , SCSI Mailing List , Linux Kernel Mailing List Subject: Re: I request inclusion of SAS Transport Layer and AIC-94xx into the kernel References: <20050929232013.95117.qmail@web31810.mail.mud.yahoo.com> <433CE961.3040504@torque.net> <1128097576.10079.88.camel@bluto.andrew> In-Reply-To: <1128097576.10079.88.camel@bluto.andrew> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 Sep 2005 16:47:25.0480 (UTC) FILETIME=[A2CECA80:01C5C5DE] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1891 Lines: 51 On 09/30/05 12:26, Andrew Patterson wrote: > > I talked to one of the authors of these specs. SDI is an attempt to > create an open standard for the somewhat proprietary CSMI spec developed > by HP. It is currently languishing in t10 due to the IOCTL problem you > describe below (the "no new IOCTL's" doctrine caught them by surprise). > There is some thought to going to a write()/read() on a character device > model, but this has various problems as well. I think that read/write from a char device is going away too. For this reason I showed the whole picture of the SAS domain in sysfs _and_ created a binary file attr to send/receive SMP requests/responses to control the domain and get attributes ("smp_portal" binary attr of each expander). It is completely user space driven and a user space library is simple to write. See drivers/scsi/sas/expander_conf.c which is a user space utility. For the output see Announcement 3: http://linux.adaptec.com/sas/Announce_2.txt or here: http://marc.theaimsgroup.com/?l=linux-scsi&m=112629509318354&w=2 The code which implements it is very tiny, at the bottom of drivers/scsi/sas/sas_expander.c >>Sorry, did I mention "ioctl", >>oh that makes SDI unacceptable. Almost a year ago that is what >>happened to the first proposed SAS driver for Linux. > > > That was one of the reasons the MPT Fusion and Adaptec drivers were > rejected. There were others as well, such as lack of a SAS transport > class. You mean the first Adaptec SAS "adp94xx" driver. BTW, neither the original "adp94xx", nor the subsequent "aic94xx" Adaptec drivers implmented _any_ ioctls for CSMI/SDI. 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/