Re: [PATCH] Printer Gadget Driver v0.2.0 (kernel 2.6.21.3)

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Monday 25 June 2007, Craig W. Nadler wrote:
>   From: Craig W. Nadler <[email protected]>
> 
> G_PRINTER: Adds a USB printer gadget driver for use in printer firmware.
> 
> This adds a USB printer gadget driver for use in printer firmware.
> The printer gadget channels data between the USB host and a userspace
> program driving the print engine. The user space program reads and
> writes the device file /dev/g_printer to receive or send printer data.
> It can use ioctl calls to the device file to get or set printer status.
> 
> Signed-off-by: Craig W. Nadler <[email protected]>

Still in my review queue -- just so you know.  :)

Can you remove all calls to usb_ep_buffer_{alloc,free}() in
the next iteration?  I'll be removing those from the gadget
API (they've become superfluous).  And in any case, this
particular driver doesn't need dma-coherent buffers.

No need to repost this driver with just that change, that'd
just clutter my queue.

- Dave



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.