Re: [RFC][PATCH 20/20] USB: aircable: rewrite using generic read and write implementations

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



El 17/03/10 19:06, Johan Hovold escribió:
Kill circular buffers for tx and rx as well as read work thread, and
switch to generic kfifo-based write implementation.

This is an example of how prepare_write_buffer and process_read_urb can
be used to handle protocols with packet headers.

Please note the diffstat which shows that the same functionality is now
provided using only a tenth of the code (including whitespace and
comments, though).

Compile-only tested.

Cc: Naranjo, Manuel Francisco<naranjo.manuel@xxxxxxxxx>
Signed-off-by: Johan Hovold<jhovold@xxxxxxxxx>
Tested-by: Naranjo, Manuel Francisco <naranjo.manuel@xxxxxxxxx>

Tested on real hardware.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux