First round of lm_sensors changes for the new I2C tree

* The i2c package can no longer be compiled as part of the lm_sensors tree
* The archive of the i2c package is removed
* smbus, i2c-dev and i2c-proc modules and headers have been removed; they
  are now completely integrated into the i2c package
* The fake i2c.h header has been removed; this also allowed us to remove
  the ugly LM_SENSORS and TBD defines.
* A new variable I2C_HEADERS is introduced in the Makefile. This allows
  us to install the i2c headers in, for example, /usr/local/include/linux.
* All files now include <linux/i2c.h> instead of "i2c.h" and "smbus.h"

Status: 'make dep' works, all the right include files are found. 'make all'
         does not yet work.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@496 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-07-19 11:45:27 +00:00
1 parent 17bb1f4934
commit 24e547b88e
35 files changed
+38 -1924

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include "smbus.h"
#include <linux/i2c.h>
#include "version.h"
#include "compat.h"
+2 -2
View File
@@ -31,8 +31,8 @@
#include <asm/system.h>
#include <linux/types.h>
#include "i2c.h"
#include "algo-bit.h"
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "compat.h"
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2,1,54))
+1 -5
View File
@@ -29,16 +29,12 @@
#include "compat.h"
#include "i2c.h"
#ifdef I2C_SPINLOCK
#include <asm/spinlock.h>
#else
#include <linux/i2c.h>
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,0,19)
#include <linux/sched.h>
#else
#include <asm/semaphore.h>
#endif
#endif
#include "version.h"
#include "i2c-isa.h"
+1 -1
View File
@@ -28,7 +28,7 @@
#include <linux/stddef.h>
#include <linux/sched.h>
#include <linux/ioport.h>
#include "smbus.h"
#include <linux/i2c.h>
#include "version.h"
#include "compat.h"
+2 -2
View File
@@ -33,8 +33,8 @@
#include <linux/bios32.h>
#endif
#include "i2c.h"
#include "algo-bit.h"
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include "compat.h"
/* PCI device */
+1 -1
View File
@@ -36,7 +36,7 @@
#include <linux/sched.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include "smbus.h"
#include <linux/i2c.h>
#include "version.h"
#include "compat.h"