diff options
| author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-05-26 09:03:01 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-21 09:46:44 -0400 |
| commit | b71c99801e18eb172ae34851daf25044a3bf644a (patch) | |
| tree | bf269d9d56c7a472022866e8cb186d6be6f060f4 /include | |
| parent | 12869145718571ffa4f6e650a6f759934eeca0d9 (diff) | |
[media] v4l2-core: remove support for obsolete VIDIOC_DBG_G_CHIP_IDENT
This has been replaced by the new and much better VIDIOC_DBG_G_CHIP_INFO.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/media/v4l2-chip-ident.h | 354 | ||||
| -rw-r--r-- | include/media/v4l2-ioctl.h | 2 | ||||
| -rw-r--r-- | include/media/v4l2-subdev.h | 4 | ||||
| -rw-r--r-- | include/uapi/linux/videodev2.h | 17 |
4 files changed, 4 insertions, 373 deletions
diff --git a/include/media/v4l2-chip-ident.h b/include/media/v4l2-chip-ident.h deleted file mode 100644 index 543f89c18896..000000000000 --- a/include/media/v4l2-chip-ident.h +++ /dev/null | |||
| @@ -1,354 +0,0 @@ | |||
| 1 | /* | ||
| 2 | v4l2 chip identifiers header | ||
| 3 | |||
| 4 | This header provides a list of chip identifiers that can be returned | ||
| 5 | through the VIDIOC_DBG_G_CHIP_IDENT ioctl. | ||
| 6 | |||
| 7 | Copyright (C) 2007 Hans Verkuil <hverkuil@xs4all.nl> | ||
| 8 | |||
| 9 | This program is free software; you can redistribute it and/or modify | ||
| 10 | it under the terms of the GNU General Public License as published by | ||
| 11 | the Free Software Foundation; either version 2 of the License, or | ||
| 12 | (at your option) any later version. | ||
| 13 | |||
| 14 | This program is distributed in the hope that it will be useful, | ||
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 17 | GNU General Public License for more details. | ||
| 18 | |||
| 19 | You should have received a copy of the GNU General Public License | ||
| 20 | along with this program; if not, write to the Free Software | ||
| 21 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | ||
| 22 | */ | ||
| 23 | |||
| 24 | #ifndef V4L2_CHIP_IDENT_H_ | ||
| 25 | #define V4L2_CHIP_IDENT_H_ | ||
| 26 | |||
| 27 | /* VIDIOC_DBG_G_CHIP_IDENT: identifies the actual chip installed on the board */ | ||
| 28 | |||
| 29 | /* KEEP THIS LIST ORDERED BY ID! | ||
| 30 | Otherwise it will be hard to see which ranges are already in use when | ||
| 31 | adding support to a new chip family. */ | ||
| 32 | enum { | ||
| 33 | /* general idents: reserved range 0-49 */ | ||
| 34 | V4L2_IDENT_NONE = 0, /* No chip matched */ | ||
| 35 | V4L2_IDENT_AMBIGUOUS = 1, /* Match too general, multiple chips matched */ | ||
| 36 | V4L2_IDENT_UNKNOWN = 2, /* Chip found, but cannot identify */ | ||
| 37 | |||
| 38 | /* module tvaudio: reserved range 50-99 */ | ||
| 39 | V4L2_IDENT_TVAUDIO = 50, /* A tvaudio chip, unknown which it is exactly */ | ||
| 40 | |||
| 41 | /* Sony IMX074 */ | ||
| 42 | V4L2_IDENT_IMX074 = 74, | ||
| 43 | |||
| 44 | /* module saa7110: just ident 100 */ | ||
| 45 | V4L2_IDENT_SAA7110 = 100, | ||
| 46 | |||
| 47 | /* module saa7115: reserved range 101-149 */ | ||
| 48 | V4L2_IDENT_SAA7111 = 101, | ||
| 49 | V4L2_IDENT_SAA7111A = 102, | ||
| 50 | V4L2_IDENT_SAA7113 = 103, | ||
| 51 | V4L2_IDENT_SAA7114 = 104, | ||
| 52 | V4L2_IDENT_SAA7115 = 105, | ||
| 53 | V4L2_IDENT_SAA7118 = 108, | ||
| 54 | |||
| 55 | V4L2_IDENT_GM7113C = 140, | ||
| 56 | |||
| 57 | /* module saa7127: reserved range 150-199 */ | ||
| 58 | V4L2_IDENT_SAA7127 = 157, | ||
| 59 | V4L2_IDENT_SAA7129 = 159, | ||
| 60 | |||
| 61 | /* module cx25840: reserved range 200-249 */ | ||
| 62 | V4L2_IDENT_CX25836 = 236, | ||
| 63 | V4L2_IDENT_CX25837 = 237, | ||
| 64 | V4L2_IDENT_CX25840 = 240, | ||
| 65 | V4L2_IDENT_CX25841 = 241, | ||
| 66 | V4L2_IDENT_CX25842 = 242, | ||
| 67 | V4L2_IDENT_CX25843 = 243, | ||
| 68 | |||
| 69 | /* OmniVision sensors: reserved range 250-299 */ | ||
| 70 | V4L2_IDENT_OV7670 = 250, | ||
| 71 | V4L2_IDENT_OV7720 = 251, | ||
| 72 | V4L2_IDENT_OV7725 = 252, | ||
| 73 | V4L2_IDENT_OV7660 = 253, | ||
| 74 | V4L2_IDENT_OV9650 = 254, | ||
| 75 | V4L2_IDENT_OV9655 = 255, | ||
| 76 | V4L2_IDENT_SOI968 = 256, | ||
| 77 | V4L2_IDENT_OV9640 = 257, | ||
| 78 | V4L2_IDENT_OV6650 = 258, | ||
| 79 | V4L2_IDENT_OV2640 = 259, | ||
| 80 | V4L2_IDENT_OV9740 = 260, | ||
| 81 | V4L2_IDENT_OV5642 = 261, | ||
| 82 | |||
| 83 | /* module saa7146: reserved range 300-309 */ | ||
| 84 | V4L2_IDENT_SAA7146 = 300, | ||
| 85 | |||
| 86 | /* Conexant MPEG encoder/decoders: reserved range 400-420 */ | ||
| 87 | V4L2_IDENT_CX23418_843 = 403, /* Integrated A/V Decoder on the '418 */ | ||
| 88 | V4L2_IDENT_CX23415 = 415, | ||
| 89 | V4L2_IDENT_CX23416 = 416, | ||
| 90 | V4L2_IDENT_CX23417 = 417, | ||
| 91 | V4L2_IDENT_CX23418 = 418, | ||
| 92 | |||
| 93 | /* module bt819: reserved range 810-819 */ | ||
| 94 | V4L2_IDENT_BT815A = 815, | ||
| 95 | V4L2_IDENT_BT817A = 817, | ||
| 96 | V4L2_IDENT_BT819A = 819, | ||
| 97 | |||
| 98 | /* module au0828 */ | ||
| 99 | V4L2_IDENT_AU0828 = 828, | ||
| 100 | |||
| 101 | /* module bttv: ident 848 + 849 */ | ||
| 102 | V4L2_IDENT_BT848 = 848, | ||
| 103 | V4L2_IDENT_BT849 = 849, | ||
| 104 | |||
| 105 | /* module bt856: just ident 856 */ | ||
| 106 | V4L2_IDENT_BT856 = 856, | ||
| 107 | |||
| 108 | /* module bt866: just ident 866 */ | ||
| 109 | V4L2_IDENT_BT866 = 866, | ||
| 110 | |||
| 111 | /* module bttv: ident 878 + 879 */ | ||
| 112 | V4L2_IDENT_BT878 = 878, | ||
| 113 | V4L2_IDENT_BT879 = 879, | ||
| 114 | |||
| 115 | /* module ks0127: reserved range 1120-1129 */ | ||
| 116 | V4L2_IDENT_KS0122S = 1122, | ||
| 117 | V4L2_IDENT_KS0127 = 1127, | ||
| 118 | V4L2_IDENT_KS0127B = 1128, | ||
| 119 | |||
| 120 | /* module indycam: just ident 2000 */ | ||
| 121 | V4L2_IDENT_INDYCAM = 2000, | ||
| 122 | |||
| 123 | /* module vp27smpx: just ident 2700 */ | ||
| 124 | V4L2_IDENT_VP27SMPX = 2700, | ||
| 125 | |||
| 126 | /* module vpx3220: reserved range: 3210-3229 */ | ||
| 127 | V4L2_IDENT_VPX3214C = 3214, | ||
| 128 | V4L2_IDENT_VPX3216B = 3216, | ||
| 129 | V4L2_IDENT_VPX3220A = 3220, | ||
| 130 | |||
| 131 | /* VX855 just ident 3409 */ | ||
| 132 | /* Other via devs could use 3314, 3324, 3327, 3336, 3364, 3353 */ | ||
| 133 | V4L2_IDENT_VIA_VX855 = 3409, | ||
| 134 | |||
| 135 | /* module tvp5150 */ | ||
| 136 | V4L2_IDENT_TVP5150 = 5150, | ||
| 137 | |||
| 138 | /* module saa5246a: just ident 5246 */ | ||
| 139 | V4L2_IDENT_SAA5246A = 5246, | ||
| 140 | |||
| 141 | /* module saa5249: just ident 5249 */ | ||
| 142 | V4L2_IDENT_SAA5249 = 5249, | ||
| 143 | |||
| 144 | /* module cs5345: just ident 5345 */ | ||
| 145 | V4L2_IDENT_CS5345 = 5345, | ||
| 146 | |||
| 147 | /* module tea6415c: just ident 6415 */ | ||
| 148 | V4L2_IDENT_TEA6415C = 6415, | ||
| 149 | |||
| 150 | /* module tea6420: just ident 6420 */ | ||
| 151 | V4L2_IDENT_TEA6420 = 6420, | ||
| 152 | |||
| 153 | /* module saa6588: just ident 6588 */ | ||
| 154 | V4L2_IDENT_SAA6588 = 6588, | ||
| 155 | |||
| 156 | /* module vs6624: just ident 6624 */ | ||
| 157 | V4L2_IDENT_VS6624 = 6624, | ||
| 158 | |||
| 159 | /* module saa6752hs: reserved range 6750-6759 */ | ||
| 160 | V4L2_IDENT_SAA6752HS = 6752, | ||
| 161 | V4L2_IDENT_SAA6752HS_AC3 = 6753, | ||
| 162 | |||
| 163 | /* modules tef6862: just ident 6862 */ | ||
| 164 | V4L2_IDENT_TEF6862 = 6862, | ||
| 165 | |||
| 166 | /* module tvp7002: just ident 7002 */ | ||
| 167 | V4L2_IDENT_TVP7002 = 7002, | ||
| 168 | |||
| 169 | /* module adv7170: just ident 7170 */ | ||
| 170 | V4L2_IDENT_ADV7170 = 7170, | ||
| 171 | |||
| 172 | /* module adv7175: just ident 7175 */ | ||
| 173 | V4L2_IDENT_ADV7175 = 7175, | ||
| 174 | |||
| 175 | /* module adv7180: just ident 7180 */ | ||
| 176 | V4L2_IDENT_ADV7180 = 7180, | ||
| 177 | |||
| 178 | /* module adv7183: just ident 7183 */ | ||
| 179 | V4L2_IDENT_ADV7183 = 7183, | ||
| 180 | |||
| 181 | /* module saa7185: just ident 7185 */ | ||
| 182 | V4L2_IDENT_SAA7185 = 7185, | ||
| 183 | |||
| 184 | /* module saa7191: just ident 7191 */ | ||
| 185 | V4L2_IDENT_SAA7191 = 7191, | ||
| 186 | |||
| 187 | /* module ths7303: just ident 7303 */ | ||
| 188 | V4L2_IDENT_THS7303 = 7303, | ||
| 189 | |||
| 190 | /* module adv7343: just i | ||
