mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-30 13:00:30 +00:00
Define driver ID if i2c-id.h doesn't have it yet.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2298 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b195e03968
commit
c74c4df722
5 files changed
+20
No files matched your search
@@ -47,6 +47,10 @@
|
||||
#include "sensors_vid.h"
|
||||
#include "lm75.h"
|
||||
|
||||
#ifndef I2C_DRIVERID_ASB100
|
||||
#define I2C_DRIVERID_ASB100 1043
|
||||
#endif
|
||||
|
||||
/* I2C addresses to scan */
|
||||
static unsigned short normal_i2c[] = { SENSORS_I2C_END };
|
||||
static unsigned short normal_i2c_range[] = { 0x28, 0x2f, SENSORS_I2C_END };
|
||||
|
||||
@@ -33,6 +33,10 @@
|
||||
#include <linux/init.h>
|
||||
#include "version.h"
|
||||
|
||||
#ifndef I2C_DRIVERID_FSCHER
|
||||
#define I2C_DRIVERID_FSCHER 1046
|
||||
#endif
|
||||
|
||||
/* Addresses to scan */
|
||||
static unsigned short normal_i2c[] = { 0x73, SENSORS_I2C_END };
|
||||
static unsigned short normal_i2c_range[] = { SENSORS_I2C_END };
|
||||
|
||||
@@ -42,6 +42,10 @@
|
||||
#include <linux/init.h>
|
||||
#include "version.h"
|
||||
|
||||
#ifndef I2C_DRIVERID_LM90
|
||||
#define I2C_DRIVERID_LM90 1042
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Addresses to scan
|
||||
* Address is fully defined internally and cannot be changed.
|
||||
|
||||
@@ -37,6 +37,10 @@
|
||||
#include <linux/init.h>
|
||||
#include "version.h"
|
||||
|
||||
#ifndef I2C_DRIVERID_MAX6650
|
||||
#define I2C_DRIVERID_MAX6650 1044
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Addresses to scan. There are four disjoint possibilities, by pin config.
|
||||
*/
|
||||
|
||||
@@ -31,6 +31,10 @@
|
||||
#include <linux/init.h>
|
||||
#include "version.h"
|
||||
|
||||
#ifndef I2C_DRIVERID_W83L785TS
|
||||
#define I2C_DRIVERID_W83L785TS 1043
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Address to scan
|
||||
* Address is fully defined internally and cannot be changed.
|
||||
|
||||
Reference in new issue
Block a user