This patch adds an unusual_devs.h entry for the Apple iPod as it
reports one too many sectors. The patch was submitted by
Avi Kivity <[EMAIL PROTECTED]> and re-diffed by me.

Greg, please apply.

Signed-off-by: Avi Kivity <[EMAIL PROTECTED]>
Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]>

--
Phil Dibowitz                             [EMAIL PROTECTED]
Freeware and Technical Pages              Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
 - Benjamin Franklin, 1759


diff -puN drivers/usb/storage/unusual_devs.h~unusual_ipod drivers/usb/storage/unusual_devs.h
--- linux-2.6.10-rc1/drivers/usb/storage/unusual_devs.h~unusual_ipod	2004-11-11 00:24:52.000000000 -0800
+++ linux-2.6.10-rc1-phil/drivers/usb/storage/unusual_devs.h	2004-11-11 00:24:52.000000000 -0800
@@ -447,6 +447,13 @@ UNUSUAL_DEV(  0x05ab, 0x5701, 0x0100, 0x
 		0 ),
 #endif
 
+/* Reported by Avi Kivity <[EMAIL PROTECTED]> */
+UNUSUAL_DEV( 0x05ac, 0x1203, 0x0001, 0x0001,
+		"Apple",
+		"iPod",
+		US_SC_DEVICE, US_PR_DEVICE, NULL,
+		US_FL_FIX_CAPACITY ),
+
 #ifdef CONFIG_USB_STORAGE_JUMPSHOT
 UNUSUAL_DEV(  0x05dc, 0x0001, 0x0000, 0x0001,
 		"Lexar",
_

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to