From owner-freebsd-drivers@FreeBSD.ORG Thu Nov 3 02:47:28 2005 Return-Path: X-Original-To: freebsd-drivers@freebsd.org Delivered-To: freebsd-drivers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2BA1216A41F for ; Thu, 3 Nov 2005 02:47:28 +0000 (GMT) (envelope-from mayong@mail.com) Received: from webmail-outgoing.us4.outblaze.com (webmail-outgoing.us4.outblaze.com [205.158.62.67]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9C76C43D58 for ; Thu, 3 Nov 2005 02:47:25 +0000 (GMT) (envelope-from mayong@mail.com) Received: from unknown (unknown [192.168.9.180]) by webmail-outgoing.us4.outblaze.com (Postfix) with QMQP id C3F741800134 for ; Thu, 3 Nov 2005 02:47:24 +0000 (GMT) X-OB-Received: from unknown (205.158.62.81) by wfilter.us4.outblaze.com; 3 Nov 2005 02:47:24 -0000 Received: by ws1-2.us4.outblaze.com (Postfix, from userid 1001) id BB7101F50B1; Thu, 3 Nov 2005 02:47:24 +0000 (GMT) Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 From: "Yong Ma" To: freebsd-drivers@freebsd.org Date: Wed, 02 Nov 2005 21:47:24 -0500 Received: from [159.226.5.225] by ws1-2.us4.outblaze.com with http for mayong@mail.com; Wed, 02 Nov 2005 21:47:24 -0500 X-Originating-Ip: 159.226.5.225 X-Originating-Server: ws1-2.us4.outblaze.com Message-Id: <20051103024724.BB7101F50B1@ws1-2.us4.outblaze.com> Subject: (no subject) X-BeenThere: freebsd-drivers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Writing device drivers for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Nov 2005 02:47:28 -0000 Hi all: My driver for the cryptographic accelerator is almost finished,the next= job will be the development of user interfaces.I 've got some problems now= :Is the ioctl() function the only way in which the user implications intera= ct with the driver(mine is a KLD module)?if so,how can I pass some argument= s(such as my private key or the file name that will be encrypted)?Can I cal= l some function(with arguments) defined in the driver in my user implicatio= ns,and how? Thanks! Yong --=20 ___________________________________________________ Play 100s of games for FREE! http://games.mail.com/