Date: Fri, 25 Jan 2002 13:09:01 -0500 From: "John S. Bucy" <bucy@ece.cmu.edu> To: freebsd-scsi@freebsd.org Subject: Re: target mode passthrough Message-ID: <20020125130900.G23025@catalepsy.pdl.cmu.edu> In-Reply-To: <200201231926.g0NJQ1u77579@aslan.scsiguy.com>; from gibbs@scsiguy.com on Wed, Jan 23, 2002 at 12:26:01PM -0700 References: <20020121135542.C23025@catalepsy.pdl.cmu.edu> <200201231926.g0NJQ1u77579@aslan.scsiguy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Another question: I'm not sure how to deal with replies that involve a data phase. The existing pt driver did the bus transfers with read and write on the target device but this gets trickier with tagged queueing since you have to match up the reads and writes with (multiple) outstanding SCBs. I guess one solution would be to add an ioctl so you could tell the kernel driver which tag you were about to handle ... but this seems like a kludge. Since the cam and the device drivers seem to want the data in a buf, returning the bus-transfer data through the ioctl doesn't seem like the right answer either. Ideas? john 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?20020125130900.G23025>