[linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-09-12 Thread Pete Zaitcev
On Fri, 9 Jul 2004 15:50:24 -0400 Adam Kropelin <[EMAIL PROTECTED]> wrote: > E. Somebody botched that up but good. > > Here is a patch to fix up hiddev_ioctl(), slightly improved over the way > it was done for 2.6. This patch avoids allocating a uref_multi when a > standard uref will do. It a

Re: [linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-09 Thread Adam Kropelin
On Fri, Jul 09, 2004 at 04:34:24PM +0400, Sergey Vlasov wrote: > On Thu, Jul 08, 2004 at 10:39:24PM -0700, Pete Zaitcev wrote: > > On Wed, 7 Jul 2004 17:52:01 -0400 > > Adam Kropelin <[EMAIL PROTECTED]> wrote: > > > > > /* hiddev_usage_ref_multi is used for sending multiple bytes to a control. >

Re: [linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-09 Thread Sergey Vlasov
On Thu, Jul 08, 2004 at 10:39:24PM -0700, Pete Zaitcev wrote: > On Wed, 7 Jul 2004 17:52:01 -0400 > Adam Kropelin <[EMAIL PROTECTED]> wrote: > > > /* hiddev_usage_ref_multi is used for sending multiple bytes to a control. > > * It really manifests itself as setting the value of consecutive usag

[linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-08 Thread Pete Zaitcev
On Wed, 7 Jul 2004 17:52:01 -0400 Adam Kropelin <[EMAIL PROTECTED]> wrote: > /* hiddev_usage_ref_multi is used for sending multiple bytes to a control. > * It really manifests itself as setting the value of consecutive usages */ > +#define HID_MAX_MULTI_USAGES 1024 > struct hiddev_usage_ref_mu

[linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-07 Thread Greg KH
On Mon, Jul 05, 2004 at 01:40:46PM +0200, Vojtech Pavlik wrote: > On Mon, Jul 05, 2004 at 12:00:53AM -0400, Adam Kropelin wrote: > > hiddev.h was recently broken by some changes that create an > > unfulfilled dependency on hid.h. In-kernel users are getting lucky but > > userspace doesn't fare so w

[linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-05 Thread Vojtech Pavlik
On Mon, Jul 05, 2004 at 12:00:53AM -0400, Adam Kropelin wrote: > hiddev.h was recently broken by some changes that create an > unfulfilled dependency on hid.h. In-kernel users are getting lucky but > userspace doesn't fare so well. Fix this in 2.4 the same way we fixed > it in 2.6. Patch is against