diff for duplicates of <45F92D99.1020007@boichat.ch> diff --git a/a/1.txt b/N1/1.txt index d19f471..83b0ce2 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -33,7 +33,7 @@ Nicolas Intel Core Duo/Solo Temperature Monitoring driver. -Author: Rudolf Marek <r.marek at assembler.cz> +Author: Rudolf Marek <r.marek@assembler.cz> --- Documentation/hwmon/coretemp | 37 ++++ @@ -52,7 +52,7 @@ index 0000000..ba02dee +++ b/Documentation/hwmon/coretemp @@ -0,0 +1,37 @@ +Kernel driver coretemp -+=========== ++====================== + +Supported chips: + * All Intel Core family @@ -62,7 +62,7 @@ index 0000000..ba02dee + Volume 3A: System Programming Guide + +Author: Rudolf Marek -+Contact: Rudolf Marek <r.marek at assembler.cz> ++Contact: Rudolf Marek <r.marek@assembler.cz> + +Description +----------- @@ -237,7 +237,7 @@ index 0000000..f139b41 +/* + * coretemp.c - Linux kernel module for hardware monitoring + * -+ * Copyright (C) 2006 Rudolf Marek <r.marek at assembler.cz> ++ * Copyright (C) 2006 Rudolf Marek <r.marek@assembler.cz> + * + * Inspired from many hwmon drivers + * @@ -309,7 +309,7 @@ index 0000000..f139b41 + struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); + struct coretemp_data *data = dev_get_drvdata(dev); + -+ if (attr->index = SHOW_NAME) ++ if (attr->index == SHOW_NAME) + ret = sprintf(buf, "%s\n", data->name); + else /* show label */ + ret = sprintf(buf, "Core %d\n", data->id); @@ -330,7 +330,7 @@ index 0000000..f139b41 + struct sensor_device_attribute *attr = to_sensor_dev_attr(devattr); + struct coretemp_data *data = coretemp_update_device(dev); + return sprintf(buf, "%d\n", -+ attr->index = ++ attr->index == + SHOW_TEMP ? data->temp : data->tjmax); +} + @@ -403,8 +403,8 @@ index 0000000..f139b41 + /* Some processors have Tjmax 85 following magic should detect it */ + /* family is always 0x6 */ + -+ if (((c->x86_model = 0xf) && (c->x86_mask > 3 )) || -+ (c->x86_model = 0xe)) { ++ if (((c->x86_model == 0xf) && (c->x86_mask > 3 )) || ++ (c->x86_model == 0xe)) { + + err = msr_read(data->id, 0xee, &eax, &edx); + if (err) { @@ -527,7 +527,7 @@ index 0000000..f139b41 + struct pdev_entry *p, *n; + mutex_lock(&pdev_list_mutex); + list_for_each_entry_safe(p, n, &pdev_list, list) { -+ if (p->cpu = cpu) { ++ if (p->cpu == cpu) { + platform_device_unregister(p->pdev); + list_del(&p->list); + kfree(p); @@ -574,13 +574,13 @@ index 0000000..f139b41 + + /* check if family 6, models e, f */ + if ((c->cpuid_level < 0) || (c->x86 != 0x6) || -+ !((c->x86_model = 0xe) || (c->x86_model = 0xf))) { ++ !((c->x86_model == 0xe) || (c->x86_model == 0xf))) { + + /* supported CPU not found, but report the unknown + family 6 CPU */ -+ if ((c->x86 = 0x6) && (c->x86_model > 0xf)) ++ if ((c->x86 == 0x6) && (c->x86_model > 0xf)) + printk(KERN_WARNING DRVNAME ": Unknown CPU, please" -+ " report to the lm-sensors at lm-sensors.org\n"); ++ " report to the lm-sensors@lm-sensors.org\n"); + continue; + } + @@ -628,7 +628,7 @@ index 0000000..f139b41 + platform_driver_unregister(&coretemp_driver); +} + -+MODULE_AUTHOR("Rudolf Marek <r.marek at assembler.cz>"); ++MODULE_AUTHOR("Rudolf Marek <r.marek@assembler.cz>"); +MODULE_DESCRIPTION("Intel Core temperature monitor"); +MODULE_LICENSE("GPL"); + diff --git a/a/content_digest b/N1/content_digest index 2a7d029..c2cde8f 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\0Pine.LNX.4.64.0703100707320.3807@p34.internal.lan\0" - "From\0nicolas@boichat.ch (Nicolas Boichat)\0" - "Subject\0[lm-sensors] Intel Core Duo/Solo Temperature Monitoring Working\0" - "Date\0Thu, 15 Mar 2007 11:27:21 +0000\0" + "From\0Nicolas Boichat <nicolas@boichat.ch>\0" + "Subject\0Re: Intel Core Duo/Solo Temperature Monitoring Working On Intel DG965 Motherboard\0" + "Date\0Thu, 15 Mar 2007 19:27:21 +0800\0" "To\0Justin Piszcz <jpiszcz@lucidpixels.com>\0" "Cc\0linux-kernel@vger.kernel.org" debian-user@lists.debian.org @@ -44,7 +44,7 @@ "\n" "Intel Core Duo/Solo Temperature Monitoring driver.\n" "\n" - "Author: Rudolf Marek <r.marek at assembler.cz>\n" + "Author: Rudolf Marek <r.marek@assembler.cz>\n" "---\n" "\n" " Documentation/hwmon/coretemp | 37 ++++\n" @@ -63,7 +63,7 @@ "+++ b/Documentation/hwmon/coretemp\n" "@@ -0,0 +1,37 @@\n" "+Kernel driver coretemp\n" - "+===========\n" + "+======================\n" "+\n" "+Supported chips:\n" "+ * All Intel Core family\n" @@ -73,7 +73,7 @@ "+ Volume 3A: System Programming Guide\n" "+\n" "+Author: Rudolf Marek\n" - "+Contact: Rudolf Marek <r.marek at assembler.cz>\n" + "+Contact: Rudolf Marek <r.marek@assembler.cz>\n" "+\n" "+Description\n" "+-----------\n" @@ -248,7 +248,7 @@ "+/*\n" "+ * coretemp.c - Linux kernel module for hardware monitoring\n" "+ *\n" - "+ * Copyright (C) 2006 Rudolf Marek <r.marek at assembler.cz>\n" + "+ * Copyright (C) 2006 Rudolf Marek <r.marek@assembler.cz>\n" "+ *\n" "+ * Inspired from many hwmon drivers\n" "+ *\n" @@ -320,7 +320,7 @@ "+\tstruct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);\n" "+\tstruct coretemp_data *data = dev_get_drvdata(dev);\n" "+\n" - "+\tif (attr->index = SHOW_NAME)\n" + "+\tif (attr->index == SHOW_NAME)\n" "+\t\tret = sprintf(buf, \"%s\\n\", data->name);\n" "+\telse\t/* show label */\n" "+\t\tret = sprintf(buf, \"Core %d\\n\", data->id);\n" @@ -341,7 +341,7 @@ "+\tstruct sensor_device_attribute *attr = to_sensor_dev_attr(devattr);\n" "+\tstruct coretemp_data *data = coretemp_update_device(dev);\n" "+\treturn sprintf(buf, \"%d\\n\",\n" - "+\t\t attr->index =\n" + "+\t\t attr->index ==\n" "+\t\t SHOW_TEMP ? data->temp : data->tjmax);\n" "+}\n" "+\n" @@ -414,8 +414,8 @@ "+\t/* Some processors have Tjmax 85 following magic should detect it */\n" "+\t/* family is always 0x6 */\n" "+\n" - "+\tif (((c->x86_model = 0xf) && (c->x86_mask > 3 )) ||\n" - "+\t\t(c->x86_model = 0xe)) {\n" + "+\tif (((c->x86_model == 0xf) && (c->x86_mask > 3 )) ||\n" + "+\t\t(c->x86_model == 0xe)) {\n" "+\n" "+\t\terr = msr_read(data->id, 0xee, &eax, &edx);\n" "+\t\tif (err) {\n" @@ -538,7 +538,7 @@ "+\tstruct pdev_entry *p, *n;\n" "+\tmutex_lock(&pdev_list_mutex);\n" "+\tlist_for_each_entry_safe(p, n, &pdev_list, list) {\n" - "+\t\tif (p->cpu = cpu) {\n" + "+\t\tif (p->cpu == cpu) {\n" "+\t\t\tplatform_device_unregister(p->pdev);\n" "+\t\t\tlist_del(&p->list);\n" "+\t\t\tkfree(p);\n" @@ -585,13 +585,13 @@ "+\n" "+\t\t/* check if family 6, models e, f */\n" "+\t\tif ((c->cpuid_level < 0) || (c->x86 != 0x6) ||\n" - "+\t\t !((c->x86_model = 0xe) || (c->x86_model = 0xf))) {\n" + "+\t\t !((c->x86_model == 0xe) || (c->x86_model == 0xf))) {\n" "+\n" "+\t\t\t/* supported CPU not found, but report the unknown\n" "+\t\t\t family 6 CPU */\n" - "+\t\t\tif ((c->x86 = 0x6) && (c->x86_model > 0xf))\n" + "+\t\t\tif ((c->x86 == 0x6) && (c->x86_model > 0xf))\n" "+\t\t\t\tprintk(KERN_WARNING DRVNAME \": Unknown CPU, please\"\n" - "+ \t\t\t \" report to the lm-sensors at lm-sensors.org\\n\");\n" + "+ \t\t\t \" report to the lm-sensors@lm-sensors.org\\n\");\n" "+\t\t\tcontinue;\n" "+\t\t}\n" "+\n" @@ -639,7 +639,7 @@ "+\tplatform_driver_unregister(&coretemp_driver);\n" "+}\n" "+\n" - "+MODULE_AUTHOR(\"Rudolf Marek <r.marek at assembler.cz>\");\n" + "+MODULE_AUTHOR(\"Rudolf Marek <r.marek@assembler.cz>\");\n" "+MODULE_DESCRIPTION(\"Intel Core temperature monitor\");\n" "+MODULE_LICENSE(\"GPL\");\n" "+\n" @@ -674,4 +674,4 @@ " void rdmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 *l, u32 *h);\n" void wrmsr_on_cpu(unsigned int cpu, u32 msr_no, u32 l, u32 h); -272002a229b185bc870d8a0afc76dd1d0d6df3f187bd21a2793e73cd2b89c669 +d74276f10054043259540562573db2c8f2e5bb2dd2943f3ed4615b78dfd532e7
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.