From owner-freebsd-hackers@FreeBSD.ORG Wed Sep 28 07:51:33 2005 Return-Path: X-Original-To: freebsd-hackers@freebsd.org 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 8DAD416A422 for ; Wed, 28 Sep 2005 07:51:33 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2807A43D48 for ; Wed, 28 Sep 2005 07:51:33 +0000 (GMT) (envelope-from nsrashmi@gmail.com) Received: by xproxy.gmail.com with SMTP id t14so1355117wxc for ; Wed, 28 Sep 2005 00:51:32 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:references; b=N+yNo7aX2JoOW5NA7tpbECXOmPvt+bCL2QqJ7ddbEWKM6GhwHayqrwzCkDvkeYJyL7NoUZcx3YQpRzMxXWuwiS+Ry45qof5SEbKKrk8TNgex2ZOOZ++pti6JxIC/GgBEEXRnynjtZS5IzBav6Ow8Dg0lWLLIyTZ7F2n2xnJ5z9Y= Received: by 10.70.52.15 with SMTP id z15mr3312104wxz; Wed, 28 Sep 2005 00:45:20 -0700 (PDT) Received: by 10.70.15.12 with HTTP; Wed, 28 Sep 2005 00:45:20 -0700 (PDT) Message-ID: <9f9993160509280045586fb14d@mail.gmail.com> Date: Wed, 28 Sep 2005 13:15:20 +0530 From: rashmi ns To: bugi@lists.redbrick.dcu.ie, freebsd-hackers@freebsd.org In-Reply-To: <9f99931605092800402dd1db9a@mail.gmail.com> MIME-Version: 1.0 References: <9f99931605092800402dd1db9a@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: rashmi ns List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 07:51:33 -0000 Hello All , I was trying to add a new ioctl cnd like #define HDLCMODE _IOR('6',0xF,int) when i try to uprintf the data which was sent from the user-space in the device-driver-ioctl-routine i'll get a different value than which is passed= . Can anybody please tell me why this is happening . I pass the address of integer from the user space as third arg to the ioctl call . thanks and regards, Rashmi.N.S