]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Tue, 2 May 2006 17:29:34 +0000 (18:29 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:10 +0000 (15:04 -0700)
commit1dd6d6d68827dd9c61317b642eb0e5c095a18085
tree62a8804e6ff6559a0de1f09021c9f8cccaf11cf5
parent045c1d60bedb16bbdf8ea8080aa7fbc61c2a8921
[PATCH] USB: shuttle_usbat: Hardcode detection of HP CDRW devices

Use USB vendor and product IDs to determine whether the attached
device is a CDROM or a Flash device.  Daniel Drake says that the
*same* vendor and product IDs for non-HP vendor ID could be either
flash or cdrom, so try to probe for them.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/storage/shuttle_usbat.c
drivers/usb/storage/shuttle_usbat.h
drivers/usb/storage/unusual_devs.h