summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2008-12-01 21:18:48 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2008-12-05 10:55:24 -0800
commite20f36bd65610e8347ee099acf9f5561bbdf5fdb (patch)
tree67fb3269fc40010da8bef5769a1ddc2d6a3754b1
parentbcd48fbb5a26632fea79ff62f63d3f67bf67f1ac (diff)
downloadlinux-stable-e20f36bd65610e8347ee099acf9f5561bbdf5fdb.tar.gz
linux-stable-e20f36bd65610e8347ee099acf9f5561bbdf5fdb.tar.bz2
linux-stable-e20f36bd65610e8347ee099acf9f5561bbdf5fdb.zip
ieee1394: sbp2: another iPod mini quirk entry
commit 9e0de91011ef6fe6eb3bb63f7ea15f586955660a upstream. Add another model ID of a broken firmware to prevent early I/O errors by acesses at the end of the disk. Reported at linux1394-user, http://marc.info/?t=122670842900002 Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r--drivers/ieee1394/sbp2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/ieee1394/sbp2.c b/drivers/ieee1394/sbp2.c
index 1d6ad3435537..bad46ea16095 100644
--- a/drivers/ieee1394/sbp2.c
+++ b/drivers/ieee1394/sbp2.c
@@ -402,6 +402,11 @@ static const struct {
},
/* iPod mini */ {
.firmware_revision = 0x0a2700,
+ .model_id = 0x000022,
+ .workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
+ },
+ /* iPod mini */ {
+ .firmware_revision = 0x0a2700,
.model_id = 0x000023,
.workarounds = SBP2_WORKAROUND_FIX_CAPACITY,
},