Roman Hodek wrote:
> If you have the patch at hand, it'd be easier if you change the two
> numbers... I have submitted it from another machine where I currently
> don't have access to. Thanks!

Roman, you want to give the following a shot before I submit it?

-- 
Phil Dibowitz                             [EMAIL PROTECTED]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Be who you are and say what you feel, because those who mind don't
matter and those who matter don't mind."
 - Dr. Suess


The following adds an unusual_devs entry for the SanDisk ImageMate CompactFlash USB drive, for the US_FL_FIX_CAPACITY flag. Additionally, it removes trailing whitespace from the previous entry. It's based on the patch sent by Roman <[EMAIL PROTECTED]>.


---


diff -puN drivers/usb/storage/unusual_devs.h~unusual_imagemate drivers/usb/storage/unusual_devs.h
--- linux-2.6.16-rc3-git1/drivers/usb/storage/unusual_devs.h~unusual_imagemate	2006-02-13 15:47:49.000000000 -0800
+++ linux-2.6.16-rc3-git1-phil/drivers/usb/storage/unusual_devs.h	2006-02-13 15:49:33.000000000 -0800
@@ -735,12 +735,18 @@ UNUSUAL_DEV(  0x0693, 0x0005, 0x0100, 0x
 		"Flashgate",
 		US_SC_SCSI, US_PR_BULK, NULL, 0 ), 
 
-UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200, 
+UNUSUAL_DEV(  0x0781, 0x0001, 0x0200, 0x0200,
 		"Sandisk",
 		"ImageMate SDDR-05a",
 		US_SC_SCSI, US_PR_CB, NULL,
 		US_FL_SINGLE_LUN ),
 
+UNUSUAL_DEV(  0x0781, 0x0002, 0x0009, 0x0009,
+		"SanDisk Corporation",
+		"ImageMate CompactFlash USB",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_FIX_CAPACITY ),
+
 #ifdef CONFIG_USB_STORAGE_USBAT
 UNUSUAL_DEV(  0x0781, 0x0005, 0x0005, 0x0005,
 		"Sandisk",
_

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to