From 504b590beeaf8a68c1b91f10cd033db9522e80d6 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Tue, 16 Nov 2004 18:58:26 +0000 Subject: [PATCH] Add nForce3 support. Patch by Thomas Leibold. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2759 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-nforce2.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/kernel/busses/i2c-nforce2.c b/kernel/busses/i2c-nforce2.c index d6c9fc21..5027c42f 100644 --- a/kernel/busses/i2c-nforce2.c +++ b/kernel/busses/i2c-nforce2.c @@ -24,6 +24,7 @@ /* SUPPORTED DEVICES PCI ID nForce2 MCP 0064 + nForce3 Pro150 MCP 00D4 This driver supports the 2 SMBuses that are included in the MCP2 of the nForce2 chipset. @@ -57,6 +58,10 @@ MODULE_DESCRIPTION("nForce2 SMBus driver"); #define PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS 0x0064 #endif +#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS +#define PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS 0x00D4 +#endif + struct nforce2_smbus { struct pci_dev *dev; @@ -293,6 +298,8 @@ u32 nforce2_func(struct i2c_adapter *adapter) static struct pci_device_id nforce2_ids[] = { { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, + { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } };