From owner-freebsd-hackers@FreeBSD.ORG Fri Sep 23 14:44:28 2011 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 185D7106564A for ; Fri, 23 Sep 2011 14:44:28 +0000 (UTC) (envelope-from doconnor@gsoft.com.au) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.freebsd.org (Postfix) with ESMTP id 932F88FC12 for ; Fri, 23 Sep 2011 14:44:26 +0000 (UTC) Received: from ur.dons.net.au (ppp118-210-8-217.lns20.adl2.internode.on.net [118.210.8.217]) (authenticated bits=0) by cain.gsoft.com.au (8.14.4/8.14.3) with ESMTP id p8NEiFwG069676 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Sat, 24 Sep 2011 00:14:22 +0930 (CST) (envelope-from doconnor@gsoft.com.au) Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset=us-ascii From: "Daniel O'Connor" In-Reply-To: Date: Sat, 24 Sep 2011 00:14:15 +0930 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: geoffrey levand X-Mailer: Apple Mail (2.1244.3) X-Spam-Score: 2.162 (**) BAYES_00,KHOP_DYNAMIC,RDNS_DYNAMIC X-Scanned-By: MIMEDefang 2.67 on 203.31.81.10 Cc: freebsd-hackers@freebsd.org Subject: Re: CAM framework for FLASH devices X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Sep 2011 14:44:28 -0000 On 23/09/2011, at 22:31, geoffrey levand wrote: > Could CAM framework be used for devices which do not support SCSI or = ATA commands natively, e.g. FLASH devices ? > I didn't find any examples for this case. > I'm developing PS3 flash device driver. Or is disk framework better in = this case ? > I used CAM for PS3 CDROM driver but it supports SCSI commands natively = and > i liked it very much so i would like to use it for FLASH devices too. I don't think so - I think you want a GEOM class, e.g... http://osdir.com/ml/freebsd-geom/2009-04/msg00008.html (I haven't really looked in detail though..) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C