patch-2.2.0-pre2 linux/include/asm-ppc/ide.h

Next file: linux/include/asm-ppc/init.h
Previous file: linux/include/asm-ppc/checksum.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.2.0-pre1/linux/include/asm-ppc/ide.h linux/include/asm-ppc/ide.h
@@ -200,14 +200,54 @@
 		id->word79         = __le16_to_cpu(id->word79);
 		id->word80         = __le16_to_cpu(id->word80);
 		id->word81         = __le16_to_cpu(id->word81);
-		id->word82         = __le16_to_cpu(id->word82);
+		id->command_sets   = __le16_to_cpu(id->command_sets);
 		id->word83         = __le16_to_cpu(id->word83);
 		id->word84         = __le16_to_cpu(id->word84);
 		id->word85         = __le16_to_cpu(id->word85);
 		id->word86         = __le16_to_cpu(id->word86);
 		id->word87         = __le16_to_cpu(id->word87);
 		id->dma_ultra      = __le16_to_cpu(id->dma_ultra);
-		for (i=0; i<167; i++)
+		id->word89         = __le16_to_cpu(id->word89);
+		id->word90         = __le16_to_cpu(id->word90);
+		id->word91         = __le16_to_cpu(id->word91);
+		id->word92         = __le16_to_cpu(id->word92);
+		id->word93         = __le16_to_cpu(id->word93);
+		id->word94         = __le16_to_cpu(id->word94);
+		id->word95         = __le16_to_cpu(id->word95);
+		id->word96         = __le16_to_cpu(id->word96);
+		id->word97         = __le16_to_cpu(id->word97);
+		id->word98         = __le16_to_cpu(id->word98);
+		id->word99         = __le16_to_cpu(id->word99);
+		id->word100        = __le16_to_cpu(id->word100);
+		id->word101        = __le16_to_cpu(id->word101);
+		id->word102        = __le16_to_cpu(id->word102);
+		id->word103        = __le16_to_cpu(id->word103);
+		id->word104        = __le16_to_cpu(id->word104);
+		id->word105        = __le16_to_cpu(id->word105);
+		id->word106        = __le16_to_cpu(id->word106);
+		id->word107        = __le16_to_cpu(id->word107);
+		id->word108        = __le16_to_cpu(id->word108);
+		id->word109        = __le16_to_cpu(id->word109);
+		id->word110        = __le16_to_cpu(id->word110);
+		id->word111        = __le16_to_cpu(id->word111);
+		id->word112        = __le16_to_cpu(id->word112);
+		id->word113        = __le16_to_cpu(id->word113);
+		id->word114        = __le16_to_cpu(id->word114);
+		id->word115        = __le16_to_cpu(id->word115);
+		id->word116        = __le16_to_cpu(id->word116);
+		id->word117        = __le16_to_cpu(id->word117);
+		id->word118        = __le16_to_cpu(id->word118);
+		id->word119        = __le16_to_cpu(id->word119);
+		id->word120        = __le16_to_cpu(id->word120);
+		id->word121        = __le16_to_cpu(id->word121);
+		id->word122        = __le16_to_cpu(id->word122);
+		id->word123        = __le16_to_cpu(id->word123);
+		id->word124        = __le16_to_cpu(id->word124);
+		id->word125        = __le16_to_cpu(id->word125);
+		id->word126        = __le16_to_cpu(id->word126);
+		id->word127        = __le16_to_cpu(id->word127);
+		id->security       = __le16_to_cpu(id->security);
+		for (i=0; i<127; i++)
 			id->reserved[i] = __le16_to_cpu(id->reserved[i]);
 	}
 }

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov