[PATCH pd59] Add another unusual_dev for off-by-one bug

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Another unusual_devs entry. Details in the patch.

Greg, please apply.

-- 
Phil Dibowitz                             phil@xxxxxxxx
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming


Argosy has released another device with the off-by-one sector. This is a
harddrive with an internal cardreader which is affected.

Based on a patch written by Martijn Hijdra <martijn.hijdra@xxxxxxxxx>

Signed-off-by: Phil Dibowitz <phil@xxxxxxxx>
---

 linux-2.6.29-rc1-dev-phil/drivers/usb/storage/unusual_devs.h |    7 +++++++
 1 file changed, 7 insertions(+)

diff -puN drivers/usb/storage/unusual_devs.h~unusual_argosy drivers/usb/storage/unusual_devs.h
--- linux-2.6.29-rc1-dev/drivers/usb/storage/unusual_devs.h~unusual_argosy	2009-01-20 23:37:48.000000000 +0100
+++ linux-2.6.29-rc1-dev-phil/drivers/usb/storage/unusual_devs.h	2009-01-20 23:38:49.000000000 +0100
@@ -1251,6 +1251,13 @@ UNUSUAL_DEV( 0x0840, 0x0084, 0x0001, 0x0
 		US_SC_DEVICE, US_PR_DEVICE, NULL,
 		US_FL_FIX_CAPACITY),
 
+/* Reported by Martijn Hijdra <martijn.hijdra@xxxxxxxxx> */
+UNUSUAL_DEV( 0x0840, 0x0085, 0x0001, 0x0001,
+		"Argosy",
+		"Storage",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_FIX_CAPACITY),
+
 /* Entry and supporting patch by Theodore Kilgore <kilgota@xxxxxxxxxx>.
  * Flag will support Bulk devices which use a standards-violating 32-byte
  * Command Block Wrapper. Here, the "DC2MEGA" cameras (several brands) with
_

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux