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
This commit is contained in:
Mark D. Studebaker committed 2002-08-22 01:18:57 +00:00
1 parent 48830b18a7
commit 1803608878
2 files changed
+5 -11

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ ask CVS about it:
Program mkpatch: Add Config.in entries for, lm92,
pcf8574, pcf8591, smsc47m1, vt1211;
add dmi_scan
Program p4b_smbus: Fix compile for SMP and MODVERSIONS
Program p4b_smbus: Fix compile for SMP and MODVERSIONS; fix PCI ID problem
Program sensord: Add /usr/local/etc to config file path;
add support for logging loadavg in RRD;
fix down-converting raw labels for RRD;
+4 -10
View File
@@ -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;