Add support for the nForce4. Patch from Hans-Frieder Vogt.

git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2909 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-02-17 21:40:14 +00:00
1 parent bf42775541
commit 5ee1b793e7
1 file changed
+9 -2
+9 -2
View File
@@ -27,9 +27,10 @@
nForce2 Ultra 400 MCP 0084
nForce3 Pro150 MCP 00D4
nForce3 250Gb MCP 00E4
nForce4 MCP 0052
This driver supports the 2 SMBuses that are included in the MCP2 of the
nForce2 chipset.
This driver supports the 2 SMBuses that are included in the MCP of the
nForce2/3/4 chipsets.
*/
/* Note: we assume there can only be one nForce2, with two SMBus interfaces */
@@ -68,6 +69,10 @@ MODULE_DESCRIPTION("nForce2 SMBus driver");
#define PCI_DEVICE_ID_NVIDIA_NFORCE3S_SMBUS 0x00E4
#endif
#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE4_SMBUS
#define PCI_DEVICE_ID_NVIDIA_NFORCE4_SMBUS 0x0052
#endif
struct nforce2_smbus {
struct pci_dev *dev;
@@ -323,6 +328,8 @@ static struct pci_device_id nforce2_ids[] = {
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3S_SMBUS,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE4_SMBUS,
PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 },
{ 0 }
};