/[linux-patches]/genpatches-2.6/tags/2.6.28-1/2500_pentax-k10d-wrong-capacity.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.28-1/2500_pentax-k10d-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: 999 byte(s)
2.6.28-1 release
1 [PATCH] usb-storage: Pentax K10D reports wrong capacity
2
3 Jaak Ristioja reported problems with his Pentax K10D camera:
4 https://bugs.gentoo.org/show_bug.cgi?id=250406
5
6 The number of reported sectors is off-by-one.
7
8 Signed-off-by: Daniel Drake <dsd@gentoo.org>
9
10 Index: linux-2.6.27-gentoo-r4/drivers/usb/storage/unusual_devs.h
11 ===================================================================
12 --- linux-2.6.27-gentoo-r4.orig/drivers/usb/storage/unusual_devs.h
13 +++ linux-2.6.27-gentoo-r4/drivers/usb/storage/unusual_devs.h
14 @@ -1363,6 +1363,13 @@ UNUSUAL_DEV( 0x0a17, 0x006, 0x0000, 0xff
15 US_SC_DEVICE, US_PR_DEVICE, NULL,
16 US_FL_FIX_INQUIRY ),
17
18 +/* Reported by Jaak Ristioja <Ristioja@gmail.com> */
19 +UNUSUAL_DEV( 0x0a17, 0x006e, 0x0100, 0x0100,
20 + "Pentax",
21 + "K10D",
22 + US_SC_DEVICE, US_PR_DEVICE, NULL,
23 + US_FL_FIX_CAPACITY ),
24 +
25 /* These are virtual windows driver CDs, which the zd1211rw driver
26 * automatically converts into WLAN devices. */
27 UNUSUAL_DEV( 0x0ace, 0x2011, 0x0101, 0x0101,

Properties

Name Value
svn:mergeinfo

  ViewVC Help
Powered by ViewVC 1.1.20