Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2001 13:32:37 -0700
From:      "Kenneth D. Merry" <ken@kdm.org>
To:        Matthew Jacob <mjacob@feral.com>
Cc:        Katsushi Kobayashi <ikob@koganei.wide.ad.jp>, scsi@FreeBSD.ORG
Subject:   Re: Does CAM support simplified direct-access device ? (fwd)
Message-ID:  <20011109133236.A52176@panzer.kdm.org>
In-Reply-To: <Pine.BSF.4.21.0111080903020.67009-100000@beppo>; from mjacob@feral.com on Thu, Nov 08, 2001 at 09:03:26AM -0800
References:  <Pine.BSF.4.21.0111080903020.67009-100000@beppo>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <ikob@koganei.wide.ad.jp>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011109133236.A52176>