diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:09:31 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 13:09:31 -0400 |
commit | 25581ad107be24b89d805da51a03d616f8f3d1be (patch) | |
tree | 36e2bd32667b5dd5a39e1939c1c5162f18967715 /drivers/media/dvb/bt8xx/dst_common.h | |
parent | 72cf2709bf8e0410800f118c4298bfbf8715b303 (diff) | |
parent | 7477ddaa4d2d69bbcd49e12990af158dbb03f2f2 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb
* master.kernel.org:/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (244 commits)
V4L/DVB (4210b): git-dvb: tea575x-tuner build fix
V4L/DVB (4210a): git-dvb versus matroxfb
V4L/DVB (4209): Added some BTTV PCI IDs for newer boards
Fixes some sync issues between V4L/DVB development and GIT
V4L/DVB (4206): Cx88-blackbird: always set encoder height based on tvnorm->id
V4L/DVB (4205): Merge tda9887 module into tuner.
V4L/DVB (4203): Explicitly set the enum values.
V4L/DVB (4202): allow selecting CX2341x port mode
V4L/DVB (4200): Disable bitrate_mode when encoding mpeg-1.
V4L/DVB (4199): Add cx2341x-specific control array to cx2341x.c
V4L/DVB (4198): Avoid newer usages of obsoleted experimental MPEGCOMP API
V4L/DVB (4197): Port new MPEG API to saa7134-empress with saa6752hs
V4L/DVB (4196): Port cx88-blackbird to the new MPEG API.
V4L/DVB (4193): Update cx2341x fw encoding API doc.
V4L/DVB (4192): Use control helpers for saa7115, cx25840, msp3400.
V4L/DVB (4191): Add CX2341X MPEG encoder module.
V4L/DVB (4190): Add helper functions for control processing to v4l2-common.
V4L/DVB (4189): Add videodev support for VIDIOC_S/G/TRY_EXT_CTRLS.
V4L/DVB (4188): Add new MPEG control/ioctl definitions to videodev2.h
V4L/DVB (4186): Add support for the DNTV Live! mini DVB-T card.
...
Diffstat (limited to 'drivers/media/dvb/bt8xx/dst_common.h')
-rw-r--r-- | drivers/media/dvb/bt8xx/dst_common.h | 33 |
1 files changed, 29 insertions, 4 deletions
diff --git a/drivers/media/dvb/bt8xx/dst_common.h b/drivers/media/dvb/bt8xx/dst_common.h index 51d4e043716..0677b047b3a 100644 --- a/drivers/media/dvb/bt8xx/dst_common.h +++ b/drivers/media/dvb/bt8xx/dst_common.h | |||
@@ -42,7 +42,7 @@ | |||
42 | #define DST_TYPE_IS_CABLE 2 | 42 | #define DST_TYPE_IS_CABLE 2 |
43 | #define DST_TYPE_IS_ATSC 3 | 43 | #define DST_TYPE_IS_ATSC 3 |
44 | 44 | ||
45 | #define DST_TYPE_HAS_NEWTUNE 1 | 45 | #define DST_TYPE_HAS_TS188 1 |
46 | #define DST_TYPE_HAS_TS204 2 | 46 | #define DST_TYPE_HAS_TS204 2 |
47 | #define DST_TYPE_HAS_SYMDIV 4 | 47 | #define DST_TYPE_HAS_SYMDIV 4 |
48 | #define DST_TYPE_HAS_FW_1 8 | 48 | #define DST_TYPE_HAS_FW_1 8 |
@@ -52,6 +52,9 @@ | |||
52 | #define DST_TYPE_HAS_OBS_REGS 128 | 52 | #define DST_TYPE_HAS_OBS_REGS 128 |
53 | #define DST_TYPE_HAS_INC_COUNT 256 | 53 | #define DST_TYPE_HAS_INC_COUNT 256 |
54 | #define DST_TYPE_HAS_MULTI_FE 512 | 54 | #define DST_TYPE_HAS_MULTI_FE 512 |
55 | #define DST_TYPE_HAS_NEWTUNE_2 1024 | ||
56 | #define DST_TYPE_HAS_DBOARD 2048 | ||
57 | #define DST_TYPE_HAS_VLF 4096 | ||
55 | 58 | ||
56 | /* Card capability list */ | 59 | /* Card capability list */ |
57 | 60 | ||
@@ -64,6 +67,20 @@ | |||
64 | #define DST_TYPE_HAS_ANALOG 64 /* Analog inputs */ | 67 | #define DST_TYPE_HAS_ANALOG 64 /* Analog inputs */ |
65 | #define DST_TYPE_HAS_SESSION 128 | 68 | #define DST_TYPE_HAS_SESSION 128 |
66 | 69 | ||
70 | #define TUNER_TYPE_MULTI 1 | ||
71 | #define TUNER_TYPE_UNKNOWN 2 | ||
72 | /* DVB-S */ | ||
73 | #define TUNER_TYPE_L64724 4 | ||
74 | #define TUNER_TYPE_STV0299 8 | ||
75 | #define TUNER_TYPE_MB86A15 16 | ||
76 | |||
77 | /* DVB-T */ | ||
78 | #define TUNER_TYPE_TDA10046 32 | ||
79 | |||
80 | /* ATSC */ | ||
81 | #define TUNER_TYPE_NXT200x 64 | ||
82 | |||
83 | |||
67 | #define RDC_8820_PIO_0_DISABLE 0 | 84 | #define RDC_8820_PIO_0_DISABLE 0 |
68 | #define RDC_8820_PIO_0_ENABLE 1 | 85 | #define RDC_8820_PIO_0_ENABLE 1 |
69 | #define RDC_8820_INT 2 | 86 | #define RDC_8820_INT 2 |
@@ -84,8 +101,6 @@ struct dst_state { | |||
84 | 101 | ||
85 | struct bt878* bt; | 102 | struct bt878* bt; |
86 | 103 | ||
87 | struct dvb_frontend_ops ops; | ||
88 | |||
89 | /* configuration settings */ | 104 | /* configuration settings */ |
90 | const struct dst_config* config; | 105 | const struct dst_config* config; |
91 | 106 | ||
@@ -121,8 +136,17 @@ struct dst_state { | |||
121 | u8 card_info[8]; | 136 | u8 card_info[8]; |
122 | u8 vendor[8]; | 137 | u8 vendor[8]; |
123 | u8 board_info[8]; | 138 | u8 board_info[8]; |
124 | 139 | u32 tuner_type; | |
140 | char *tuner_name; | ||
125 | struct mutex dst_mutex; | 141 | struct mutex dst_mutex; |
142 | u8 fw_name[8]; | ||
143 | }; | ||
144 | |||
145 | struct tuner_types { | ||
146 | u32 tuner_type; | ||
147 | char *tuner_name; | ||
148 | char *board_name; | ||
149 | char *fw_name; | ||
126 | }; | 150 | }; |
127 | 151 | ||
128 | struct dst_types { | 152 | struct dst_types { |
@@ -131,6 +155,7 @@ struct dst_types { | |||
131 | u8 dst_type; | 155 | u8 dst_type; |
132 | u32 type_flags; | 156 | u32 type_flags; |
133 | u32 dst_feature; | 157 | u32 dst_feature; |
158 | u32 tuner_type; | ||
134 | }; | 159 | }; |
135 | 160 | ||
136 | struct dst_config | 161 | struct dst_config |