Re: targ dir issue
- Reply: Alexander Motin : "Re: targ dir issue"
- In reply to: や もり : "targ dir issue"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 30 Aug 2021 16:51:33 UTC
On Wed, Aug 25, 2021 at 04:14:38 +0900, ??? ?????? wrote:
> * { margin: 0; font-size: 13px; font-family: 'MS P????????????', sans-serif;}a { color: #0064c8; text-decoration: none;}a:hover { color: #0057af; text-decoration: underline;}a:active { color: #004c98;}
> Hi
>
>
>
>
> I port ncv to eps for NCR53C500. And Support targ at esp.
>
>
>
>
> I have question for targ.
>
>
>
>
> inquery data is send by scsi_target apprication by CAM_DIR_IN.
>
>
>
>
> But CAM_DIR_IN not copyin.
>
>
>
>
> https://svnweb.freebsd.org/base/head/sys/cam/cam_periph.c?view=markup#l929
>
>
>
>
> Why different ?
I think that may be a bug. I see that if you have an XPT_CONT_TARGET_IO
CCB, for an INQUIRY, as you would in your case, it would be CAM_DIR_IN, but
would need to copy the data from userland into the kernel.
It looks like it changed in SVN revision 345656.
I have CCed Alexander Motin, he originally wrote that change and can take a
look at it.
>
>
>
> Hiroki Mori
Thanks,
Ken
--
Kenneth Merry
ken@FreeBSD.ORG