From owner-freebsd-scsi Fri Nov 9 12:32:58 2001 Delivered-To: freebsd-scsi@freebsd.org Received: from panzer.kdm.org (panzer.kdm.org [216.160.178.169]) by hub.freebsd.org (Postfix) with ESMTP id CDAFF37B405 for ; Fri, 9 Nov 2001 12:32:54 -0800 (PST) Received: (from ken@localhost) by panzer.kdm.org (8.11.6/8.9.1) id fA9KWbq52221; Fri, 9 Nov 2001 13:32:37 -0700 (MST) (envelope-from ken) Date: Fri, 9 Nov 2001 13:32:37 -0700 From: "Kenneth D. Merry" To: Matthew Jacob Cc: Katsushi Kobayashi , scsi@FreeBSD.ORG Subject: Re: Does CAM support simplified direct-access device ? (fwd) Message-ID: <20011109133236.A52176@panzer.kdm.org> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="SUOF0GtieIMvvwua" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: ; from mjacob@feral.com on Thu, Nov 08, 2001 at 09:03:26AM -0800 Sender: owner-freebsd-scsi@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Nov 08, 2001 at 09:03:26 -0800, Matthew Jacob wrote: > > (mirroring to -scsi) > > I said "no". > > > ---------- Forwarded message ---------- > Date: Fri, 09 Nov 2001 01:57:14 +0900 > From: Katsushi Kobayashi > To: hackers@FreeBSD.ORG, arch@FreeBSD.ORG > Subject: Does CAM support simplified direct-access device ? > > Hello, > > I am testing my SBP, SCSI over firewire, driver on some firewire > disk. An SCSI device work well under the specific usage. > Unfortunately, I have met a CAM related trouble on another disk. > This disk responds its device type as "simplefied direct-access > device 0Eh", not "direct access device 00h". > > Does CAM function on FreeBSD support this device type? Not by default, no, but it might work if you added RBC devices to the devices recognized by the da(4) driver. The attached patch should do it for -current. (You can do the same thing on -stable.) Anyway, send mail and let us know whether this works or not. Ken -- Kenneth Merry ken@kdm.org --SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="scsi_da.c.rbc.20011109" ==== //depot/FreeBSD-ken/src/sys/cam/scsi/scsi_da.c#25 - /usr/home/ken/perforce/FreeBSD-ken/src/sys/cam/scsi/scsi_da.c ==== *** /tmp/tmp.65917.0 Fri Nov 9 13:31:03 2001 --- /usr/home/ken/perforce/FreeBSD-ken/src/sys/cam/scsi/scsi_da.c Fri Nov 9 13:30:43 2001 *************** *** 954,960 **** break; if (SID_TYPE(&cgd->inq_data) != T_DIRECT ! && SID_TYPE(&cgd->inq_data) != T_OPTICAL) break; /* --- 954,961 ---- break; if (SID_TYPE(&cgd->inq_data) != T_DIRECT ! && SID_TYPE(&cgd->inq_data) != T_OPTICAL ! && SID_TYPE(&cgd->inq_data) != T_RBC) break; /* --SUOF0GtieIMvvwua-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-scsi" in the body of the message