2004-06-04 21:38:58

by Glen Nakamura

[permalink] [raw]
Subject: [PATCH] Fix comment typo in nForce2 C1halt fixup for 2.4.27-pre5

Aloha,

The comment for the nForce2 C1halt fixup doesn't match the code
and information posted by Allen Martin:
http://marc.theaimsgroup.com/?l=linux-kernel&m=108362246902784&w=2

- Glen Nakamura

Here is the patch:

diff -Nru3p linux-2.4.27-pre5.orig/arch/i386/kernel/pci-pc.c linux-2.4.27-pre5/arch/i386/kernel/pci-pc.c
--- linux-2.4.27-pre5.orig/arch/i386/kernel/pci-pc.c 2004-06-02 15:33:55.000000000 -1000
+++ linux-2.4.27-pre5/arch/i386/kernel/pci-pc.c 2004-06-02 15:33:55.000000000 -1000
@@ -1349,8 +1349,8 @@ static void __devinit pci_fixup_nforce2(

/*
* Chip Old value New value
- * C17 0x1F01FF01 0x1F0FFF01
- * C18D 0x9F01FF01 0x9F0FFF01
+ * C17 0x1F0FFF01 0x1F01FF01
+ * C18D 0x9F0FFF01 0x9F01FF01
*/
fixed_val = rev < 0xC1 ? 0x1F01FF01 : 0x9F01FF01;