All of lore.kernel.org
 help / color / mirror / Atom feed
From: mchehab@brturbo.com.br (Mauro Carvalho Chehab)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors]
Date: Wed, 26 Oct 2005 22:17:12 +0000	[thread overview]
Message-ID: <1130357744.23547.21.camel@localhost> (raw)
In-Reply-To: <87ekb9s3tn.wl%info@wore.ma.cx>

Greg,

	Please don't send this patch to Andrew or mainstream. I'll apply it on
my tree and I will send it at the end my patchset series, for not
breaking these.

	I have several patches that are including newer IDs on
linux/media/i2c-id.h and I'm just preparing a patch, on V4L tree, to
remove this file from kernel.

	If this is applied, it may break dozens of patches I've already
prepared (at
http://wwwlinuxtv.org/download/video4linux/patches/2.6.14-rc5)

	Maybe it would be wiser if patches that touches drivers/media devices
maintained on V4L go first to me, and I send to Andrew. This way, it
would help us not to redo an entire patchset for fixing broken stuff
because they would be included on a wrong order.

Cheers,
Mauro.


Em Qua, 2005-10-26 ?s 21:17 +0200, Jean Delvare escreveu:
> Content-Disposition: inline; filename=i2c-id-clean-redefinitions-2.patch
> 
> Second round of i2c IDs redefinition cleanup.
> 
> Signed-off-by: Jean Delvare <khali@linux-fr.org>
> CC: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
> CC: John Klar <linpvr@projectplasma.com>
> 
> ---
>  drivers/media/video/bt832.c             |    1 -
>  drivers/media/video/msp3400.c           |    1 -
>  drivers/media/video/saa6588.c           |    2 --
>  drivers/media/video/saa7134/saa6752hs.c |    2 --
>  drivers/media/video/saa7134/saa7134.h   |    1 -
>  drivers/media/video/tda7432.c           |    1 -
>  drivers/media/video/tda9875.c           |    1 -
>  drivers/media/video/tda9887.c           |    1 -
>  drivers/media/video/tvaudio.c           |    3 +--
>  drivers/media/video/tveeprom.c          |    4 ----
>  include/linux/i2c-id.h                  |    3 +++
>  include/media/id.h                      |   35 -------------------------------
>  12 files changed, 4 insertions(+), 51 deletions(-)
> 
> --- linux-2.6.14-rc5.orig/drivers/media/video/tvaudio.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/tvaudio.c	2005-10-24 19:43:05.000000000 +0200
> @@ -31,7 +31,6 @@
>  #include <linux/smp_lock.h>
>  
>  #include <media/audiochip.h>
> -#include <media/id.h>
>  
>  #include "tvaudio.h"
>  
> @@ -1438,7 +1437,7 @@
>  	},
>  	{
>  		.name       = "pic16c54 (PV951)",
> -		.id         = I2C_DRIVERID_PIC16C54_PV951,
> +		.id         = I2C_DRIVERID_PIC16C54_PV9,
>  		.insmodopt  = &pic16c54,
>  		.addr_lo    = I2C_PIC16C54 >> 1,
>  		.addr_hi    = I2C_PIC16C54>> 1,
> --- linux-2.6.14-rc5.orig/include/linux/i2c-id.h	2005-10-24 19:38:22.000000000 +0200
> +++ linux-2.6.14-rc5/include/linux/i2c-id.h	2005-10-24 19:43:05.000000000 +0200
> @@ -99,6 +99,9 @@
>  #define I2C_DRIVERID_MAX6900	63	/* MAX6900 real-time clock	*/
>  #define I2C_DRIVERID_SAA7114H	64	/* video decoder		*/
>  #define I2C_DRIVERID_DS1374	65	/* DS1374 real time clock	*/
> +#define I2C_DRIVERID_TDA9874	66	/* TV sound decoder		*/
> +#define I2C_DRIVERID_SAA6752HS	67	/* MPEG2 encoder		*/
> +#define I2C_DRIVERID_TVEEPROM	68	/* TV EEPROM			*/
>  
> 
>  #define I2C_DRIVERID_EXP0	0xF0	/* experimental use id's	*/
> --- linux-2.6.14-rc5.orig/include/media/id.h	2005-09-13 21:21:25.000000000 +0200
> +++ /dev/null	1970-01-01 00:00:00.000000000 +0000
> @@ -1,35 +0,0 @@
> -/*
> - */
> -
> -/* FIXME: this temporarely, until these are included in linux/i2c-id.h */
> -
> -/* drivers */
> -#ifndef  I2C_DRIVERID_TVMIXER
> -# define I2C_DRIVERID_TVMIXER I2C_DRIVERID_EXP0
> -#endif
> -#ifndef  I2C_DRIVERID_TVAUDIO
> -# define I2C_DRIVERID_TVAUDIO I2C_DRIVERID_EXP1
> -#endif
> -
> -/* chips */
> -#ifndef  I2C_DRIVERID_DPL3518
> -# define I2C_DRIVERID_DPL3518 I2C_DRIVERID_EXP2
> -#endif
> -#ifndef  I2C_DRIVERID_TDA9873
> -# define I2C_DRIVERID_TDA9873 I2C_DRIVERID_EXP3
> -#endif
> -#ifndef  I2C_DRIVERID_TDA9875
> -# define I2C_DRIVERID_TDA9875 I2C_DRIVERID_EXP0+4
> -#endif
> -#ifndef  I2C_DRIVERID_PIC16C54_PV951
> -# define I2C_DRIVERID_PIC16C54_PV951 I2C_DRIVERID_EXP0+5
> -#endif
> -#ifndef  I2C_DRIVERID_TDA7432
> -# define I2C_DRIVERID_TDA7432 I2C_DRIVERID_EXP0+6
> -#endif
> -#ifndef  I2C_DRIVERID_TDA9874
> -# define I2C_DRIVERID_TDA9874 I2C_DRIVERID_EXP0+7
> -#endif
> -#ifndef  I2C_DRIVERID_SAA6752HS
> -# define I2C_DRIVERID_SAA6752HS I2C_DRIVERID_EXP0+8
> -#endif
> --- linux-2.6.14-rc5.orig/drivers/media/video/tveeprom.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/tveeprom.c	2005-10-24 19:43:05.000000000 +0200
> @@ -590,10 +590,6 @@
>  /* run, just call the exported tveeprom_* directly, there is no point in   */
>  /* using the indirect way via i2c_driver->command()                        */
>  
> -#ifndef I2C_DRIVERID_TVEEPROM
> -# define I2C_DRIVERID_TVEEPROM I2C_DRIVERID_EXP2
> -#endif
> -
>  static unsigned short normal_i2c[] = {
>  	0xa0 >> 1,
>  	I2C_CLIENT_END,
> --- linux-2.6.14-rc5.orig/drivers/media/video/bt832.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/bt832.c	2005-10-24 19:43:05.000000000 +0200
> @@ -32,7 +32,6 @@
>  #include <linux/slab.h>
>  
>  #include <media/audiochip.h>
> -#include <media/id.h>
>  #include "bttv.h"
>  #include "bt832.h"
>  
> --- linux-2.6.14-rc5.orig/drivers/media/video/msp3400.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/msp3400.c	2005-10-24 19:43:05.000000000 +0200
> @@ -54,7 +54,6 @@
>  #include <asm/pgtable.h>
>  
>  #include <media/audiochip.h>
> -#include <media/id.h>
>  #include "msp3400.h"
>  
>  #define OPMODE_AUTO    -1
> --- linux-2.6.14-rc5.orig/drivers/media/video/saa6588.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/saa6588.c	2005-10-24 19:43:05.000000000 +0200
> @@ -31,8 +31,6 @@
>  #include <linux/wait.h>
>  #include <asm/uaccess.h>
>  
> -#include <media/id.h>
> -
>  #include "rds.h"
>  
>  /* Addresses to scan */
> --- linux-2.6.14-rc5.orig/drivers/media/video/saa7134/saa6752hs.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/saa7134/saa6752hs.c	2005-10-24 19:43:05.000000000 +0200
> @@ -13,8 +13,6 @@
>  #include <linux/init.h>
>  #include <linux/crc32.h>
>  
> -#include <media/id.h>
> -
>  #define MPEG_VIDEO_TARGET_BITRATE_MAX  27000
>  #define MPEG_VIDEO_MAX_BITRATE_MAX     27000
>  #define MPEG_TOTAL_TARGET_BITRATE_MAX  27000
> --- linux-2.6.14-rc5.orig/drivers/media/video/saa7134/saa7134.h	2005-09-13 21:21:09.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/saa7134/saa7134.h	2005-10-24 19:43:05.000000000 +0200
> @@ -32,7 +32,6 @@
>  
>  #include <media/tuner.h>
>  #include <media/audiochip.h>
> -#include <media/id.h>
>  #include <media/ir-common.h>
>  #include <media/video-buf.h>
>  #include <media/video-buf-dvb.h>
> --- linux-2.6.14-rc5.orig/drivers/media/video/tda7432.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/tda7432.c	2005-10-24 19:43:05.000000000 +0200
> @@ -50,7 +50,6 @@
>  
>  #include "bttv.h"
>  #include <media/audiochip.h>
> -#include <media/id.h>
>  
>  #ifndef VIDEO_AUDIO_BALANCE
>  # define VIDEO_AUDIO_BALANCE 32
> --- linux-2.6.14-rc5.orig/drivers/media/video/tda9875.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/tda9875.c	2005-10-24 19:43:05.000000000 +0200
> @@ -32,7 +32,6 @@
>  
>  #include "bttv.h"
>  #include <media/audiochip.h>
> -#include <media/id.h>
>  
>  static int debug; /* insmod parameter */
>  module_param(debug, int, S_IRUGO | S_IWUSR);
> --- linux-2.6.14-rc5.orig/drivers/media/video/tda9887.c	2005-10-23 17:42:05.000000000 +0200
> +++ linux-2.6.14-rc5/drivers/media/video/tda9887.c	2005-10-24 19:43:05.000000000 +0200
> @@ -11,7 +11,6 @@
>  
>  #include <media/audiochip.h>
>  #include <media/tuner.h>
> -#include <media/id.h>
>  
>  /* Chips:
>     TDA9885 (PAL, NTSC)
> 
Cheers, 
Mauro.


  reply	other threads:[~2005-10-26 22:17 UTC|newest]

Thread overview: 84+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-11 10:20 [lm-sensors] wore
2005-10-26 22:17 ` Mauro Carvalho Chehab [this message]
2005-10-26 22:40 ` [lm-sensors] Greg KH
2005-10-26 22:46 ` [lm-sensors] Jean Delvare
2005-10-27 14:03 ` [lm-sensors] Mauro Carvalho Chehab
2005-10-27 16:53 ` [lm-sensors] Mauro Carvalho Chehab
2005-10-27 23:07 ` [lm-sensors] Jean Delvare
2005-10-27 23:43 ` [lm-sensors] Jean Delvare
2006-05-05 19:34 ` [lm-sensors] Dieter Jurzitza
2006-05-05 20:53 ` [lm-sensors] Dieter Jurzitza
2006-05-30  8:53 ` [lm-sensors] Laurent Pinchart
2006-12-03  8:22 ` [lm-sensors] Udo van den Heuvel
2006-12-03  8:38 ` [lm-sensors] Thomas Dohl
2006-12-03  8:49 ` [lm-sensors] Udo van den Heuvel
2006-12-03 20:20 ` [lm-sensors] Thomas Dohl
2007-01-08  7:39 ` [lm-sensors] Christophe de Rivière
2007-04-15  7:48 ` [lm-sensors] jk
2007-05-10 17:36 ` [lm-sensors] Dieter Rogiest
2007-05-10 18:02 ` [lm-sensors] Hans-Jürgen Koch
2007-05-10 18:46 ` [lm-sensors] Stephen Cormier
2007-05-10 19:31 ` [lm-sensors] Rudolf Marek
2007-05-10 20:34 ` [lm-sensors] Dieter Rogiest
2007-05-10 22:28 ` [lm-sensors] Rudolf Marek
2007-05-10 22:40 ` [lm-sensors] Dieter Rogiest
2007-07-24 12:06 ` [lm-sensors] Jean Delvare
2007-07-24 12:57 ` [lm-sensors] Christian Hohnstaedt
2007-07-24 13:09 ` [lm-sensors] Jean Delvare
2007-07-24 13:43 ` [lm-sensors] Christian Hohnstaedt
2007-08-12 11:13 ` [lm-sensors] Jean Delvare
2007-08-13  8:39 ` [lm-sensors] Christian Hohnstaedt
2007-08-13 12:29 ` [lm-sensors] Jean Delvare
2007-08-15 15:32 ` [lm-sensors] Christian Hohnstaedt
2007-08-15 19:28 ` [lm-sensors] Jean Delvare
2007-08-16  8:08 ` [lm-sensors] Christian Hohnstaedt
2007-10-07 18:38 ` [lm-sensors] Hans de Goede
2007-10-07 19:33 ` [lm-sensors] Mark M. Hoffman
2007-10-31 15:29 ` [lm-sensors] Hans de Goede
2008-06-01 10:15 ` [lm-sensors] Dominik Geyer
2008-09-17 13:50 ` [lm-sensors] Frank Myhr
2010-03-09 22:50 ` [lm-sensors] Phillip Pi
2010-10-31  7:42 ` [lm-sensors] Zamzit
2011-01-20 20:04 ` [lm-sensors] Guenter Roeck
2011-01-24 21:20 ` [lm-sensors] Yu, Fenghua
2011-03-28 18:11 ` [lm-sensors] R, Durgadoss
2011-04-05 17:47 ` [lm-sensors] Guenter Roeck
2011-04-06  6:54 ` [lm-sensors] R, Durgadoss
2011-04-06  7:18 ` [lm-sensors] Guenter Roeck
2011-06-21  9:44 ` [lm-sensors] Jay Alexander Fleming
2011-06-23 21:30 ` [lm-sensors] Valentijn Scholten
2011-06-24 22:01 ` [lm-sensors] Valentijn Scholten
2011-06-25 18:44 ` [lm-sensors] Valentijn Scholten
2011-10-01 13:38 ` [lm-sensors] Maryvonne JUDIT
2011-10-23 14:53 ` [lm-sensors] Malika et Christophe CHARBONNIER
2011-12-22  9:33 ` [lm-sensors] serge chartrain
  -- strict thread matches above, loose matches on Subject: below --
2007-04-10 13:02 [lm-sensors] Hardware monitoring subsystem maintainer position is Jean Delvare
2007-04-12  5:57 ` [lm-sensors] Hardware monitoring subsystem maintainer Krzysztof Helt
2007-04-12  7:27   ` [lm-sensors] Hardware monitoring subsystem Hans de Goede
2007-04-15  2:07     ` [lm-sensors] Dmitry Torokhov
2008-09-18  8:12 [lm-sensors] + Sebastian Siewior
2008-09-18  8:15 ` Sebastian Siewior
2008-09-18  8:25 ` Andrew Morton
2008-09-18  9:08 ` Sebastian Siewior
2008-09-18 20:02 ` Jean Delvare
2008-09-18 21:13 ` Andrew Morton
2008-09-19 13:13 ` Jean Delvare
2009-06-12 15:25 [lm-sensors] =?UTF-8?Q?Re: [PATCH] hwmon: Add driver for VIA CPU tomaz.mertelj
2009-06-12 15:31 ` [lm-sensors] " Michael S. Zick
2009-06-12 16:04   ` Michael S. Zick
2009-06-12 17:38     ` [lm-sensors] Michael S. Zick
2009-06-12 18:16 [lm-sensors] =?UTF-8?Q?Re: [PATCH] hwmon: Add driver for VIA CPU tomaz.mertelj
2009-06-12 18:20 ` [lm-sensors] Michael S. Zick
2009-11-14  9:09 [lm-sensors] + Jean Delvare
2010-12-20  6:06 Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c R, Durgadoss
2010-12-20  6:18 ` [lm-sensors] R, Durgadoss
2010-12-28 10:25 Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c R, Durgadoss
2010-12-28 10:37 ` [lm-sensors] R, Durgadoss
2010-12-28 10:38 [lm-sensors] Patch[2/2]:hwmon:Adding_Threshold_Support_to_Coretemp.c R, Durgadoss
2011-01-04 19:40 ` [lm-sensors] Guenter Roeck
2011-01-03 11:52 Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c R, Durgadoss
2011-01-03 11:54 ` [lm-sensors] R, Durgadoss
2011-01-03 15:03 ` [lm-sensors] Guenter Roeck
2011-01-03 15:03   ` Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c Guenter Roeck
2011-01-03 15:11   ` Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c R, Durgadoss
2011-01-03 15:23     ` [lm-sensors] R, Durgadoss
2011-01-03 15:38     ` [lm-sensors] Guenter Roeck
2011-01-03 15:38       ` Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c Guenter Roeck
2011-01-04  8:56       ` Patch[1/2]X86:Adding_Notification_Support_to_therm_throt.c R, Durgadoss
2011-01-04  9:08         ` [lm-sensors] R, Durgadoss
2011-01-04  8:20 ` [tip:x86/hwmon] x86, hwmon: Add core threshold notification to therm_throt.c tip-bot for R, Durgadoss
2011-01-04  8:29   ` R, Durgadoss
2011-01-20  7:57 [lm-sensors] patch[1/1]:hwmon:Adding_Threshold_support_to_coretemp R, Durgadoss
2011-01-20 22:17 ` [lm-sensors] Fenghua Yu
2011-01-21  2:26   ` [lm-sensors] Guenter Roeck

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1130357744.23547.21.camel@localhost \
    --to=mchehab@brturbo.com.br \
    --cc=lm-sensors@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.