Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-30 Thread Anssi Hannula
johann deneux wrote: > On 3/27/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: > >> Ok, so how to deal with these devices? Does anybody have some idea? >> That's >> what I was talking about somewhere in the beginning of this thread, >> the raw >> values, because it seems too specific for letting kernel

Re: FF layer restrictions [Was: [PATCH 1/1] Input: add sensable phantom driver]

2007-03-30 Thread Dmitry Torokhov
On 3/28/07, Jiri Slaby <[EMAIL PROTECTED]> wrote: Jiri Slaby napsal(a): > Dmitry Torokhov napsal(a): >> On Tuesday 27 March 2007 17:34, johann deneux wrote: >>> What about adding a member to ff_effect which would be the number of the motor? >>> We can't change the layout of ff_effect too much th

Re: [KJ][PATCH] BIT macro cleanup

2007-03-30 Thread Milind Arun Choudhary
On 3/29/07, Richard Knutsson <[EMAIL PROTECTED]> wrote: Alexey Dobriyan wrote: > On Wed, Mar 28, 2007 at 09:03:09AM +0530, Milind Arun Choudhary wrote: > >> +#define BIT(nr) (1UL << ((nr) % BITS_PER_LONG)) >> > > I think this would be a disaster because something like > >BIT(123) > > wo