[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)
commitbdcfd9e349eff9398a1d85eaa517294f493bb3c8
tree62a8804e6ff6559a0de1f09021c9f8cccaf11cf5
parent141804d401631f0384feabfa5fc3e2ce1321c0f0
[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