From owner-freebsd-hackers@FreeBSD.ORG Thu Aug 7 01:50:16 2003 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85B0037B429 for ; Thu, 7 Aug 2003 01:50:16 -0700 (PDT) Received: from web8202.mail.in.yahoo.com (web8202.mail.in.yahoo.com [203.199.70.115]) by mx1.FreeBSD.org (Postfix) with SMTP id 03CD843FA3 for ; Thu, 7 Aug 2003 01:50:15 -0700 (PDT) (envelope-from jaya_bhat100@yahoo.co.in) Message-ID: <20030807085013.66370.qmail@web8202.mail.in.yahoo.com> Received: from [203.200.17.158] by web8202.mail.in.yahoo.com via HTTP; Thu, 07 Aug 2003 09:50:13 BST Date: Thu, 7 Aug 2003 09:50:13 +0100 (BST) From: =?iso-8859-1?q?Jayasheela=20Bhat?= To: hou-freebsd@houfug.org MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 14 Aug 2003 01:42:52 -0700 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Driver to Driver Communication X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2003 08:50:16 -0000 Hi All, Could anybody help me to know how a driver to driver communication is done in FreeBSD ? My exact problem is something like this. In the current implementation of scsi_target mode driver, there is a associated userland application polling the target device and data is read from target device to user space and then written to a file. In stead, I want to do it in the scsi_target driver itself such that all I/O queues are redirected to a disk device. For this purpose, How can I interface with the scsi disk driver i.e. scsi_da.c from the scsi_target driver? Thanks & Regards, Jaya SMS using the Yahoo! Messenger;Download latest version.