Peter Chubb wrote:
Patch appended.

Thats very intrusive. Please try a more simplistic approach, and send new logs if it is still detected as a disk :)

Daniel
--- linux/drivers/usb/storage/shuttle_usbat.c.orig      2006-03-14 
23:36:57.000000000 +0000
+++ linux/drivers/usb/storage/shuttle_usbat.c   2006-03-14 23:37:18.000000000 
+0000
@@ -855,6 +855,9 @@ static int usbat_identify_device(struct 
                return rc;
        msleep(500);
 
+       info->devicetype = USBAT_DEV_FLASH;
+       return USB_STOR_TRANSPORT_GOOD;
+
        /*
         * In attempt to distinguish between HP CDRW's and Flash readers, we now
         * execute the IDENTIFY PACKET DEVICE command. On ATA devices (i.e. 
flash

Reply via email to