Re: [linux-usb-devel] usb-skelton.c and 2.5 kernel

2003-02-12 Thread Randy.Dunlap
On Tue, 11 Feb 2003 22:11:42 -0800 (PST) shino korah <[EMAIL PROTECTED]> wrote: | Hi | |I tried compiling usb-skelton.c in 2.5 kernel and | its giving compilation errors. I tried on 2.5.35 and | 2.5.40. | Is there anything I need to setup before I will get | this compiled? | Some of the error

Re: [linux-usb-devel] usb-skelton.c and 2.5 kernel

2003-02-12 Thread Rpik
Try to use the modflag _LOOSE_KERNEL_NAMES .. so it will be -D_LOOSE_KERNEL_NAMES regards Norbert - Original Message - From: "shino korah" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, February 12, 2003 7:11 AM Su

[linux-usb-devel] usb-skelton.c and 2.5 kernel

2003-02-11 Thread shino korah
Hi I tried compiling usb-skelton.c in 2.5 kernel and its giving compilation errors. I tried on 2.5.35 and 2.5.40. Is there anything I need to setup before I will get this compiled? Some of the errors on 2.5.35 are gcc -DMODULE -D__KERNEL__ -I/usr/src/linux-2.5.35/include -O2 -Wall -c -o usbd

[linux-usb-devel] USB-skelton.c

2002-11-15 Thread shino korah
Hi I'm writing a driver based on usb-skelton.c.This is my problem I need to read/write chunks of data, but in the skel_write() function(usb-skelton.c) the maximum data I can read/write is 512.What is teh best way to add this feature? 1. split data as 512 chunks inside this function and loop