]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
[PATCH] sbp2: add read_capacity workaround for iPod
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 15 May 2006 20:06:37 +0000 (22:06 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 18 May 2006 04:32:21 +0000 (21:32 -0700)
commite9a1c52c7b19d10342226c12f170d7ab644427e2
tree231d00c761444c650e527d048aab0776bd135fb5
parent24d3bf884e093f9de52d31c97187f4b9b4ad7dcb
[PATCH] sbp2: add read_capacity workaround for iPod

Apple decided to copy some USB stupidity over to FireWire.

The sector number returned by iPods from read_capacity is one too many.
This may cause I/O errors, especially if the kernel is configured for EFI
partition support. We use the same workaround as usb-storage but have to
check for different model IDs.

http://marc.theaimsgroup.com/?t=114233262300001
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=187409

Acknowledgements:
  Diagnosis and therapy by Mathieu Chouquet-Stringer <ml2news@free.fr>,
  additional data about affected and unaffected Apple hardware from
  Vladimir Kotal, Sander De Graaf, Bryan Olmstead and Hugh Dixon.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.h