patch-2.3.4 linux/include/linux/i2c.h

Next file: linux/include/linux/ide.h
Previous file: linux/include/linux/dn.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.3/linux/include/linux/i2c.h linux/include/linux/i2c.h
@@ -22,6 +22,8 @@
  *
  */
 
+#include <linux/version.h>
+
 #define I2C_BUS_MAX       4    /* max # of bus drivers  */
 #define I2C_DRIVER_MAX    8    /* max # of chip drivers */
 #define I2C_DEVICE_MAX    8    /* max # if devices per bus/driver */
@@ -35,6 +37,7 @@
 #define I2C_DRIVERID_VIDEOTEXT	 3
 
 #define I2C_BUSID_BT848		1	/* I2C bus on a BT848 */
+#define I2C_BUSID_PARPORT	2	/* Bit banging on a parallel port */
 
 /*
  * struct for a driver for a i2c chip (tuner, soundprocessor,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)