ieee1394: sbp2: add workarounds for 2nd and 3rd generation iPods
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Wed, 28 Jan 2009 23:13:20 +0000 (00:13 +0100)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Thu, 29 Jan 2009 19:19:49 +0000 (20:19 +0100)
as per https://bugs.launchpad.net/bugs/294391.  These got one sample of
each iPod generation going.  However there still occurred I/O stalls
with the 3rd generation iPod which remain undiagnosed at the time of
this writing.

Acked-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c

index fb8f9f4430ad55e05340c9358bea79ec21d44ac0..f3fd8657ce4b62c6d12180c779c7e2bac6996f60 100644 (file)
@@ -395,6 +395,16 @@ static const struct {
                .model                  = SBP2_ROM_VALUE_WILDCARD,
                .workarounds            = SBP2_WORKAROUND_128K_MAX_TRANS,
        },
+       /*
+        * iPod 2nd generation: needs 128k max transfer size workaround
+        * iPod 3rd generation: needs fix capacity workaround
+        */
+       {
+               .firmware_revision      = 0x0a2700,
+               .model                  = 0x000000,
+               .workarounds            = SBP2_WORKAROUND_128K_MAX_TRANS |
+                                         SBP2_WORKAROUND_FIX_CAPACITY,
+       },
        /* iPod 4th generation */ {
                .firmware_revision      = 0x0a2700,
                .model                  = 0x000021,