diff options
author | Daniel Drake <dsd@gentoo.org> | 2005-08-10 18:30:04 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 16:28:18 -0700 |
commit | 68a6457edb8a64fdcc231a4fc5406f6e3f6c9b33 (patch) | |
tree | 4bef1b4ab18a23e7d14dc96577c95310d0e2b3d7 /drivers/usb/core/usb.c | |
parent | 242cf670c09c05504ce53dfc27f8331a072f169d (diff) | |
download | blackbird-op-linux-68a6457edb8a64fdcc231a4fc5406f6e3f6c9b33.tar.gz blackbird-op-linux-68a6457edb8a64fdcc231a4fc5406f6e3f6c9b33.zip |
[PATCH] USB: Fix HP8200 detection in shuttle_usbat
Adding flash-device support to the shuttle_usbat driver in 2.6.11
introduced the need to detect which type of device we are dealing with:
CDRW drive, or flash media reader.
The detection routine used turned out to not work for HP8200 CDRW users,
who saw their devices being detected as a flash disk.
This patch (which has been tested on both flash and cdrom) removes some
unnecessary code, moves device detection to much later during
initialization, and introduces a new detection routine which appears to
work.
Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/usb.c')
0 files changed, 0 insertions, 0 deletions