patch-2.3.40 linux/arch/ppc/kernel/setup.c

Next file: linux/arch/ppc/kernel/smp.c
Previous file: linux/arch/ppc/kernel/process.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.39/linux/arch/ppc/kernel/setup.c linux/arch/ppc/kernel/setup.c
@@ -716,25 +716,25 @@
 	id->word72         = __le16_to_cpu(id->word72);
 	id->word73         = __le16_to_cpu(id->word73);
 	id->word74         = __le16_to_cpu(id->word74);
-	id->word75         = __le16_to_cpu(id->word75);
+	id->queue_depth	   = __le16_to_cpu(id->queue_depth);
 	id->word76         = __le16_to_cpu(id->word76);
 	id->word77         = __le16_to_cpu(id->word77);
 	id->word78         = __le16_to_cpu(id->word78);
 	id->word79         = __le16_to_cpu(id->word79);
-	id->word80         = __le16_to_cpu(id->word80);
-	id->word81         = __le16_to_cpu(id->word81);
-	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->major_rev_num  = __le16_to_cpu(id->major_rev_num);
+	id->minor_rev_num  = __le16_to_cpu(id->minor_rev_num);
+	id->command_set_1  = __le16_to_cpu(id->command_set_1);
+	id->command_set_2  = __le16_to_cpu(id->command_set_2);
+	id->cfsse          = __le16_to_cpu(id->cfsse);
+	id->cfs_enable_1   = __le16_to_cpu(id->cfs_enable_1);
+	id->cfs_enable_2   = __le16_to_cpu(id->cfs_enable_2);
+	id->csf_default    = __le16_to_cpu(id->csf_default);
 	id->dma_ultra      = __le16_to_cpu(id->dma_ultra);
 	id->word89         = __le16_to_cpu(id->word89);
 	id->word90         = __le16_to_cpu(id->word90);
-	id->word91         = __le16_to_cpu(id->word91);
+	id->CurAPMvalues   = __le16_to_cpu(id->CurAPMvalues);
 	id->word92         = __le16_to_cpu(id->word92);
-	id->word93         = __le16_to_cpu(id->word93);
+	id->hw_config      = __le16_to_cpu(id->hw_config);
 	id->word94         = __le16_to_cpu(id->word94);
 	id->word95         = __le16_to_cpu(id->word95);
 	id->word96         = __le16_to_cpu(id->word96);
@@ -769,7 +769,6 @@
 	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 (who was at: slshen@lbl.gov)