aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@brturbo.com.br>2005-09-09 16:04:05 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-09-09 16:57:54 -0400
commit0f97a931b337e4662e736ca67f1fab0a187f5852 (patch)
tree974a24348db544ed76e1fea0efda68e0c486f789 /include/media
parent18fc59e230bbda9725736f8f526ef88aab212348 (diff)
[PATCH] v4l: tveeprom improved to support newer Hauppage cards
- tveeprom improved and updated to reflect newer Hauppage cards. - CodingStyle fixes. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/tveeprom.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/media/tveeprom.h b/include/media/tveeprom.h
index e24e841c3211..e2035c7da094 100644
--- a/include/media/tveeprom.h
+++ b/include/media/tveeprom.h
@@ -3,15 +3,19 @@
3 3
4struct tveeprom { 4struct tveeprom {
5 u32 has_radio; 5 u32 has_radio;
6 u32 has_ir; /* 0: no IR, 1: IR present, 2: unknown */
6 7
7 u32 tuner_type; 8 u32 tuner_type;
8 u32 tuner_formats; 9 u32 tuner_formats;
9 10
11 u32 tuner2_type;
12 u32 tuner2_formats;
13
10 u32 digitizer; 14 u32 digitizer;
11 u32 digitizer_formats; 15 u32 digitizer_formats;
12 16
13 u32 audio_processor; 17 u32 audio_processor;
14 /* a_p_fmts? */ 18 u32 decoder_processor;
15 19
16 u32 model; 20 u32 model;
17 u32 revision; 21 u32 revision;
@@ -19,7 +23,7 @@ struct tveeprom {
19 char rev_str[5]; 23 char rev_str[5];
20}; 24};
21 25
22void tveeprom_hauppauge_analog(struct tveeprom *tvee, 26void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
23 unsigned char *eeprom_data); 27 unsigned char *eeprom_data);
24 28
25int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len); 29int tveeprom_read(struct i2c_client *c, unsigned char *eedata, int len);