* [patch 2/2] linux-2.5.38 additional i2c driver ID's
@ 2002-09-24 4:44 Albert Cranford
2002-09-24 5:02 ` Jeff Garzik
0 siblings, 1 reply; 2+ messages in thread
From: Albert Cranford @ 2002-09-24 4:44 UTC (permalink / raw)
To: Linus Torvalds; +Cc: Kernel mailing list
[-- Attachment #1: Type: TEXT/PLAIN, Size: 87 bytes --]
Hello Linus,
Additional I2C driver ID's for 2.5.38
Thanks,
Albert
--
ac9410@attbi.com
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: TEXT/PLAIN; charset=X-UNKNOWN; name=2-i2c-includes-patch, Size: 2716 bytes --]
--- linux/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/include/linux/i2c.h.orig 2002-09-09 13:35:04.000000000 -0400
+++ linux/include/linux/i2c.h 2002-09-21 22:27:11.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>
@@ -68,6 +68,12 @@
union i2c_smbus_data;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,1)
+#ifndef __exit
+#define __exit
+#endif
+#endif
+
/*
* The master routines are the ones normally used to transmit data to devices
* on a bus (or read from them). Apart from two basic transfer functions to
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [patch 2/2] linux-2.5.38 additional i2c driver ID's
2002-09-24 4:44 [patch 2/2] linux-2.5.38 additional i2c driver ID's Albert Cranford
@ 2002-09-24 5:02 ` Jeff Garzik
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Garzik @ 2002-09-24 5:02 UTC (permalink / raw)
To: Albert Cranford; +Cc: Linus Torvalds, Kernel mailing list
Albert Cranford wrote:
> --- linux/include/linux/i2c.h.orig 2002-09-09 13:35:04.000000000 -0400
> +++ linux/include/linux/i2c.h 2002-09-21 22:27:11.000000000 -0400
> @@ -68,6 +68,12 @@
> union i2c_smbus_data;
>
>
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,4,1)
> +#ifndef __exit
> +#define __exit
> +#endif
> +#endif
We don't need to be adding this to the mainline 2.5.x kernel.
2.2.x kernels are ancient.
Jeff
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-09-24 4:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-24 4:44 [patch 2/2] linux-2.5.38 additional i2c driver ID's Albert Cranford
2002-09-24 5:02 ` Jeff Garzik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox