From 5ee1b793e73012b327f93039abc4d14bc5292a6f Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Thu, 17 Feb 2005 21:40:14 +0000 Subject: [PATCH] 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 --- kernel/busses/i2c-nforce2.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/kernel/busses/i2c-nforce2.c b/kernel/busses/i2c-nforce2.c index 007c4bfd..e705971a 100644 --- a/kernel/busses/i2c-nforce2.c +++ b/kernel/busses/i2c-nforce2.c @@ -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 } };