USB: add Printer Gadget Driver
authorCraig W. Nadler <craig@nadler.us>
Sun, 11 Nov 2007 23:00:15 +0000 (15:00 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Feb 2008 22:34:49 +0000 (14:34 -0800)
commit25a010c8c1a5f0cc2e2794adf969e2df2ad1f0b6
tree1d2e477e44a2a8122696711bfd2b9aad35a265bf
parent676d3aa16f66d94bf5654781b77d1e070c8b0514
USB: add Printer Gadget Driver

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 <craig@nadler.us>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/usb/gadget_printer.txt [new file with mode: 0644]
drivers/usb/gadget/Kconfig
drivers/usb/gadget/Makefile
drivers/usb/gadget/printer.c [new file with mode: 0644]
include/linux/usb/Kbuild
include/linux/usb/g_printer.h [new file with mode: 0644]
include/linux/usb/gadgetfs.h