summaryrefslogtreecommitdiff
path: root/prog/hotplug
diff options
context:
space:
mode:
authorMark D. Studebaker <mdsxyz123@yahoo.com>2002-08-22 01:18:57 +0000
committerMark D. Studebaker <mdsxyz123@yahoo.com>2002-08-22 01:18:57 +0000
commit180360887889a33c0a5d449818491480efffbf9c (patch)
treebcfd0d2f8ccbdee8b6ae5d690cb9f3eb9e8baa5f /prog/hotplug
parent48830b18a7f4f5d2b184972c6e307dd86550edba (diff)
downloadlm-sensors-git-180360887889a33c0a5d449818491480efffbf9c.tar.gz
fix hosed PCI ID's for ICH2 and ICH4. Now it should work.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1500 7894878c-1315-0410-8ee3-d5d059ff63e0
Diffstat (limited to 'prog/hotplug')
-rw-r--r--prog/hotplug/p4b_smbus.c14
1 files changed, 4 insertions, 10 deletions
diff --git a/prog/hotplug/p4b_smbus.c b/prog/hotplug/p4b_smbus.c
index e8d8955f..4ab358ff 100644
--- a/prog/hotplug/p4b_smbus.c
+++ b/prog/hotplug/p4b_smbus.c
@@ -86,17 +86,11 @@ rmm from lm_sensors-2.3.3:
* some shorter definitions for the ICHx PCI device IDs
*/
-#define ICH2 PCI_DEVICE_ID_INTEL_82801BA_0
-#define ICH2_SMBUS PCI_DEVICE_ID_INTEL_82801BA_3
+#define ICH4 0x2440
+#define ICH2_SMBUS 0x2443
-
-#ifndef PCI_DEVICE_ID_INTEL_82801DB_0
-#define PCI_DEVICE_ID_INTEL_82801DB_0 0x24c0
-#define PCI_DEVICE_ID_INTEL_82801DB_3 0x24c3
-#endif
-
-#define ICH4 PCI_DEVICE_ID_INTEL_82801DB_0
-#define ICH4_SMBUS PCI_DEVICE_ID_INTEL_82801DB_3
+#define ICH4 0x24c0
+#define ICH4_SMBUS 0x24c3
/* status, used to indicate that io space needs to be freed */
static struct pci_dev *i801smbus = NULL;