aboutsummaryrefslogtreecommitdiffstats
path: root/include/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2009-03-18 12:25:54 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 11:43:30 -0400
commit69d94f7ec5edea85da0057c48c4f2877e5bb509e (patch)
tree0be8d9970472357b06250c1bcb6f7c9b7c2d0c6b /include/media
parentb794aabff01a704df5c0bcf6537e6a7343a08465 (diff)
V4L/DVB (11118): cafe_ccic: replace debugfs with g/s_register ioctls.
Using VIDIOC_DBG_S/G_REGISTER is the standard way of reading/writing register for advanced debugging under v4l2. In addition, using this means that the cafe_ccic driver doesn't need to have knowledge about the used sensor: the debug ioctl can be passed on to the sensor if it isn't for the host. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Acked-by: Jonathan Corbet <corbet@lwn.net> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media')
-rw-r--r--include/media/v4l2-chip-ident.h27
1 files changed, 15 insertions, 12 deletions
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h
index ca2aa6d7e386..1be461a29077 100644
--- a/include/media/v4l2-chip-ident.h
+++ b/include/media/v4l2-chip-ident.h
@@ -146,21 +146,12 @@ enum {
146 /* module tda9840: just ident 9840 */ 146 /* module tda9840: just ident 9840 */
147 V4L2_IDENT_TDA9840 = 9840, 147 V4L2_IDENT_TDA9840 = 9840,
148 148
149 /* module cafe_ccic, just ident 8801 */
150 V4L2_IDENT_CAFE = 8801,
151
149 /* module tw9910: just ident 9910 */ 152 /* module tw9910: just ident 9910 */
150 V4L2_IDENT_TW9910 = 9910, 153 V4L2_IDENT_TW9910 = 9910,
151 154
152 /* module cs53132a: just ident 53132 */
153 V4L2_IDENT_CS53l32A = 53132,
154
155 /* module upd64031a: just ident 64031 */
156 V4L2_IDENT_UPD64031A = 64031,
157
158 /* module upd64083: just ident 64083 */
159 V4L2_IDENT_UPD64083 = 64083,
160
161 /* module m52790: just ident 52790 */
162 V4L2_IDENT_M52790 = 52790,
163
164 /* module msp3400: reserved range 34000-34999 and 44000-44999 */ 155 /* module msp3400: reserved range 34000-34999 and 44000-44999 */
165 V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only 156 V4L2_IDENT_MSPX4XX = 34000, /* generic MSPX4XX identifier, only
166 use internally (tveeprom.c). */ 157 use internally (tveeprom.c). */
@@ -237,6 +228,18 @@ enum {
237 V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */ 228 V4L2_IDENT_MT9V022IX7ATC = 45010, /* No way to detect "normal" I77ATx */
238 V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */ 229 V4L2_IDENT_MT9V022IX7ATM = 45015, /* and "lead free" IA7ATx chips */
239 V4L2_IDENT_MT9T031 = 45020, 230 V4L2_IDENT_MT9T031 = 45020,
231
232 /* module cs53132a: just ident 53132 */
233 V4L2_IDENT_CS53l32A = 53132,
234
235 /* module upd64031a: just ident 64031 */
236 V4L2_IDENT_UPD64031A = 64031,
237
238 /* module upd64083: just ident 64083 */
239 V4L2_IDENT_UPD64083 = 64083,
240
241 /* module m52790: just ident 52790 */
242 V4L2_IDENT_M52790 = 52790,
240}; 243};
241 244
242#endif 245#endif