aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/saa7134/saa7134.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-04-22 13:45:27 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:45 -0400
commitbc36a686a65dd9b941463ff894a3868c62851186 (patch)
treed7321c32ce3ac1173ad1dc6c431824db2cc8e4e5 /drivers/media/video/saa7134/saa7134.h
parent446018d80736ab16a117ce0db5a20467c91a0f90 (diff)
V4L/DVB (7262): Add support for xc3028-based boards
This patch adds support for the following saa7134 xc3028 based boards: 132 -> AVerMedia Cardbus TV/Radio (E506R) [1461:f436] 133 -> AVerMedia Hybrid TV/Radio (A16D) [1461:f936] 134 -> Avermedia M115 [1461:a836] 135 -> Compro VideoMate T750 [185b:c900] This is based on a original patch thanks to Markus Rechberger that added xc3028 gpio init code for the above boards. This patch moves saa7134_tuner_callback to saa7134-cards, originally used only by tda8290 DVB-S boards. The callback was made more generic to support other tuners. Currently, it supports both tda8290 and xc2028/xc3028 tuners. Added also the basis for xc5000 tuner callback. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/saa7134/saa7134.h')
-rw-r--r--drivers/media/video/saa7134/saa7134.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/media/video/saa7134/saa7134.h b/drivers/media/video/saa7134/saa7134.h
index d7e0781fe8a..ba88a1093d1 100644
--- a/drivers/media/video/saa7134/saa7134.h
+++ b/drivers/media/video/saa7134/saa7134.h
@@ -257,6 +257,11 @@ struct saa7134_format {
257#define SAA7134_BOARD_PHILIPS_SNAKE 133 257#define SAA7134_BOARD_PHILIPS_SNAKE 133
258#define SAA7134_BOARD_CREATIX_CTX953 134 258#define SAA7134_BOARD_CREATIX_CTX953 134
259#define SAA7134_BOARD_MSI_TVANYWHERE_AD11 135 259#define SAA7134_BOARD_MSI_TVANYWHERE_AD11 135
260#define SAA7134_BOARD_AVERMEDIA_CARDBUS_506 136
261#define SAA7134_BOARD_AVERMEDIA_A16D 137
262#define SAA7134_BOARD_AVERMEDIA_M115 138
263#define SAA7134_BOARD_VIDEOMATE_T750 139
264
260 265
261#define SAA7134_MAXBOARDS 8 266#define SAA7134_MAXBOARDS 8
262#define SAA7134_INPUT_MAX 8 267#define SAA7134_INPUT_MAX 8
@@ -599,7 +604,6 @@ extern int saa7134_no_overlay;
599 604
600void saa7134_track_gpio(struct saa7134_dev *dev, char *msg); 605void saa7134_track_gpio(struct saa7134_dev *dev, char *msg);
601void saa7134_set_gpio(struct saa7134_dev *dev, int bit_no, int value); 606void saa7134_set_gpio(struct saa7134_dev *dev, int bit_no, int value);
602int saa7134_tuner_callback(void *ptr, int command, int arg);
603 607
604#define SAA7134_PGTABLE_SIZE 4096 608#define SAA7134_PGTABLE_SIZE 4096
605 609
@@ -636,6 +640,7 @@ extern struct pci_device_id __devinitdata saa7134_pci_tbl[];
636 640
637extern int saa7134_board_init1(struct saa7134_dev *dev); 641extern int saa7134_board_init1(struct saa7134_dev *dev);
638extern int saa7134_board_init2(struct saa7134_dev *dev); 642extern int saa7134_board_init2(struct saa7134_dev *dev);
643int saa7134_tuner_callback(void *priv, int command, int arg);
639 644
640 645
641/* ----------------------------------------------------------- */ 646/* ----------------------------------------------------------- */