Date: Mon, 30 Aug 2021 12:51:33 -0400 From: "Kenneth D. Merry" <ken@FreeBSD.ORG> To: ??? ?????? <yamori813@yahoo.co.jp> Cc: "freebsd-scsi@freebsd.org" <freebsd-scsi@freebsd.org>, mav@FreeBSD.org Subject: Re: targ dir issue Message-ID: <20210830165133.GA54578@mithlond.kdm.org> In-Reply-To: <141829693.2600976.1629832478856.JavaMail.yahoo@mail.yahoo.co.jp> References: <141829693.2600976.1629832478856.JavaMail.yahoo.ref@mail.yahoo.co.jp> <141829693.2600976.1629832478856.JavaMail.yahoo@mail.yahoo.co.jp>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210830165133.GA54578>