From dcf611d1c7da76144cac1820f734f3cb5d980c34 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Sat, 7 Jan 2006 17:26:14 +0000 Subject: [PATCH] One more supported PCI ID for the i2c-nforce2 driver. This is a backport from Linux 2.6. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3223 7894878c-1315-0410-8ee3-d5d059ff63e0 --- doc/busses/i2c-nforce2 | 1 + kernel/busses/i2c-nforce2.c | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/doc/busses/i2c-nforce2 b/doc/busses/i2c-nforce2 index 61dc72cf..6884ea53 100644 --- a/doc/busses/i2c-nforce2 +++ b/doc/busses/i2c-nforce2 @@ -17,6 +17,7 @@ Supported adapters: * nVidia nForce4 SMBus PCI interface (10de:0052, included in nForce4 MCP) + (10de:0034, included in nForce4 MCP-04) Datasheet: same as for nForce2 SMBus PCI interface Author: Hans-Frieder Vogt diff --git a/kernel/busses/i2c-nforce2.c b/kernel/busses/i2c-nforce2.c index 553d95d9..7135bb47 100644 --- a/kernel/busses/i2c-nforce2.c +++ b/kernel/busses/i2c-nforce2.c @@ -28,6 +28,7 @@ nForce3 Pro150 MCP 00D4 nForce3 250Gb MCP 00E4 nForce4 MCP 0052 + nForce4 MCP-04 0034 This driver supports the 2 SMBuses that are included in the MCP of the nForce2/3/4 chipsets. @@ -73,6 +74,10 @@ MODULE_DESCRIPTION("nForce2 SMBus driver"); #define PCI_DEVICE_ID_NVIDIA_NFORCE4_SMBUS 0x0052 #endif +#ifndef PCI_DEVICE_ID_NVIDIA_NFORCE_MPC04_SMBUS +#define PCI_DEVICE_ID_NVIDIA_NFORCE_MPC04_SMBUS 0x0034 +#endif + struct nforce2_smbus { struct pci_dev *dev; @@ -296,6 +301,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_NFORCE4_SMBUS, PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, + { PCI_VENDOR_ID_NVIDIA, PCI_DEVICE_ID_NVIDIA_NFORCE_MPC04_SMBUS, + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0 }, { 0 } };