Changeset 1500

Show
Ignore:
Timestamp:
08/22/02 03:18:57 (11 years ago)
Author:
mds
Message:

fix hosed PCI ID's for ICH2 and ICH4. Now it should work.

Location:
lm-sensors/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lm-sensors/trunk/CHANGES

    r1497 r1500  
    3434                   pcf8574, pcf8591, smsc47m1, vt1211; 
    3535                   add dmi_scan 
    36   Program p4b_smbus: Fix compile for SMP and MODVERSIONS 
     36  Program p4b_smbus: Fix compile for SMP and MODVERSIONS; fix PCI ID problem 
    3737  Program sensord: Add /usr/local/etc to config file path; 
    3838                   add support for logging loadavg in RRD; 
  • lm-sensors/trunk/prog/hotplug/p4b_smbus.c

    r1489 r1500  
    8787 */ 
    8888 
    89 #define ICH2 PCI_DEVICE_ID_INTEL_82801BA_0 
    90 #define ICH2_SMBUS PCI_DEVICE_ID_INTEL_82801BA_3 
    91  
    92  
    93 #ifndef PCI_DEVICE_ID_INTEL_82801DB_0 
    94 #define PCI_DEVICE_ID_INTEL_82801DB_0 0x24c0 
    95 #define PCI_DEVICE_ID_INTEL_82801DB_3 0x24c3 
    96 #endif 
    97  
    98 #define ICH4 PCI_DEVICE_ID_INTEL_82801DB_0 
    99 #define ICH4_SMBUS PCI_DEVICE_ID_INTEL_82801DB_3 
     89#define ICH4 0x2440 
     90#define ICH2_SMBUS 0x2443 
     91 
     92#define ICH4 0x24c0 
     93#define ICH4_SMBUS 0x24c3 
    10094 
    10195/* status, used to indicate that io space needs to be freed */