diff for duplicates of <20050809231328.0726537b.khali@linux-fr.org> diff --git a/a/1.txt b/N1/1.txt index 2714a91..3384f41 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -67,7 +67,7 @@ Thanks. + outb_p(((addr & 0x7f) << 1) | (read_write & 0x01), + SMBHSTADD); + outb_p(command, SMBHSTCMD); -+ if (read_write = I2C_SMBUS_WRITE) { ++ if (read_write == I2C_SMBUS_WRITE) { + dev_warn(&vt596_adapter.dev, + "I2C block write not supported!\n"); + return -1; @@ -111,10 +111,10 @@ Thanks. vt596_pdev = NULL; } -+ if (pdev->device = PCI_DEVICE_ID_VIA_8235 -+ || pdev->device = PCI_DEVICE_ID_VIA_8237) { ++ if (pdev->device == PCI_DEVICE_ID_VIA_8235 ++ || pdev->device == PCI_DEVICE_ID_VIA_8237) { + vt596_features |= FEATURE_I2CBLOCK; -+ } else if (pdev->device = PCI_DEVICE_ID_VIA_82C686_4) { ++ } else if (pdev->device == PCI_DEVICE_ID_VIA_82C686_4) { + u8 rev; + + /* VT82C686B (rev 0x40) does support I2C block mode, but diff --git a/a/content_digest b/N1/content_digest index 09e0ea3..265029e 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,6 +1,6 @@ - "From\0khali@linux-fr.org (Jean Delvare)\0" - "Subject\0[lm-sensors] I2C block reads with i2c-viapro: testers wanted\0" - "Date\0Tue, 09 Aug 2005 23:13:46 +0000\0" + "From\0Jean Delvare <khali@linux-fr.org>\0" + "Subject\0I2C block reads with i2c-viapro: testers wanted\0" + "Date\0Tue, 9 Aug 2005 23:13:28 +0200\0" "To\0LM Sensors <lm-sensors@lm-sensors.org>" " LKML <linux-kernel@vger.kernel.org>\0" "\00:1\0" @@ -74,7 +74,7 @@ "+\t\toutb_p(((addr & 0x7f) << 1) | (read_write & 0x01),\n" "+\t\t SMBHSTADD);\n" "+\t\toutb_p(command, SMBHSTCMD);\n" - "+\t\tif (read_write = I2C_SMBUS_WRITE) {\n" + "+\t\tif (read_write == I2C_SMBUS_WRITE) {\n" "+\t\t\tdev_warn(&vt596_adapter.dev,\n" "+\t\t\t\t \"I2C block write not supported!\\n\");\n" "+\t\t\treturn -1;\n" @@ -118,10 +118,10 @@ " \t\tvt596_pdev = NULL;\n" " \t}\n" " \n" - "+\tif (pdev->device = PCI_DEVICE_ID_VIA_8235\n" - "+\t || pdev->device = PCI_DEVICE_ID_VIA_8237) {\n" + "+\tif (pdev->device == PCI_DEVICE_ID_VIA_8235\n" + "+\t || pdev->device == PCI_DEVICE_ID_VIA_8237) {\n" "+\t\tvt596_features |= FEATURE_I2CBLOCK;\n" - "+\t} else if (pdev->device = PCI_DEVICE_ID_VIA_82C686_4) {\n" + "+\t} else if (pdev->device == PCI_DEVICE_ID_VIA_82C686_4) {\n" "+\t\tu8 rev;\n" "+\n" "+\t\t/* VT82C686B (rev 0x40) does support I2C block mode, but\n" @@ -139,4 +139,4 @@ "-- \n" Jean Delvare -26bd371018f72ebe6c637f1825e7c6d0f85ed329223490f43050b4273868eb4c +17592540b31e8fa99ed4ddc71f93ac826782239f41f458c0a83cd2cc32e7ca63
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.