On Tue, 25 Feb 2003, Oliver Neukum wrote:

> Am Dienstag, 25. Februar 2003 19:24 schrieb Josh Myer:
> > Attached are drivers for the KB Gear JamStudio Tablet. There are two
> > files, one is against 2.4.20, the other against 2.5.62. I'm hoping this
> > isn't too late in the 2.4.21-pre stages to get included (or the 2.5, for
> > that matter =). This driver Works For Me, on both 2.4.20 and 2.5.62.
> >
> > Anyway, as usual, comments, complaints, and patches are more than
> > welcome.
>
> +     kbtab->data = usb_buffer_alloc(dev, 8, SLAB_ATOMIC, &kbtab->data_dma);
> Why SLAB_ATOMIC ?
>

Because that's the way wacom.c does it =)

I don't fully understand the setup code, nor the semantics of kernel
memory allocation (and honestly, this week i really don't have time to
learn -- i'm planning on transferring colleges and applications are due
1mar...).

As is probably obvious, that buffer is just a contiguous 8B of memory that
the data is read into. Is there a more appropriate way to do this?

-josh, who really should be editing his essay instead of eating.

>       Regards
>               Oliver
>
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
>



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to