summaryrefslogtreecommitdiff
path: root/drivers/usb/class/printer.c
AgeCommit message (Collapse)Author
2002-08-18USB: rename printer.c to usblp.c as that's what it has been calling itself :)Greg Kroah-Hartman
2002-07-18[PATCH] drivers/usb/* designated initializer reworkRusty Russell
Name: Designated initializers for drivers/usb Author: Rusty Russell Status: Trivial D: The old form of designated initializers are obsolete: we need to D: replace them with the ISO C forms before 2.6. Gcc has always supported D: both forms anyway.
2002-07-18[PATCH] USB: lots of locking and other SMP race fixesOliver Neukum
This is a merge of a bunch of SMP and locking fixes for the USB code that Oliver has sent me (greg k-h) over the past few weeks.
2002-07-05USB: Fixups due to the changes in struct usb_device for file_operations and ↵Greg Kroah-Hartman
minor number handling
2002-06-13[PATCH] usblp_ioctl for non-little-endian machinesFlavien Lebarbé
ioctl(LPGETSTATUS) is known to put the status into an int. The usblp driver has a problem in this area as it does not put it into an int but into a char. Let's see : from drivers/char/lp.c : lp_ioctl : int status copy_to_user((int *) arg, &status, sizeof(int)) from drivers/usb/printer.c : usblp_ioctl : unsigned char status; copy_to_user ((unsigned char *)arg, &status, 1) Even though in most cases it can work unnoticed on little-endian machines ;o), it's broken on non-little-endian machines (I got bitten on PPC).
2002-06-11USB: printer fix as found by the CHECKER tool.Greg Kroah-Hartman
pay attention to return value of usb_submit_urb as found by the CHECKER tool.
2002-06-10[PATCH] Warning fixDavid S. Miller
DEVICE_ID_SIZE clashes with the define in include/linux/device.h
2002-05-05[PATCH] USB printer freeing minors in probe error pathOliver Neukum
fix a failure to free a minor in the error path of probe
2002-05-02USBGreg Kroah-Hartman
cleaned up checking the return value of usb_register_dev()
2002-05-02[PATCH] tiny race with devfs in printerOliver Neukum
USB printer bugfix looking through printer.c in preparation for shifting devfs support to usbcore I noticed that printer advertises a device through devfs before it can be opened. As devfs, or more precisely devfsd can be used to trigger actions this matters and is wrong.
2002-04-25added support for USB_DYNAMIC_MINORS to the usb drivers that can use it.Greg Kroah-Hartman
2002-04-18USB coreGreg Kroah-Hartman
Took out the limitation that drivers had to take up 16 minors. Now they can use only 1 if they want to.
2002-04-03USBGreg Kroah-Hartman
moved files to different subdirectories to make try to make sense of the current mess, and to allow usb client drivers to integrate into the tree easier.