From: khali@linux-fr.org (Jean Delvare) Date: Sun, 24 Jul 2005 16:46:06 +0000 Subject: [lm-sensors] [CALL FOR TESTERS] i2c-nforce2 support for MCP04 Message-Id: <20050724164602.1bcb9103.khali@linux-fr.org> List-Id: References: <42E24D97.3080104@gmx.net> In-Reply-To: <42E24D97.3080104@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lm-sensors@vger.kernel.org Hi Hans, > is there anybody on the list who has an nForce4 SLI intel edition or a > prototype of the mainboard with the upcoming nVidia CK8-04u/MCP51 > chipset? I do not, sorry. > Can you please apply the attached patch and check whether > i2c-nforce2 finds the 2 SMBusses. The output of i2cdetect would be > appreciated as an indication that the module not only finds the > busses, but also has the minimum functionality. The patch is against > 2.6.13-rc3-mm1 with the cleanup patch included that I have sent to the > list today. It also applies to vanilla 2.6.13-rc3-mm1, but with some > offset. But I'd have a comment about the patch: > +/* temporarily needed! */ > +#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SMBUS > +#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP04_SMBUS 0x0034 > +#endif > +#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SMBUS > +#define PCI_DEVICE_ID_NVIDIA_NFORCE_MCP51_SMBUS 0x0264 > +#endif Such constructs are dangerous and should be avoided. These definitions belong to include/linux/pci_ids.h, please add them there. Thanks, -- Jean Delvare