From owner-freebsd-usb@FreeBSD.ORG Sat Oct 20 17:27:34 2007 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC02416A418 for ; Sat, 20 Oct 2007 17:27:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 5FA4713C448 for ; Sat, 20 Oct 2007 17:27:32 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe07.swip.net (CommuniGate Pro SMTP 5.1.10) with ESMTPA id 659867728; Sat, 20 Oct 2007 19:27:24 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sat, 20 Oct 2007 19:27:50 +0200 User-Agent: KMail/1.9.7 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200710201927.51983.hselasky@c2i.net> Cc: Subject: Re: need help X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2007 17:27:34 -0000 On Saturday 20 October 2007, GAURAV GUPTA wrote: > Hi all, > > Can anyone explain me the functionality of this standard function. > I am beginner in this BSD area,so cudn'n get the details clear. > > #define usb_init_task(t, f, a) ((t)->fun = (f), (t)->arg = (a), > (t)->onqueue = 0) > The macro initialises a task structure. --HPS