diff for duplicates of <20041212225853.4126ae40.khali@linux-fr.org> diff --git a/a/1.txt b/N1/1.txt index 48a538e..3fab1ff 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -52,9 +52,9 @@ Thanks. @@ -386,8 +389,17 @@ } } else - if (man_id = 0x4D) { /* Maxim */ -- if (address = 0x4C -- && (reg_config1 & 0x1F) = 0 + if (man_id == 0x4D) { /* Maxim */ +- if (address == 0x4C +- && (reg_config1 & 0x1F) == 0 + /* + * The Maxim variants do NOT have a chip_id register. + * Reading from that address will return the last read @@ -64,8 +64,8 @@ Thanks. + * previous read, so in our case those of the man_id + * register. + */ -+ if (chip_id = man_id -+ && (reg_config1 & 0x1F) = (man_id & 0x0F) ++ if (chip_id == man_id ++ && (reg_config1 & 0x1F) == (man_id & 0x0F) && reg_convrate <= 0x09) { kind = max6657; } diff --git a/a/content_digest b/N1/content_digest index a4e24f7..44b824f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ - "From\0khali@linux-fr.org (Jean Delvare)\0" + "From\0Jean Delvare <khali@linux-fr.org>\0" "Subject\0lm90 driver testers wanted (MAX6657/8/9)\0" - "Date\0Thu, 19 May 2005 06:25:26 +0000\0" + "Date\0Sun, 12 Dec 2004 22:58:53 +0100\0" "To\0LM Sensors <sensors@stimpy.netroedge.com>" " LKML <linux-kernel@vger.kernel.org>\0" "\00:1\0" @@ -59,9 +59,9 @@ "@@ -386,8 +389,17 @@\n" " \t\t\t}\n" " \t\t} else\n" - " \t\tif (man_id = 0x4D) { /* Maxim */\n" - "-\t\t\tif (address = 0x4C\n" - "-\t\t\t && (reg_config1 & 0x1F) = 0\n" + " \t\tif (man_id == 0x4D) { /* Maxim */\n" + "-\t\t\tif (address == 0x4C\n" + "-\t\t\t && (reg_config1 & 0x1F) == 0\n" "+\t\t\t/*\n" "+\t\t\t * The Maxim variants do NOT have a chip_id register.\n" "+\t\t\t * Reading from that address will return the last read\n" @@ -71,8 +71,8 @@ "+\t\t\t * previous read, so in our case those of the man_id\n" "+\t\t\t * register.\n" "+\t\t\t */\n" - "+\t\t\tif (chip_id = man_id\n" - "+\t\t\t && (reg_config1 & 0x1F) = (man_id & 0x0F)\n" + "+\t\t\tif (chip_id == man_id\n" + "+\t\t\t && (reg_config1 & 0x1F) == (man_id & 0x0F)\n" " \t\t\t && reg_convrate <= 0x09) {\n" " \t\t\t \tkind = max6657;\n" " \t\t\t}\n" @@ -82,4 +82,4 @@ "Jean Delvare\n" http://khali.linux-fr.org/ -7516f88d3aadc2330f82b386edad538c0ba16d663208b1ca85c29bdbc737f545 +0bf01b5139b2797fca22c6a579f28d40d1426cebf6277d99f1487a9ddb124f89
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.