From: Daniel Drake Date: Wed, 10 Aug 2005 17:30:04 +0000 (+0100) Subject: [PATCH] USB: Fix HP8200 detection in shuttle_usbat X-Git-Tag: v2.6.14-rc1~492^2~18^2~27 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a6457edb8a64fdcc231a4fc5406f6e3f6c9b33;p=pandora-kernel.git [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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed