/[linux-patches]/genpatches-2.6/tags/2.6.28-1/2505_macpower-wrong-capacity.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.28-1/2505_macpower-wrong-capacity.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1451 - (show annotations) (download)
Thu Dec 25 01:56:17 2008 UTC (5 years, 7 months ago) by dsd
File size: 1925 byte(s)
2.6.28-1 release
1 Message-ID: <49492896.70804@mail.mipt.ru>
2 Date: Wed, 17 Dec 2008 19:28:06 +0300
3 From: Sergey Ovcharenko <velegrin@mail.mipt.ru>
4 To: stern@rowland.harvard.edu, linux-usb@vger.kernel.org,
5 usb-storage@lists.one-eyed-alien.net
6 Subject: [usb-storage] [PATCH] usb-storage: unusual_devs.h additions for Macpower MasterBox
7
8 Jason Johnston reported these problems with his external USB hard drive:
9 http://bugs.gentoo.org/show_bug.cgi?id=250789
10
11 The number of reported sectors is off-by-one.
12
13 Signed-off-by: Sergey Ovcharenko <velegrin@mail.mipt.ru>
14 Signed-off-by: Phil Dibowitz <phil@ipom.com>
15 ---
16 /proc/bus/usb/devices:
17 T: Bus=01 Lev=02 Prnt=08 Port=00 Cnt=01 Dev#= 9 Spd=480 MxCh= 0
18 D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
19 P: Vendor=0dc4 ProdID=0073 Rev= 0.00
20 S: Manufacturer=Macpower Technology Co.LTD.
21 S: Product=USB 2.0 3.5" DEVICE
22 S: SerialNumber=03006C
23 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=100mA
24 I:* If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
25 E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
26 E: Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
27
28 Index: linux-2.6.27-gentoo-r6/drivers/usb/storage/unusual_devs.h
29 ===================================================================
30 --- linux-2.6.27-gentoo-r6/drivers/usb/storage/unusual_devs.h.orig
31 +++ linux-2.6.27-gentoo-r6/drivers/usb/storage/unusual_devs.h
32 @@ -1509,6 +1518,13 @@ UNUSUAL_DEV( 0x0d96, 0x5200, 0x0001, 0x
33 "JD 5200 z3",
34 US_SC_DEVICE, US_PR_DEVICE, NULL, US_FL_FIX_INQUIRY),
35
36 +/* Reported by Jason Johnston <killean@shaw.ca> */
37 +UNUSUAL_DEV( 0x0dc4, 0x0073, 0x0000, 0x0000,
38 + "Macpower Technology Co.LTD.",
39 + "USB 2.0 3.5\" DEVICE",
40 + US_SC_DEVICE, US_PR_DEVICE, NULL,
41 + US_FL_FIX_CAPACITY),
42 +
43 /* Reported by Lubomir Blaha <tritol@trilogic.cz>
44 * I _REALLY_ don't know what 3rd, 4th number and all defines mean, but this
45 * works for me. Can anybody correct these values? (I able to test corrected

Properties

Name Value
svn:mergeinfo

  ViewVC Help
Powered by ViewVC 1.1.20