diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-07-12 16:59:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 19:01:06 -0400 |
commit | 330a115ae46e7d7b5fe2d4e506ba8ae2e0027143 (patch) | |
tree | 0dbeceba9967097a3a38a5df97c37112b897b906 /drivers/media/video/saa7134/saa7134.h | |
parent | 85369df350b138f26eac779da33de0960635ca4d (diff) |
[PATCH] v4l: SAA7134 Update
- Corrected all cards marked as 7135 cards to 7133.
- Add new card support for Compro VideoMate TV Gold+II.
- Add new card support for Kworld Xpert TV PVR7134
- Add new card support for Typhoon DVB-T Cardbus.
- Changes to comply with CodingStyle: // comments converted to /* */
- Remove irq2_mask field from saa7134_dev structure.
- Collect all the bits needed in saa7134_hwinit2() instead.
- Distinguish the different variants of the Medion MD7134 modules via eeprom
- moved Philips FMD1216 radio specific setup to saa7134-core.c
- Fix kernel compile error with CONFIG_MODULES=n
- Cleanup tuner private calls.
- Some Indent fixes.
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Michael Krufky <mkrufky@m1k.net>
Signed-off-by: Hannibal <hannibal@megapolis.pl>
Signed-off-by: Elshin Roman <roxmail@list.ru>
Signed-off-by: Hermann Pitton <hermann.pitton@onlinehome.de>
Signed-off-by: Juergen Orschiedt <jorschiedt@web.de>
Signed-off-by: Hartmut Hackmann <hartmut.hackmann@t-online.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r-- | drivers/media/video/saa7134/saa7134.h | 21 |
1 files changed, 15 insertions, 6 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h index d6b1c0d4d0f9..6836c07794fc 100644 --- a/drivers/media/video/saa7134/saa7134.h +++ b/drivers/media/video/saa7134/saa7134.h | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * $Id: saa7134.h,v 1.41 2005/06/07 18:02:26 nsh Exp $ | 2 | * $Id: saa7134.h,v 1.48 2005/07/01 08:22:24 nsh Exp $ |
3 | * | 3 | * |
4 | * v4l2 device driver for philips saa7134 based TV cards | 4 | * v4l2 device driver for philips saa7134 based TV cards |
5 | * | 5 | * |
@@ -46,8 +46,6 @@ | |||
46 | #endif | 46 | #endif |
47 | #define UNSET (-1U) | 47 | #define UNSET (-1U) |
48 | 48 | ||
49 | /* 2.4 / 2.5 driver compatibility stuff */ | ||
50 | |||
51 | /* ----------------------------------------------------------- */ | 49 | /* ----------------------------------------------------------- */ |
52 | /* enums */ | 50 | /* enums */ |
53 | 51 | ||
@@ -159,7 +157,7 @@ struct saa7134_format { | |||
159 | #define SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER 33 | 157 | #define SAA7134_BOARD_AVERMEDIA_DVD_EZMAKER 33 |
160 | #define SAA7134_BOARD_NOVAC_PRIMETV7133 34 | 158 | #define SAA7134_BOARD_NOVAC_PRIMETV7133 34 |
161 | #define SAA7134_BOARD_AVERMEDIA_STUDIO_305 35 | 159 | #define SAA7134_BOARD_AVERMEDIA_STUDIO_305 35 |
162 | #define SAA7133_BOARD_UPMOST_PURPLE_TV 36 | 160 | #define SAA7134_BOARD_UPMOST_PURPLE_TV 36 |
163 | #define SAA7134_BOARD_ITEMS_MTV005 37 | 161 | #define SAA7134_BOARD_ITEMS_MTV005 37 |
164 | #define SAA7134_BOARD_CINERGY200 38 | 162 | #define SAA7134_BOARD_CINERGY200 38 |
165 | #define SAA7134_BOARD_FLYTVPLATINUM_MINI 39 | 163 | #define SAA7134_BOARD_FLYTVPLATINUM_MINI 39 |
@@ -176,13 +174,17 @@ struct saa7134_format { | |||
176 | #define SAA7134_BOARD_PINNACLE_300I_DVBT_PAL 50 | 174 | #define SAA7134_BOARD_PINNACLE_300I_DVBT_PAL 50 |
177 | #define SAA7134_BOARD_PROVIDEO_PV952 51 | 175 | #define SAA7134_BOARD_PROVIDEO_PV952 51 |
178 | #define SAA7134_BOARD_AVERMEDIA_305 52 | 176 | #define SAA7134_BOARD_AVERMEDIA_305 52 |
179 | #define SAA7135_BOARD_ASUSTeK_TVFM7135 53 | 177 | #define SAA7134_BOARD_ASUSTeK_TVFM7135 53 |
180 | #define SAA7134_BOARD_FLYTVPLATINUM_FM 54 | 178 | #define SAA7134_BOARD_FLYTVPLATINUM_FM 54 |
181 | #define SAA7134_BOARD_FLYDVBTDUO 55 | 179 | #define SAA7134_BOARD_FLYDVBTDUO 55 |
182 | #define SAA7134_BOARD_AVERMEDIA_307 56 | 180 | #define SAA7134_BOARD_AVERMEDIA_307 56 |
183 | #define SAA7134_BOARD_AVERMEDIA_GO_007_FM 57 | 181 | #define SAA7134_BOARD_AVERMEDIA_GO_007_FM 57 |
184 | #define SAA7134_BOARD_ADS_INSTANT_TV 58 | 182 | #define SAA7134_BOARD_ADS_INSTANT_TV 58 |
185 | #define SAA7134_BOARD_KWORLD_VSTREAM_XPERT 59 | 183 | #define SAA7134_BOARD_KWORLD_VSTREAM_XPERT 59 |
184 | #define SAA7134_BOARD_THYPHOON_DVBT_DUO_CARDBUS 60 | ||
185 | #define SAA7134_BOARD_PHILIPS_TOUGH 61 | ||
186 | #define SAA7134_BOARD_VIDEOMATE_TV_GOLD_PLUSII 62 | ||
187 | #define SAA7134_BOARD_KWORLD_XPERT 63 | ||
186 | 188 | ||
187 | #define SAA7134_MAXBOARDS 8 | 189 | #define SAA7134_MAXBOARDS 8 |
188 | #define SAA7134_INPUT_MAX 8 | 190 | #define SAA7134_INPUT_MAX 8 |
@@ -213,6 +215,10 @@ struct saa7134_board { | |||
213 | 215 | ||
214 | /* i2c chip info */ | 216 | /* i2c chip info */ |
215 | unsigned int tuner_type; | 217 | unsigned int tuner_type; |
218 | unsigned int radio_type; | ||
219 | unsigned char tuner_addr; | ||
220 | unsigned char radio_addr; | ||
221 | |||
216 | unsigned int tda9887_conf; | 222 | unsigned int tda9887_conf; |
217 | 223 | ||
218 | /* peripheral I/O */ | 224 | /* peripheral I/O */ |
@@ -403,9 +409,12 @@ struct saa7134_dev { | |||
403 | /* config info */ | 409 | /* config info */ |
404 | unsigned int board; | 410 | unsigned int board; |
405 | unsigned int tuner_type; | 411 | unsigned int tuner_type; |
412 | unsigned int radio_type; | ||
413 | unsigned char tuner_addr; | ||
414 | unsigned char radio_addr; | ||
415 | |||
406 | unsigned int tda9887_conf; | 416 | unsigned int tda9887_conf; |
407 | unsigned int gpio_value; | 417 | unsigned int gpio_value; |
408 | unsigned int irq2_mask; | ||
409 | 418 | ||
410 | /* i2c i/o */ | 419 | /* i2c i/o */ |
411 | struct i2c_adapter i2c_adap; | 420 | struct i2c_adapter i2c_adap; |