2002-07-11 05:24:07

by Albert Cranford

[permalink] [raw]
Subject: [patch] 2.5.25 I2C driver id and Config updates

--- linux/include/linux/i2c-id.h.orig 2002-07-10 19:12:15.000000000 -0400
+++ linux/include/linux/i2c-id.h 2002-07-10 19:13:42.000000000 -0400
@@ -90,7 +90,11 @@
#define I2C_DRIVERID_DRP3510 43 /* ADR decoder (Astra Radio) */
#define I2C_DRIVERID_SP5055 44 /* Satellite tuner */
#define I2C_DRIVERID_STV0030 45 /* Multipurpose switch */
-#define I2C_DRIVERID_SAA7108 46 /* video decoder, image scaler */
+#define I2C_DRIVERID_SAA7108 46 /* video decoder, image scaler */
+#define I2C_DRIVERID_DS1307 47 /* DS1307 real time clock */
+#define I2C_DRIVERID_ADV717x 48 /* ADV 7175/7176 video encoder */
+#define I2C_DRIVERID_ZR36067 49 /* Zoran 36067 video encoder */
+#define I2C_DRIVERID_ZR36120 50 /* Zoran 36120 video encoder */




Attachments:
47-i2c-5-patch (581.00 B)
47-i2c-6-patch (2.43 kB)
47-i2c-7-patch (783.00 B)
Download all attachments

2002-07-11 07:44:35

by Adrian Bunk

[permalink] [raw]
Subject: Re: [patch] 2.5.25 I2C driver id and Config updates

Hi Albert,

<-- snip -->

--- linux/drivers/i2c/Config.help.orig 2002-07-07 16:41:47.000000000
-0400
+++ linux/drivers/i2c/Config.help 2002-07-07 16:45:21.000000000
-0400
@@ -1,3 +1,4 @@
+I2C support
CONFIG_I2C
I2C (pronounce: I-square-C) is a slow serial bus protocol used in
many micro controller applications and developed by Philips. SMBus,
...

<-- snip -->


What is the purpose of this patch? I can't see it making any difference
(at least ot in menuconfig).


cu
Adrian

--

You only think this is a free country. Like the US the UK spends a lot of
time explaining its a free country because its a police state.
Alan Cox



2002-07-11 11:14:39

by Alan

[permalink] [raw]
Subject: Re: [patch] 2.5.25 I2C driver id and Config updates

> Could you please apply these 3 patches toward 2.5.26.
> They include Config.in updates, additions in i2c-id.h
> for "Video for Linux" and a compatibility fix for
> i2c-algo-bit.c
>
>
> +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0)
> + if (current->need_resched)
> + schedule();
> +#else
> cond_resched();
> +#endif

Why are you adding non 2.5 code to 2.5 ?