From d6666e1b7281e4c2820ee0636f10d998d131ef7a Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Mon, 29 Nov 2004 20:39:25 +0000 Subject: [PATCH] Support the nForce2 Ultra 400. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2780 7894878c-1315-0410-8ee3-d5d059ff63e0 --- kernel/busses/i2c-nforce2.c | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/kernel/busses/i2c-nforce2.c b/kernel/busses/i2c-nforce2.c index 40b12a10..adc916c9 100644 --- a/kernel/busses/i2c-nforce2.c +++ b/kernel/busses/i2c-nforce2.c @@ -22,9 +22,10 @@ */ /* - SUPPORTED DEVICES PCI ID - nForce2 MCP 0064 - nForce3 Pro150 MCP 00D4 + SUPPORTED DEVICES PCI ID + nForce2 MCP 0064 + nForce2 Ultra 400 MCP 0084 + nForce3 Pro150 MCP 00D4 This driver supports the 2 SMBuses that are included in the MCP2 of the nForce2 chipset. @@ -55,11 +56,15 @@ MODULE_AUTHOR ("Hans-Frieder Vogt "); MODULE_DESCRIPTION("nForce2 SMBus driver"); #ifndef PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS -#define PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS 0x0064 +#define PCI_DEVICE_ID_NVIDIA_NFORCE2_SMBUS 0x0064 +#endif + +#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE2S_SMBUS +#define PCI_DEVICE_ID_NVIDIA_NFORCE2S_SMBUS 0x0084 #endif #ifndef PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS -#define PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS 0x00D4 +#define PCI_DEVICE_ID_NVIDIA_NFORCE3_SMBUS 0x00D4 #endif @@ -311,6 +316,8 @@ static void nforce2_dec(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_NFORCE2S_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 }