Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753349AbZKZXKn (ORCPT ); Thu, 26 Nov 2009 18:10:43 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753323AbZKZXKm (ORCPT ); Thu, 26 Nov 2009 18:10:42 -0500 Received: from mail-pz0-f171.google.com ([209.85.222.171]:39452 "EHLO mail-pz0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753275AbZKZXKl (ORCPT ); Thu, 26 Nov 2009 18:10:41 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=T0s+J5ydyZrUY/x1xI68OXT685fDzZUqpvjQaPaxU7vGvLjTyfoWBYNeXEU+OQVpP8 EtUM6W4HNdevoaYGsAmRrncEtDRvdXY7de0gf07LXVvR98iAlgDv7MTBFw2hmQ6kLfzE cVndpumtvpJyhm/hZY+258Zy6XLvFXV0L7l10= Date: Thu, 26 Nov 2009 15:10:43 -0800 From: Dmitry Torokhov To: Mauro Carvalho Chehab Cc: Krzysztof Halasa , Jarod Wilson , linux-kernel@vger.kernel.org, Mario Limonciello , linux-input@vger.kernel.org, linux-media@vger.kernel.org, Janne Grunau , Christoph Bartelmus Subject: Re: [RFC] Should we create a raw input interface for IR's ? - Was: Re: [PATCH 1/3 v2] lirc core device driver infrastructure Message-ID: <20091126231043.GB6936@core.coreip.homeip.net> References: <4B0A765F.7010204@redhat.com> <4B0A81BF.4090203@redhat.com> <4B0AC65C.806@redhat.com> <4B0E765C.2080806@redhat.com> <4B0ED238.6060306@redhat.com> <4B0EED7D.90204@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B0EED7D.90204@redhat.com> User-Agent: Mutt/1.5.19 (2009-01-05) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 893 Lines: 23 On Thu, Nov 26, 2009 at 07:05:01PM -0200, Mauro Carvalho Chehab wrote: > > For example, the two ioctls to replace a scancode x key code are defined as: > > #define EVIOCGKEYCODE _IOR('E', 0x04, int[2]) /* get keycode */ > #define EVIOCSKEYCODE _IOW('E', 0x04, int[2]) /* set keycode */ > > We need to better analyze the API to see how this can be extended to > allow bigger widths. > > (what's worse is that it is defined as "int" instead of "u32" - so the number > of bits is different on 32 and on 64 systems) > Not really, int is 32 bits on both, longs the ones that differ. -- Dmitry -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/