Author: Kohn, Rodolfo Date: To: Mailing list for the VIA dongle driver hackathon, Gaston Ingaramo Subject: Re: [Kernel-hackathon] [PATCH] urb_tx_buffer struct
Probably this is the same thing as a structure I've created called vt6656_tx_ctx that allows vt6656_usb_tx_complete have a ptr to the skb and the vt, in my patch.
Rodolfo Kohn
Software Engineer
Phone: 54-351-526-KOHN (5646)
Argentina Software Development Center
Intel
>-----Original Message-----
>From: kernel-hackathon-bounces@??? [mailto:kernel-hackathon-
>bounces@???] On Behalf Of Christoph Hellwig
>Sent: Tuesday, September 08, 2009 3:52 PM
>To: Gaston Ingaramo
>Cc: Mailing list for the VIA dongle driver hackathon
>Subject: Re: [Kernel-hackathon] [PATCH] urb_tx_buffer struct
>
>On Wed, Sep 02, 2009 at 02:44:57AM -0300, Gaston Ingaramo wrote:
>> Guys:
>>
>> What this patch here does is:
>> * gives a new struct called urb_tx_buffer and
>> * minor changes in usb_tx_complete, alloc_tx_urb and vt6656_tx to
>make all
>> work.
>>
>> It solves the problem of getting the vt6656_dev and skb pointers
>inside
>> usb_tx_complete
>
>Good. How does this interact with the TX bits from Rodolpho? I'm a bit
>afraid to put any TX patches in while that work is going on..
>
>> BTW: I think I may've found a big mistake in
>*vt6656_usb_alloc_tx_urb*,
>> right after the "*error = 0;*" line, at the
>> bottom there's a "*usb_put_urb(urb)*" instruction!!!!
>
>It drops the reference we acquired, after this only the usb anchor
>owns a references
>
>_______________________________________________
>Kernel-hackathon mailing list
>Kernel-hackathon@???
>https://mx.grulic.org.ar/mailman/listinfo/kernel-hackathon