Added missing device IDs, required for compiling with Linux kernel

2.4.18 and previous (VIA_8233A and INTEL_82801DB_3).


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@1773 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2003-06-08 17:21:54 +00:00
1 parent 1755e4adc0
commit c4666742ca
2 files changed
+10

No files matched your search

+5
View File
@@ -51,6 +51,11 @@
#include "version.h"
#include "sensors_compat.h"
/* 82801DB is undefined before kernel 2.4.19 */
#ifndef PCI_DEVICE_ID_INTEL_82801DB_3
#define PCI_DEVICE_ID_INTEL_82801DB_3 0x24c3
#endif
#ifdef I2C_FUNC_SMBUS_BLOCK_DATA_PEC
#define HAVE_PEC
#endif
+5
View File
@@ -399,6 +399,11 @@ static void __devexit vt596_remove(struct pci_dev *pdev)
release_region(vt596_smba, 8);
}
/* 8233A is undefined before kernel 2.4.19 */
#ifndef PCI_DEVICE_ID_VIA_8233A
#define PCI_DEVICE_ID_VIA_8233A 0x3147
#endif
/* 8235 is undefined before kernel 2.4.20 */
#ifndef PCI_DEVICE_ID_VIA_8235
#define PCI_DEVICE_ID_VIA_8235 0x3177
#endif