lkml.org 
[lkml]   [2002]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch 2/3] 2.5.36 i2c new adapter id's
Hello Linus,
patch adds new adapter and driver id's to i2c.
Albert
--
ac9410@attbi.com
--- linux-2.5.36/include/linux/i2c-id.h.orig 2002-09-09 13:35:01.000000000 -0400
+++ linux/include/linux/i2c-id.h 2002-08-24 16:19:39.000000000 -0400
@@ -20,7 +20,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* ------------------------------------------------------------------------- */

-/* $Id: i2c-id.h,v 1.52 2002/07/10 13:28:44 abz Exp $ */
+/* $Id: i2c-id.h,v 1.55 2002/08/24 20:19:39 mds Exp $ */

#ifndef I2C_ID_H
#define I2C_ID_H
@@ -143,6 +143,7 @@
#define I2C_DRIVERID_SMSC47M1 1031
#define I2C_DRIVERID_VT1211 1032
#define I2C_DRIVERID_LM92 1033
+#define I2C_DRIVERID_VT8231 1034

/*
* ---- Adapter types ----------------------------------------------------
@@ -161,6 +162,7 @@
#define I2C_ALGO_ACB 0x070000 /* ACCESS.bus algorithm */
#define I2C_ALGO_IIC 0x080000 /* ITE IIC bus */
#define I2C_ALGO_SAA7134 0x090000
+#define I2C_ALGO_MPC824X 0x0a0000 /* Motorola 8240 / 8245 */
#define I2C_ALGO_EC 0x100000 /* ACPI embedded controller */

#define I2C_ALGO_MPC8XX 0x110000 /* MPC8xx PowerPC I2C algorithm */
@@ -206,6 +208,9 @@
/* --- ACPI Embedded controller algorithms */
#define I2C_HW_ACPI_EC 0x00

+/* --- MPC824x PowerPC adapters */
+#define I2C_HW_MPC824X 0x00 /* Motorola 8240 / 8245 */
+
/* --- MPC8xx PowerPC adapters */
#define I2C_HW_MPC8XX_EPON 0x00 /* Eponymous MPC8xx I2C adapter */

@@ -225,6 +230,8 @@
#define I2C_HW_SMBUS_AMD756 0x05
#define I2C_HW_SMBUS_SIS5595 0x06
#define I2C_HW_SMBUS_ALI1535 0x07
+#define I2C_HW_SMBUS_SIS630 0x08
+#define I2C_HW_SMBUS_SIS645 0x09

/* --- ISA pseudo-adapter */
#define I2C_HW_ISA 0x00
--- linux-2.5.36/include/linux/i2c.h.orig 2002-09-09 13:35:04.000000000 -0400
+++ linux/include/linux/i2c.h 2002-09-15 20:39:17.000000000 -0400
@@ -23,13 +23,13 @@
/* With some changes from Kyösti Mälkki <kmalkki@cc.hut.fi> and
Frodo Looijaard <frodol@dds.nl> */

-/* $Id: i2c.h,v 1.59 2002/07/19 20:53:45 phil Exp $ */
+/* $Id: i2c.h,v 1.60 2002/09/16 00:39:17 phil Exp $ */

#ifndef I2C_H
#define I2C_H

-#define I2C_DATE "20020719"
-#define I2C_VERSION "2.6.4"
+#define I2C_DATE "20020915"
+#define I2C_VERSION "2.6.5"

#include <linux/i2c-id.h> /* id values of adapters et. al. */
#include <linux/types.h>
\
 
 \ /
  Last update: 2005-03-22 12:53    [W:0.058 / U:18.620 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site