diff options
author | Mauro Carvalho Chehab <mchehab@brturbo.com.br> | 2005-11-09 00:36:52 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-11-09 10:56:12 -0500 |
commit | 5a25e84b3ca053f240dc8fa3320bc843a0a394f5 (patch) | |
tree | 4c07fa2b64975e1697b340c961048f36dcbdfe77 | |
parent | 2bfa1ac6ce854a7f895d5c9d6c273ef770fad9ae (diff) |
[PATCH] vl4: 693: bttv board renaming
- Boards renamed to BTTV_BOARD_xxx
Signed-off-by: Mauro Carvalho Chehab <mchehab@brturbo.com.br>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/media/video/bttv-cards.c | 737 | ||||
-rw-r--r-- | drivers/media/video/bttv-driver.c | 4 | ||||
-rw-r--r-- | drivers/media/video/bttv.h | 259 | ||||
-rw-r--r-- | drivers/media/video/ir-kbd-gpio.c | 26 |
4 files changed, 523 insertions, 503 deletions
diff --git a/drivers/media/video/bttv-cards.c b/drivers/media/video/bttv-cards.c index 12f38e8cd0a4..1553d4a1c20b 100644 --- a/drivers/media/video/bttv-cards.c +++ b/drivers/media/video/bttv-cards.c | |||
@@ -145,162 +145,162 @@ static struct CARD { | |||
145 | int cardnr; | 145 | int cardnr; |
146 | char *name; | 146 | char *name; |
147 | } cards[] __devinitdata = { | 147 | } cards[] __devinitdata = { |
148 | { 0x13eb0070, BTTV_HAUPPAUGE878, "Hauppauge WinTV" }, | 148 | { 0x13eb0070, BTTV_BOARD_HAUPPAUGE878, "Hauppauge WinTV" }, |
149 | { 0x39000070, BTTV_HAUPPAUGE878, "Hauppauge WinTV-D" }, | 149 | { 0x39000070, BTTV_BOARD_HAUPPAUGE878, "Hauppauge WinTV-D" }, |
150 | { 0x45000070, BTTV_HAUPPAUGEPVR, "Hauppauge WinTV/PVR" }, | 150 | { 0x45000070, BTTV_BOARD_HAUPPAUGEPVR, "Hauppauge WinTV/PVR" }, |
151 | { 0xff000070, BTTV_OSPREY1x0, "Osprey-100" }, | 151 | { 0xff000070, BTTV_BOARD_OSPREY1x0, "Osprey-100" }, |
152 | { 0xff010070, BTTV_OSPREY2x0_SVID,"Osprey-200" }, | 152 | { 0xff010070, BTTV_BOARD_OSPREY2x0_SVID,"Osprey-200" }, |
153 | { 0xff020070, BTTV_OSPREY500, "Osprey-500" }, | 153 | { 0xff020070, BTTV_BOARD_OSPREY500, "Osprey-500" }, |
154 | { 0xff030070, BTTV_OSPREY2000, "Osprey-2000" }, | 154 | { 0xff030070, BTTV_BOARD_OSPREY2000, "Osprey-2000" }, |
155 | { 0xff040070, BTTV_OSPREY540, "Osprey-540" }, | 155 | { 0xff040070, BTTV_BOARD_OSPREY540, "Osprey-540" }, |
156 | 156 | ||
157 | { 0x00011002, BTTV_ATI_TVWONDER, "ATI TV Wonder" }, | 157 | { 0x00011002, BTTV_BOARD_ATI_TVWONDER, "ATI TV Wonder" }, |
158 | { 0x00031002, BTTV_ATI_TVWONDERVE,"ATI TV Wonder/VE" }, | 158 | { 0x00031002, BTTV_BOARD_ATI_TVWONDERVE,"ATI TV Wonder/VE" }, |
159 | 159 | ||
160 | { 0x6606107d, BTTV_WINFAST2000, "Leadtek WinFast TV 2000" }, | 160 | { 0x6606107d, BTTV_BOARD_WINFAST2000, "Leadtek WinFast TV 2000" }, |
161 | { 0x6607107d, BTTV_WINFASTVC100, "Leadtek WinFast VC 100" }, | 161 | { 0x6607107d, BTTV_BOARD_WINFASTVC100, "Leadtek WinFast VC 100" }, |
162 | { 0x6609107d, BTTV_WINFAST2000, "Leadtek TV 2000 XP" }, | 162 | { 0x6609107d, BTTV_BOARD_WINFAST2000, "Leadtek TV 2000 XP" }, |
163 | { 0x263610b4, BTTV_STB2, "STB TV PCI FM, Gateway P/N 6000704" }, | 163 | { 0x263610b4, BTTV_BOARD_STB2, "STB TV PCI FM, Gateway P/N 6000704" }, |
164 | { 0x264510b4, BTTV_STB2, "STB TV PCI FM, Gateway P/N 6000704" }, | 164 | { 0x264510b4, BTTV_BOARD_STB2, "STB TV PCI FM, Gateway P/N 6000704" }, |
165 | { 0x402010fc, BTTV_GVBCTV3PCI, "I-O Data Co. GV-BCTV3/PCI" }, | 165 | { 0x402010fc, BTTV_BOARD_GVBCTV3PCI, "I-O Data Co. GV-BCTV3/PCI" }, |
166 | { 0x405010fc, BTTV_GVBCTV4PCI, "I-O Data Co. GV-BCTV4/PCI" }, | 166 | { 0x405010fc, BTTV_BOARD_GVBCTV4PCI, "I-O Data Co. GV-BCTV4/PCI" }, |
167 | { 0x407010fc, BTTV_GVBCTV5PCI, "I-O Data Co. GV-BCTV5/PCI" }, | 167 | { 0x407010fc, BTTV_BOARD_GVBCTV5PCI, "I-O Data Co. GV-BCTV5/PCI" }, |
168 | { 0xd01810fc, BTTV_GVBCTV5PCI, "I-O Data Co. GV-BCTV5/PCI" }, | 168 | { 0xd01810fc, BTTV_BOARD_GVBCTV5PCI, "I-O Data Co. GV-BCTV5/PCI" }, |
169 | 169 | ||
170 | { 0x001211bd, BTTV_PINNACLE, "Pinnacle PCTV" }, | 170 | { 0x001211bd, BTTV_BOARD_PINNACLE, "Pinnacle PCTV" }, |
171 | /* some cards ship with byteswapped IDs ... */ | 171 | /* some cards ship with byteswapped IDs ... */ |
172 | { 0x1200bd11, BTTV_PINNACLE, "Pinnacle PCTV [bswap]" }, | 172 | { 0x1200bd11, BTTV_BOARD_PINNACLE, "Pinnacle PCTV [bswap]" }, |
173 | { 0xff00bd11, BTTV_PINNACLE, "Pinnacle PCTV [bswap]" }, | 173 | { 0xff00bd11, BTTV_BOARD_PINNACLE, "Pinnacle PCTV [bswap]" }, |
174 | /* this seems to happen as well ... */ | 174 | /* this seems to happen as well ... */ |
175 | { 0xff1211bd, BTTV_PINNACLE, "Pinnacle PCTV" }, | 175 | { 0xff1211bd, BTTV_BOARD_PINNACLE, "Pinnacle PCTV" }, |
176 | 176 | ||
177 | { 0x3000121a, BTTV_VOODOOTV_FM, "3Dfx VoodooTV FM/ VoodooTV 200" }, | 177 | { 0x3000121a, BTTV_BOARD_VOODOOTV_FM, "3Dfx VoodooTV FM/ VoodooTV 200" }, |
178 | { 0x263710b4, BTTV_VOODOOTV_FM, "3Dfx VoodooTV FM/ VoodooTV 200" }, | 178 | { 0x263710b4, BTTV_BOARD_VOODOOTV_FM, "3Dfx VoodooTV FM/ VoodooTV 200" }, |
179 | { 0x3060121a, BTTV_STB2, "3Dfx VoodooTV 100/ STB OEM" }, | 179 | { 0x3060121a, BTTV_BOARD_STB2, "3Dfx VoodooTV 100/ STB OEM" }, |
180 | 180 | ||
181 | { 0x3000144f, BTTV_MAGICTVIEW063, "(Askey Magic/others) TView99 CPH06x" }, | 181 | { 0x3000144f, BTTV_BOARD_MAGICTVIEW063, "(Askey Magic/others) TView99 CPH06x" }, |
182 | { 0xa005144f, BTTV_MAGICTVIEW063, "CPH06X TView99-Card" }, | 182 | { 0xa005144f, BTTV_BOARD_MAGICTVIEW063, "CPH06X TView99-Card" }, |
183 | { 0x3002144f, BTTV_MAGICTVIEW061, "(Askey Magic/others) TView99 CPH05x" }, | 183 | { 0x3002144f, BTTV_BOARD_MAGICTVIEW061, "(Askey Magic/others) TView99 CPH05x" }, |
184 | { 0x3005144f, BTTV_MAGICTVIEW061, "(Askey Magic/others) TView99 CPH061/06L (T1/LC)" }, | 184 | { 0x3005144f, BTTV_BOARD_MAGICTVIEW061, "(Askey Magic/others) TView99 CPH061/06L (T1/LC)" }, |
185 | { 0x5000144f, BTTV_MAGICTVIEW061, "Askey CPH050" }, | 185 | { 0x5000144f, BTTV_BOARD_MAGICTVIEW061, "Askey CPH050" }, |
186 | { 0x300014ff, BTTV_MAGICTVIEW061, "TView 99 (CPH061)" }, | 186 | { 0x300014ff, BTTV_BOARD_MAGICTVIEW061, "TView 99 (CPH061)" }, |
187 | { 0x300214ff, BTTV_PHOEBE_TVMAS, "Phoebe TV Master (CPH060)" }, | 187 | { 0x300214ff, BTTV_BOARD_PHOEBE_TVMAS, "Phoebe TV Master (CPH060)" }, |
188 | 188 | ||
189 | { 0x00011461, BTTV_AVPHONE98, "AVerMedia TVPhone98" }, | 189 | { 0x00011461, BTTV_BOARD_AVPHONE98, "AVerMedia TVPhone98" }, |
190 | { 0x00021461, BTTV_AVERMEDIA98, "AVermedia TVCapture 98" }, | 190 | { 0x00021461, BTTV_BOARD_AVERMEDIA98, "AVermedia TVCapture 98" }, |
191 | { 0x00031461, BTTV_AVPHONE98, "AVerMedia TVPhone98" }, | 191 | { 0x00031461, BTTV_BOARD_AVPHONE98, "AVerMedia TVPhone98" }, |
192 | { 0x00041461, BTTV_AVERMEDIA98, "AVerMedia TVCapture 98" }, | 192 | { 0x00041461, BTTV_BOARD_AVERMEDIA98, "AVerMedia TVCapture 98" }, |
193 | { 0x03001461, BTTV_AVERMEDIA98, "VDOMATE TV TUNER CARD" }, | 193 | { 0x03001461, BTTV_BOARD_AVERMEDIA98, "VDOMATE TV TUNER CARD" }, |
194 | 194 | ||
195 | { 0x1117153b, BTTV_TERRATVALUE, "Terratec TValue (Philips PAL B/G)" }, | 195 | { 0x1117153b, BTTV_BOARD_TERRATVALUE, "Terratec TValue (Philips PAL B/G)" }, |
196 | { 0x1118153b, BTTV_TERRATVALUE, "Terratec TValue (Temic PAL B/G)" }, | 196 | { 0x1118153b, BTTV_BOARD_TERRATVALUE, "Terratec TValue (Temic PAL B/G)" }, |
197 | { 0x1119153b, BTTV_TERRATVALUE, "Terratec TValue (Philips PAL I)" }, | 197 | { 0x1119153b, BTTV_BOARD_TERRATVALUE, "Terratec TValue (Philips PAL I)" }, |
198 | { 0x111a153b, BTTV_TERRATVALUE, "Terratec TValue (Temic PAL I)" }, | 198 | { 0x111a153b, BTTV_BOARD_TERRATVALUE, "Terratec TValue (Temic PAL I)" }, |
199 | 199 | ||
200 | { 0x1123153b, BTTV_TERRATVRADIO, "Terratec TV Radio+" }, | 200 | { 0x1123153b, BTTV_BOARD_TERRATVRADIO, "Terratec TV Radio+" }, |
201 | { 0x1127153b, BTTV_TERRATV, "Terratec TV+ (V1.05)" }, | 201 | { 0x1127153b, BTTV_BOARD_TERRATV, "Terratec TV+ (V1.05)" }, |
202 | /* clashes with FlyVideo | 202 | /* clashes with FlyVideo |
203 | *{ 0x18521852, BTTV_TERRATV, "Terratec TV+ (V1.10)" }, */ | 203 | *{ 0x18521852, BTTV_BOARD_TERRATV, "Terratec TV+ (V1.10)" }, */ |
204 | { 0x1134153b, BTTV_TERRATVALUE, "Terratec TValue (LR102)" }, | 204 | { 0x1134153b, BTTV_BOARD_TERRATVALUE, "Terratec TValue (LR102)" }, |
205 | { 0x1135153b, BTTV_TERRATVALUER, "Terratec TValue Radio" }, /* LR102 */ | 205 | { 0x1135153b, BTTV_BOARD_TERRATVALUER, "Terratec TValue Radio" }, /* LR102 */ |
206 | { 0x5018153b, BTTV_TERRATVALUE, "Terratec TValue" }, /* ?? */ | 206 | { 0x5018153b, BTTV_BOARD_TERRATVALUE, "Terratec TValue" }, /* ?? */ |
207 | { 0xff3b153b, BTTV_TERRATVALUER, "Terratec TValue Radio" }, /* ?? */ | 207 | { 0xff3b153b, BTTV_BOARD_TERRATVALUER, "Terratec TValue Radio" }, /* ?? */ |
208 | 208 | ||
209 | { 0x400015b0, BTTV_ZOLTRIX_GENIE, "Zoltrix Genie TV" }, | 209 | { 0x400015b0, BTTV_BOARD_ZOLTRIX_GENIE, "Zoltrix Genie TV" }, |
210 | { 0x400a15b0, BTTV_ZOLTRIX_GENIE, "Zoltrix Genie TV" }, | 210 | { 0x400a15b0, BTTV_BOARD_ZOLTRIX_GENIE, "Zoltrix Genie TV" }, |
211 | { 0x400d15b0, BTTV_ZOLTRIX_GENIE, "Zoltrix Genie TV / Radio" }, | 211 | { 0x400d15b0, BTTV_BOARD_ZOLTRIX_GENIE, "Zoltrix Genie TV / Radio" }, |
212 | { 0x401015b0, BTTV_ZOLTRIX_GENIE, "Zoltrix Genie TV / Radio" }, | 212 | { 0x401015b0, BTTV_BOARD_ZOLTRIX_GENIE, "Zoltrix Genie TV / Radio" }, |
213 | { 0x401615b0, BTTV_ZOLTRIX_GENIE, "Zoltrix Genie TV / Radio" }, | 213 | { 0x401615b0, BTTV_BOARD_ZOLTRIX_GENIE, "Zoltrix Genie TV / Radio" }, |
214 | 214 | ||
215 | { 0x1430aa00, BTTV_PV143, "Provideo PV143A" }, | 215 | { 0x1430aa00, BTTV_BOARD_PV143, "Provideo PV143A" }, |
216 | { 0x1431aa00, BTTV_PV143, "Provideo PV143B" }, | 216 | { 0x1431aa00, BTTV_BOARD_PV143, "Provideo PV143B" }, |
217 | { 0x1432aa00, BTTV_PV143, "Provideo PV143C" }, | 217 | { 0x1432aa00, BTTV_BOARD_PV143, "Provideo PV143C" }, |
218 | { 0x1433aa00, BTTV_PV143, "Provideo PV143D" }, | 218 | { 0x1433aa00, BTTV_BOARD_PV143, "Provideo PV143D" }, |
219 | { 0x1433aa03, BTTV_PV143, "Security Eyes" }, | 219 | { 0x1433aa03, BTTV_BOARD_PV143, "Security Eyes" }, |
220 | 220 | ||
221 | { 0x1460aa00, BTTV_PV150, "Provideo PV150A-1" }, | 221 | { 0x1460aa00, BTTV_BOARD_PV150, "Provideo PV150A-1" }, |
222 | { 0x1461aa01, BTTV_PV150, "Provideo PV150A-2" }, | 222 | { 0x1461aa01, BTTV_BOARD_PV150, "Provideo PV150A-2" }, |
223 | { 0x1462aa02, BTTV_PV150, "Provideo PV150A-3" }, | 223 | { 0x1462aa02, BTTV_BOARD_PV150, "Provideo PV150A-3" }, |
224 | { 0x1463aa03, BTTV_PV150, "Provideo PV150A-4" }, | 224 | { 0x1463aa03, BTTV_BOARD_PV150, "Provideo PV150A-4" }, |
225 | 225 | ||
226 | { 0x1464aa04, BTTV_PV150, "Provideo PV150B-1" }, | 226 | { 0x1464aa04, BTTV_BOARD_PV150, "Provideo PV150B-1" }, |
227 | { 0x1465aa05, BTTV_PV150, "Provideo PV150B-2" }, | 227 | { 0x1465aa05, BTTV_BOARD_PV150, "Provideo PV150B-2" }, |
228 | { 0x1466aa06, BTTV_PV150, "Provideo PV150B-3" }, | 228 | { 0x1466aa06, BTTV_BOARD_PV150, "Provideo PV150B-3" }, |
229 | { 0x1467aa07, BTTV_PV150, "Provideo PV150B-4" }, | 229 | { 0x1467aa07, BTTV_BOARD_PV150, "Provideo PV150B-4" }, |
230 | 230 | ||
231 | { 0xa132ff00, BTTV_IVC100, "IVC-100" }, | 231 | { 0xa132ff00, BTTV_BOARD_IVC100, "IVC-100" }, |
232 | { 0xa1550000, BTTV_IVC200, "IVC-200" }, | 232 | { 0xa1550000, BTTV_BOARD_IVC200, "IVC-200" }, |
233 | { 0xa1550001, BTTV_IVC200, "IVC-200" }, | 233 | { 0xa1550001, BTTV_BOARD_IVC200, "IVC-200" }, |
234 | { 0xa1550002, BTTV_IVC200, "IVC-200" }, | 234 | { 0xa1550002, BTTV_BOARD_IVC200, "IVC-200" }, |
235 | { 0xa1550003, BTTV_IVC200, "IVC-200" }, | 235 | { 0xa1550003, BTTV_BOARD_IVC200, "IVC-200" }, |
236 | { 0xa1550100, BTTV_IVC200, "IVC-200G" }, | 236 | { 0xa1550100, BTTV_BOARD_IVC200, "IVC-200G" }, |
237 | { 0xa1550101, BTTV_IVC200, "IVC-200G" }, | 237 | { 0xa1550101, BTTV_BOARD_IVC200, "IVC-200G" }, |
238 | { 0xa1550102, BTTV_IVC200, "IVC-200G" }, | 238 | { 0xa1550102, BTTV_BOARD_IVC200, "IVC-200G" }, |
239 | { 0xa1550103, BTTV_IVC200, "IVC-200G" }, | 239 | { 0xa1550103, BTTV_BOARD_IVC200, "IVC-200G" }, |
240 | { 0xa182ff00, BTTV_IVC120, "IVC-120G" }, | 240 | { 0xa182ff00, BTTV_BOARD_IVC120, "IVC-120G" }, |
241 | { 0xa182ff01, BTTV_IVC120, "IVC-120G" }, | 241 | { 0xa182ff01, BTTV_BOARD_IVC120, "IVC-120G" }, |
242 | { 0xa182ff02, BTTV_IVC120, "IVC-120G" }, | 242 | { 0xa182ff02, BTTV_BOARD_IVC120, "IVC-120G" }, |
243 | { 0xa182ff03, BTTV_IVC120, "IVC-120G" }, | 243 | { 0xa182ff03, BTTV_BOARD_IVC120, "IVC-120G" }, |
244 | { 0xa182ff04, BTTV_IVC120, "IVC-120G" }, | 244 | { 0xa182ff04, BTTV_BOARD_IVC120, "IVC-120G" }, |
245 | { 0xa182ff05, BTTV_IVC120, "IVC-120G" }, | 245 | { 0xa182ff05, BTTV_BOARD_IVC120, "IVC-120G" }, |
246 | { 0xa182ff06, BTTV_IVC120, "IVC-120G" }, | 246 | { 0xa182ff06, BTTV_BOARD_IVC120, "IVC-120G" }, |
247 | { 0xa182ff07, BTTV_IVC120, "IVC-120G" }, | 247 | { 0xa182ff07, BTTV_BOARD_IVC120, "IVC-120G" }, |
248 | { 0xa182ff08, BTTV_IVC120, "IVC-120G" }, | 248 | { 0xa182ff08, BTTV_BOARD_IVC120, "IVC-120G" }, |
249 | { 0xa182ff09, BTTV_IVC120, "IVC-120G" }, | 249 | { 0xa182ff09, BTTV_BOARD_IVC120, "IVC-120G" }, |
250 | { 0xa182ff0a, BTTV_IVC120, "IVC-120G" }, | 250 | { 0xa182ff0a, BTTV_BOARD_IVC120, "IVC-120G" }, |
251 | { 0xa182ff0b, BTTV_IVC120, "IVC-120G" }, | 251 | { 0xa182ff0b, BTTV_BOARD_IVC120, "IVC-120G" }, |
252 | { 0xa182ff0c, BTTV_IVC120, "IVC-120G" }, | 252 | { 0xa182ff0c, BTTV_BOARD_IVC120, "IVC-120G" }, |
253 | { 0xa182ff0d, BTTV_IVC120, "IVC-120G" }, | 253 | { 0xa182ff0d, BTTV_BOARD_IVC120, "IVC-120G" }, |
254 | { 0xa182ff0e, BTTV_IVC120, "IVC-120G" }, | 254 | { 0xa182ff0e, BTTV_BOARD_IVC120, "IVC-120G" }, |
255 | { 0xa182ff0f, BTTV_IVC120, "IVC-120G" }, | 255 | { 0xa182ff0f, BTTV_BOARD_IVC120, "IVC-120G" }, |
256 | 256 | ||
257 | { 0x41424344, BTTV_GRANDTEC, "GrandTec Multi Capture" }, | 257 | { 0x41424344, BTTV_BOARD_GRANDTEC, "GrandTec Multi Capture" }, |
258 | { 0x01020304, BTTV_XGUARD, "Grandtec Grand X-Guard" }, | 258 | { 0x01020304, BTTV_BOARD_XGUARD, "Grandtec Grand X-Guard" }, |
259 | 259 | ||
260 | { 0x18501851, BTTV_CHRONOS_VS2, "FlyVideo 98 (LR50)/ Chronos Video Shuttle II" }, | 260 | { 0x18501851, BTTV_BOARD_CHRONOS_VS2, "FlyVideo 98 (LR50)/ Chronos Video Shuttle II" }, |
261 | { 0xa0501851, BTTV_CHRONOS_VS2, "FlyVideo 98 (LR50)/ Chronos Video Shuttle II" }, | 261 | { 0xa0501851, BTTV_BOARD_CHRONOS_VS2, "FlyVideo 98 (LR50)/ Chronos Video Shuttle II" }, |
262 | { 0x18511851, BTTV_FLYVIDEO98EZ, "FlyVideo 98EZ (LR51)/ CyberMail AV" }, | 262 | { 0x18511851, BTTV_BOARD_FLYVIDEO98EZ, "FlyVideo 98EZ (LR51)/ CyberMail AV" }, |
263 | { 0x18521852, BTTV_TYPHOON_TVIEW, "FlyVideo 98FM (LR50)/ Typhoon TView TV/FM Tuner" }, | 263 | { 0x18521852, BTTV_BOARD_TYPHOON_TVIEW, "FlyVideo 98FM (LR50)/ Typhoon TView TV/FM Tuner" }, |
264 | { 0x41a0a051, BTTV_FLYVIDEO_98FM, "Lifeview FlyVideo 98 LR50 Rev Q" }, | 264 | { 0x41a0a051, BTTV_BOARD_FLYVIDEO_98FM, "Lifeview FlyVideo 98 LR50 Rev Q" }, |
265 | { 0x18501f7f, BTTV_FLYVIDEO_98, "Lifeview Flyvideo 98" }, | 265 | { 0x18501f7f, BTTV_BOARD_FLYVIDEO_98, "Lifeview Flyvideo 98" }, |
266 | 266 | ||
267 | { 0x010115cb, BTTV_GMV1, "AG GMV1" }, | 267 | { 0x010115cb, BTTV_BOARD_GMV1, "AG GMV1" }, |
268 | { 0x010114c7, BTTV_MODTEC_205, "Modular Technology MM201/MM202/MM205/MM210/MM215 PCTV" }, | 268 | { 0x010114c7, BTTV_BOARD_MODTEC_205, "Modular Technology MM201/MM202/MM205/MM210/MM215 PCTV" }, |
269 | 269 | ||
270 | { 0x10b42636, BTTV_HAUPPAUGE878, "STB ???" }, | 270 | { 0x10b42636, BTTV_BOARD_HAUPPAUGE878, "STB ???" }, |
271 | { 0x217d6606, BTTV_WINFAST2000, "Leadtek WinFast TV 2000" }, | 271 | { 0x217d6606, BTTV_BOARD_WINFAST2000, "Leadtek WinFast TV 2000" }, |
272 | { 0xfff6f6ff, BTTV_WINFAST2000, "Leadtek WinFast TV 2000" }, | 272 | { 0xfff6f6ff, BTTV_BOARD_WINFAST2000, "Leadtek WinFast TV 2000" }, |
273 | { 0x03116000, BTTV_SENSORAY311, "Sensoray 311" }, | 273 | { 0x03116000, BTTV_BOARD_SENSORAY311, "Sensoray 311" }, |
274 | { 0x00790e11, BTTV_WINDVR, "Canopus WinDVR PCI" }, | 274 | { 0x00790e11, BTTV_BOARD_WINDVR, "Canopus WinDVR PCI" }, |
275 | { 0xa0fca1a0, BTTV_ZOLTRIX, "Face to Face Tvmax" }, | 275 | { 0xa0fca1a0, BTTV_BOARD_ZOLTRIX, "Face to Face Tvmax" }, |
276 | { 0x20007063, BTTV_PC_HDTV, "pcHDTV HD-2000 TV"}, | 276 | { 0x20007063, BTTV_BOARD_PC_HDTV, "pcHDTV HD-2000 TV"}, |
277 | { 0x82b2aa6a, BTTV_SIMUS_GVC1100, "SIMUS GVC1100" }, | 277 | { 0x82b2aa6a, BTTV_BOARD_SIMUS_GVC1100, "SIMUS GVC1100" }, |
278 | { 0x146caa0c, BTTV_PV951, "ituner spectra8" }, | 278 | { 0x146caa0c, BTTV_BOARD_PV951, "ituner spectra8" }, |
279 | { 0x200a1295, BTTV_PXC200, "ImageNation PXC200A" }, | 279 | { 0x200a1295, BTTV_BOARD_PXC200, "ImageNation PXC200A" }, |
280 | 280 | ||
281 | { 0x40111554, BTTV_PV_BT878P_9B, "Prolink Pixelview PV-BT" }, | 281 | { 0x40111554, BTTV_BOARD_PV_BT878P_9B, "Prolink Pixelview PV-BT" }, |
282 | { 0x17de0a01, BTTV_KWORLD, "Mecer TV/FM/Video Tuner" }, | 282 | { 0x17de0a01, BTTV_BOARD_KWORLD, "Mecer TV/FM/Video Tuner" }, |
283 | 283 | ||
284 | { 0x01051805, BTTV_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #1" }, | 284 | { 0x01051805, BTTV_BOARD_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #1" }, |
285 | { 0x01061805, BTTV_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #2" }, | 285 | { 0x01061805, BTTV_BOARD_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #2" }, |
286 | { 0x01071805, BTTV_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #3" }, | 286 | { 0x01071805, BTTV_BOARD_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #3" }, |
287 | { 0x01081805, BTTV_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #4" }, | 287 | { 0x01081805, BTTV_BOARD_PICOLO_TETRA_CHIP, "Picolo Tetra Chip #4" }, |
288 | 288 | ||
289 | { 0x15409511, BTTV_ACORP_Y878F, "Acorp Y878F" }, | 289 | { 0x15409511, BTTV_BOARD_ACORP_Y878F, "Acorp Y878F" }, |
290 | 290 | ||
291 | /* likely broken, vendor id doesn't match the other magic views ... | 291 | /* likely broken, vendor id doesn't match the other magic views ... |
292 | * { 0xa0fca04f, BTTV_MAGICTVIEW063, "Guillemot Maxi TV Video 3" }, */ | 292 | * { 0xa0fca04f, BTTV_BOARD_MAGICTVIEW063, "Guillemot Maxi TV Video 3" }, */ |
293 | 293 | ||
294 | /* DVB cards (using pci function .1 for mpeg data xfer) */ | 294 | /* DVB cards (using pci function .1 for mpeg data xfer) */ |
295 | { 0x01010071, BTTV_NEBULA_DIGITV, "Nebula Electronics DigiTV" }, | 295 | { 0x01010071, BTTV_BOARD_NEBULA_DIGITV, "Nebula Electronics DigiTV" }, |
296 | { 0x07611461, BTTV_AVDVBT_761, "AverMedia AverTV DVB-T 761" }, | 296 | { 0x07611461, BTTV_BOARD_AVDVBT_761, "AverMedia AverTV DVB-T 761" }, |
297 | { 0x001c11bd, BTTV_PINNACLESAT, "Pinnacle PCTV Sat" }, | 297 | { 0x001c11bd, BTTV_BOARD_PINNACLESAT, "Pinnacle PCTV Sat" }, |
298 | { 0x002611bd, BTTV_TWINHAN_DST, "Pinnacle PCTV SAT CI" }, | 298 | { 0x002611bd, BTTV_BOARD_TWINHAN_DST, "Pinnacle PCTV SAT CI" }, |
299 | { 0x00011822, BTTV_TWINHAN_DST, "Twinhan VisionPlus DVB" }, | 299 | { 0x00011822, BTTV_BOARD_TWINHAN_DST, "Twinhan VisionPlus DVB" }, |
300 | { 0xfc00270f, BTTV_TWINHAN_DST, "ChainTech digitop DST-1000 DVB-S" }, | 300 | { 0xfc00270f, BTTV_BOARD_TWINHAN_DST, "ChainTech digitop DST-1000 DVB-S" }, |
301 | { 0x07711461, BTTV_AVDVBT_771, "AVermedia AverTV DVB-T 771" }, | 301 | { 0x07711461, BTTV_BOARD_AVDVBT_771, "AVermedia AverTV DVB-T 771" }, |
302 | { 0xdb1018ac, BTTV_DVICO_DVBT_LITE, "DViCO FusionHDTV DVB-T Lite" }, | 302 | { 0xdb1018ac, BTTV_BOARD_DVICO_DVBT_LITE, "DViCO FusionHDTV DVB-T Lite" }, |
303 | { 0xd50018ac, BTTV_DVICO_FUSIONHDTV_5_LITE, "DViCO FusionHDTV 5 Lite" }, | 303 | { 0xd50018ac, BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE, "DViCO FusionHDTV 5 Lite" }, |
304 | 304 | ||
305 | { 0, -1, NULL } | 305 | { 0, -1, NULL } |
306 | }; | 306 | }; |
@@ -309,8 +309,8 @@ static struct CARD { | |||
309 | /* array with description for bt848 / bt878 tv/grabber cards */ | 309 | /* array with description for bt848 / bt878 tv/grabber cards */ |
310 | 310 | ||
311 | struct tvcard bttv_tvcards[] = { | 311 | struct tvcard bttv_tvcards[] = { |
312 | [BTTV_UNKNOWN] = { | ||
313 | /* ---- card 0x00 ---------------------------------- */ | 312 | /* ---- card 0x00 ---------------------------------- */ |
313 | [BTTV_BOARD_UNKNOWN] = { | ||
314 | .name = " *** UNKNOWN/GENERIC *** ", | 314 | .name = " *** UNKNOWN/GENERIC *** ", |
315 | .video_inputs = 4, | 315 | .video_inputs = 4, |
316 | .audio_inputs = 1, | 316 | .audio_inputs = 1, |
@@ -320,7 +320,7 @@ struct tvcard bttv_tvcards[] = { | |||
320 | .tuner_type = -1, | 320 | .tuner_type = -1, |
321 | .tuner_addr = ADDR_UNSET, | 321 | .tuner_addr = ADDR_UNSET, |
322 | }, | 322 | }, |
323 | [BTTV_MIRO] = { | 323 | [BTTV_BOARD_MIRO] = { |
324 | .name = "MIRO PCTV", | 324 | .name = "MIRO PCTV", |
325 | .video_inputs = 4, | 325 | .video_inputs = 4, |
326 | .audio_inputs = 1, | 326 | .audio_inputs = 1, |
@@ -333,7 +333,7 @@ struct tvcard bttv_tvcards[] = { | |||
333 | .tuner_type = -1, | 333 | .tuner_type = -1, |
334 | .tuner_addr = ADDR_UNSET, | 334 | .tuner_addr = ADDR_UNSET, |
335 | }, | 335 | }, |
336 | [BTTV_HAUPPAUGE] = { | 336 | [BTTV_BOARD_HAUPPAUGE] = { |
337 | .name = "Hauppauge (bt848)", | 337 | .name = "Hauppauge (bt848)", |
338 | .video_inputs = 4, | 338 | .video_inputs = 4, |
339 | .audio_inputs = 1, | 339 | .audio_inputs = 1, |
@@ -346,7 +346,7 @@ struct tvcard bttv_tvcards[] = { | |||
346 | .tuner_type = -1, | 346 | .tuner_type = -1, |
347 | .tuner_addr = ADDR_UNSET, | 347 | .tuner_addr = ADDR_UNSET, |
348 | }, | 348 | }, |
349 | [BTTV_STB] = { | 349 | [BTTV_BOARD_STB] = { |
350 | .name = "STB, Gateway P/N 6000699 (bt848)", | 350 | .name = "STB, Gateway P/N 6000699 (bt848)", |
351 | .video_inputs = 3, | 351 | .video_inputs = 3, |
352 | .audio_inputs = 1, | 352 | .audio_inputs = 1, |
@@ -364,7 +364,7 @@ struct tvcard bttv_tvcards[] = { | |||
364 | }, | 364 | }, |
365 | 365 | ||
366 | /* ---- card 0x04 ---------------------------------- */ | 366 | /* ---- card 0x04 ---------------------------------- */ |
367 | [BTTV_INTEL] = { | 367 | [BTTV_BOARD_INTEL] = { |
368 | .name = "Intel Create and Share PCI/ Smart Video Recorder III", | 368 | .name = "Intel Create and Share PCI/ Smart Video Recorder III", |
369 | .video_inputs = 4, | 369 | .video_inputs = 4, |
370 | .audio_inputs = 0, | 370 | .audio_inputs = 0, |
@@ -377,7 +377,7 @@ struct tvcard bttv_tvcards[] = { | |||
377 | .tuner_type = 4, | 377 | .tuner_type = 4, |
378 | .tuner_addr = ADDR_UNSET, | 378 | .tuner_addr = ADDR_UNSET, |
379 | }, | 379 | }, |
380 | [BTTV_DIAMOND] = { | 380 | [BTTV_BOARD_DIAMOND] = { |
381 | .name = "Diamond DTV2000", | 381 | .name = "Diamond DTV2000", |
382 | .video_inputs = 4, | 382 | .video_inputs = 4, |
383 | .audio_inputs = 1, | 383 | .audio_inputs = 1, |
@@ -390,7 +390,7 @@ struct tvcard bttv_tvcards[] = { | |||
390 | .tuner_type = -1, | 390 | .tuner_type = -1, |
391 | .tuner_addr = ADDR_UNSET, | 391 | .tuner_addr = ADDR_UNSET, |
392 | }, | 392 | }, |
393 | [BTTV_AVERMEDIA] = { | 393 | [BTTV_BOARD_AVERMEDIA] = { |
394 | .name = "AVerMedia TVPhone", | 394 | .name = "AVerMedia TVPhone", |
395 | .video_inputs = 3, | 395 | .video_inputs = 3, |
396 | .audio_inputs = 1, | 396 | .audio_inputs = 1, |
@@ -406,7 +406,7 @@ struct tvcard bttv_tvcards[] = { | |||
406 | .audio_hook = avermedia_tvphone_audio, | 406 | .audio_hook = avermedia_tvphone_audio, |
407 | .has_remote = 1, | 407 | .has_remote = 1, |
408 | }, | 408 | }, |
409 | [BTTV_MATRIX_VISION] = { | 409 | [BTTV_BOARD_MATRIX_VISION] = { |
410 | .name = "MATRIX-Vision MV-Delta", | 410 | .name = "MATRIX-Vision MV-Delta", |
411 | .video_inputs = 5, | 411 | .video_inputs = 5, |
412 | .audio_inputs = 1, | 412 | .audio_inputs = 1, |
@@ -421,7 +421,7 @@ struct tvcard bttv_tvcards[] = { | |||
421 | }, | 421 | }, |
422 | 422 | ||
423 | /* ---- card 0x08 ---------------------------------- */ | 423 | /* ---- card 0x08 ---------------------------------- */ |
424 | [BTTV_FLYVIDEO] = { | 424 | [BTTV_BOARD_FLYVIDEO] = { |
425 | .name = "Lifeview FlyVideo II (Bt848) LR26 / MAXI TV Video PCI2 LR26", | 425 | .name = "Lifeview FlyVideo II (Bt848) LR26 / MAXI TV Video PCI2 LR26", |
426 | .video_inputs = 4, | 426 | .video_inputs = 4, |
427 | .audio_inputs = 1, | 427 | .audio_inputs = 1, |
@@ -435,7 +435,7 @@ struct tvcard bttv_tvcards[] = { | |||
435 | .tuner_type = -1, | 435 | .tuner_type = -1, |
436 | .tuner_addr = ADDR_UNSET, | 436 | .tuner_addr = ADDR_UNSET, |
437 | }, | 437 | }, |
438 | [BTTV_TURBOTV] = { | 438 | [BTTV_BOARD_TURBOTV] = { |
439 | .name = "IMS/IXmicro TurboTV", | 439 | .name = "IMS/IXmicro TurboTV", |
440 | .video_inputs = 3, | 440 | .video_inputs = 3, |
441 | .audio_inputs = 1, | 441 | .audio_inputs = 1, |
@@ -449,7 +449,7 @@ struct tvcard bttv_tvcards[] = { | |||
449 | .tuner_type = TUNER_TEMIC_PAL, | 449 | .tuner_type = TUNER_TEMIC_PAL, |
450 | .tuner_addr = ADDR_UNSET, | 450 | .tuner_addr = ADDR_UNSET, |
451 | }, | 451 | }, |
452 | [BTTV_HAUPPAUGE878] = { | 452 | [BTTV_BOARD_HAUPPAUGE878] = { |
453 | .name = "Hauppauge (bt878)", | 453 | .name = "Hauppauge (bt878)", |
454 | .video_inputs = 4, | 454 | .video_inputs = 4, |
455 | .audio_inputs = 1, | 455 | .audio_inputs = 1, |
@@ -463,7 +463,7 @@ struct tvcard bttv_tvcards[] = { | |||
463 | .tuner_type = -1, | 463 | .tuner_type = -1, |
464 | .tuner_addr = ADDR_UNSET, | 464 | .tuner_addr = ADDR_UNSET, |
465 | }, | 465 | }, |
466 | [BTTV_MIROPRO] = { | 466 | [BTTV_BOARD_MIROPRO] = { |
467 | .name = "MIRO PCTV pro", | 467 | .name = "MIRO PCTV pro", |
468 | .video_inputs = 3, | 468 | .video_inputs = 3, |
469 | .audio_inputs = 1, | 469 | .audio_inputs = 1, |
@@ -478,7 +478,7 @@ struct tvcard bttv_tvcards[] = { | |||
478 | }, | 478 | }, |
479 | 479 | ||
480 | /* ---- card 0x0c ---------------------------------- */ | 480 | /* ---- card 0x0c ---------------------------------- */ |
481 | [BTTV_ADSTECH_TV] = { | 481 | [BTTV_BOARD_ADSTECH_TV] = { |
482 | .name = "ADS Technologies Channel Surfer TV (bt848)", | 482 | .name = "ADS Technologies Channel Surfer TV (bt848)", |
483 | .video_inputs = 3, | 483 | .video_inputs = 3, |
484 | .audio_inputs = 1, | 484 | .audio_inputs = 1, |
@@ -491,7 +491,7 @@ struct tvcard bttv_tvcards[] = { | |||
491 | .tuner_type = -1, | 491 | .tuner_type = -1, |
492 | .tuner_addr = ADDR_UNSET, | 492 | .tuner_addr = ADDR_UNSET, |
493 | }, | 493 | }, |
494 | [BTTV_AVERMEDIA98] = { | 494 | [BTTV_BOARD_AVERMEDIA98] = { |
495 | .name = "AVerMedia TVCapture 98", | 495 | .name = "AVerMedia TVCapture 98", |
496 | .video_inputs = 3, | 496 | .video_inputs = 3, |
497 | .audio_inputs = 4, | 497 | .audio_inputs = 4, |
@@ -507,7 +507,7 @@ struct tvcard bttv_tvcards[] = { | |||
507 | .tuner_addr = ADDR_UNSET, | 507 | .tuner_addr = ADDR_UNSET, |
508 | .audio_hook = avermedia_tv_stereo_audio, | 508 | .audio_hook = avermedia_tv_stereo_audio, |
509 | }, | 509 | }, |
510 | [BTTV_VHX] = { | 510 | [BTTV_BOARD_VHX] = { |
511 | .name = "Aimslab Video Highway Xtreme (VHX)", | 511 | .name = "Aimslab Video Highway Xtreme (VHX)", |
512 | .video_inputs = 3, | 512 | .video_inputs = 3, |
513 | .audio_inputs = 1, | 513 | .audio_inputs = 1, |
@@ -521,7 +521,7 @@ struct tvcard bttv_tvcards[] = { | |||
521 | .tuner_type = -1, | 521 | .tuner_type = -1, |
522 | .tuner_addr = ADDR_UNSET, | 522 | .tuner_addr = ADDR_UNSET, |
523 | }, | 523 | }, |
524 | [BTTV_ZOLTRIX] = { | 524 | [BTTV_BOARD_ZOLTRIX] = { |
525 | .name = "Zoltrix TV-Max", | 525 | .name = "Zoltrix TV-Max", |
526 | .video_inputs = 3, | 526 | .video_inputs = 3, |
527 | .audio_inputs = 1, | 527 | .audio_inputs = 1, |
@@ -536,7 +536,7 @@ struct tvcard bttv_tvcards[] = { | |||
536 | }, | 536 | }, |
537 | 537 | ||
538 | /* ---- card 0x10 ---------------------------------- */ | 538 | /* ---- card 0x10 ---------------------------------- */ |
539 | [BTTV_PIXVIEWPLAYTV] = { | 539 | [BTTV_BOARD_PIXVIEWPLAYTV] = { |
540 | .name = "Prolink Pixelview PlayTV (bt878)", | 540 | .name = "Prolink Pixelview PlayTV (bt878)", |
541 | .video_inputs = 3, | 541 | .video_inputs = 3, |
542 | .audio_inputs = 1, | 542 | .audio_inputs = 1, |
@@ -555,7 +555,7 @@ struct tvcard bttv_tvcards[] = { | |||
555 | .pll = PLL_28, | 555 | .pll = PLL_28, |
556 | .tuner_type = -1, | 556 | .tuner_type = -1, |
557 | }, | 557 | }, |
558 | [BTTV_WINVIEW_601] = { | 558 | [BTTV_BOARD_WINVIEW_601] = { |
559 | .name = "Leadtek WinView 601", | 559 | .name = "Leadtek WinView 601", |
560 | .video_inputs = 3, | 560 | .video_inputs = 3, |
561 | .audio_inputs = 1, | 561 | .audio_inputs = 1, |
@@ -570,7 +570,7 @@ struct tvcard bttv_tvcards[] = { | |||
570 | .audio_hook = winview_audio, | 570 | .audio_hook = winview_audio, |
571 | .has_radio = 1, | 571 | .has_radio = 1, |
572 | }, | 572 | }, |
573 | [BTTV_AVEC_INTERCAP] = { | 573 | [BTTV_BOARD_AVEC_INTERCAP] = { |
574 | .name = "AVEC Intercapture", | 574 | .name = "AVEC Intercapture", |
575 | .video_inputs = 3, | 575 | .video_inputs = 3, |
576 | .audio_inputs = 2, | 576 | .audio_inputs = 2, |
@@ -583,7 +583,7 @@ struct tvcard bttv_tvcards[] = { | |||
583 | .tuner_type = -1, | 583 | .tuner_type = -1, |
584 | .tuner_addr = ADDR_UNSET, | 584 | .tuner_addr = ADDR_UNSET, |
585 | }, | 585 | }, |
586 | [BTTV_LIFE_FLYKIT] = { | 586 | [BTTV_BOARD_LIFE_FLYKIT] = { |
587 | .name = "Lifeview FlyVideo II EZ /FlyKit LR38 Bt848 (capture only)", | 587 | .name = "Lifeview FlyVideo II EZ /FlyKit LR38 Bt848 (capture only)", |
588 | .video_inputs = 4, | 588 | .video_inputs = 4, |
589 | .audio_inputs = 1, | 589 | .audio_inputs = 1, |
@@ -598,7 +598,7 @@ struct tvcard bttv_tvcards[] = { | |||
598 | }, | 598 | }, |
599 | 599 | ||
600 | /* ---- card 0x14 ---------------------------------- */ | 600 | /* ---- card 0x14 ---------------------------------- */ |
601 | [BTTV_CEI_RAFFLES] = { | 601 | [BTTV_BOARD_CEI_RAFFLES] = { |
602 | .name = "CEI Raffles Card", | 602 | .name = "CEI Raffles Card", |
603 | .video_inputs = 3, | 603 | .video_inputs = 3, |
604 | .audio_inputs = 3, | 604 | .audio_inputs = 3, |
@@ -608,7 +608,7 @@ struct tvcard bttv_tvcards[] = { | |||
608 | .tuner_type = -1, | 608 | .tuner_type = -1, |
609 | .tuner_addr = ADDR_UNSET, | 609 | .tuner_addr = ADDR_UNSET, |
610 | }, | 610 | }, |
611 | [BTTV_CONFERENCETV] = { | 611 | [BTTV_BOARD_CONFERENCETV] = { |
612 | .name = "Lifeview FlyVideo 98/ Lucky Star Image World ConferenceTV LR50", | 612 | .name = "Lifeview FlyVideo 98/ Lucky Star Image World ConferenceTV LR50", |
613 | .video_inputs = 4, | 613 | .video_inputs = 4, |
614 | .audio_inputs = 2, /* tuner, line in */ | 614 | .audio_inputs = 2, /* tuner, line in */ |
@@ -621,7 +621,7 @@ struct tvcard bttv_tvcards[] = { | |||
621 | .tuner_type = TUNER_PHILIPS_PAL_I, | 621 | .tuner_type = TUNER_PHILIPS_PAL_I, |
622 | .tuner_addr = ADDR_UNSET, | 622 | .tuner_addr = ADDR_UNSET, |
623 | }, | 623 | }, |
624 | [BTTV_PHOEBE_TVMAS] = { | 624 | [BTTV_BOARD_PHOEBE_TVMAS] = { |
625 | .name = "Askey CPH050/ Phoebe Tv Master + FM", | 625 | .name = "Askey CPH050/ Phoebe Tv Master + FM", |
626 | .video_inputs = 3, | 626 | .video_inputs = 3, |
627 | .audio_inputs = 1, | 627 | .audio_inputs = 1, |
@@ -635,7 +635,7 @@ struct tvcard bttv_tvcards[] = { | |||
635 | .tuner_type = -1, | 635 | .tuner_type = -1, |
636 | .tuner_addr = ADDR_UNSET, | 636 | .tuner_addr = ADDR_UNSET, |
637 | }, | 637 | }, |
638 | [BTTV_MODTEC_205] = { | 638 | [BTTV_BOARD_MODTEC_205] = { |
639 | .name = "Modular Technology MM201/MM202/MM205/MM210/MM215 PCTV, bt878", | 639 | .name = "Modular Technology MM201/MM202/MM205/MM210/MM215 PCTV, bt878", |
640 | .video_inputs = 3, | 640 | .video_inputs = 3, |
641 | .audio_inputs = 1, | 641 | .audio_inputs = 1, |
@@ -652,7 +652,7 @@ struct tvcard bttv_tvcards[] = { | |||
652 | }, | 652 | }, |
653 | 653 | ||
654 | /* ---- card 0x18 ---------------------------------- */ | 654 | /* ---- card 0x18 ---------------------------------- */ |
655 | [BTTV_MAGICTVIEW061] = { | 655 | [BTTV_BOARD_MAGICTVIEW061] = { |
656 | .name = "Askey CPH05X/06X (bt878) [many vendors]", | 656 | .name = "Askey CPH05X/06X (bt878) [many vendors]", |
657 | .video_inputs = 3, | 657 | .video_inputs = 3, |
658 | .audio_inputs = 1, | 658 | .audio_inputs = 1, |
@@ -667,7 +667,7 @@ struct tvcard bttv_tvcards[] = { | |||
667 | .tuner_addr = ADDR_UNSET, | 667 | .tuner_addr = ADDR_UNSET, |
668 | .has_remote = 1, | 668 | .has_remote = 1, |
669 | }, | 669 | }, |
670 | [BTTV_VOBIS_BOOSTAR] = { | 670 | [BTTV_BOARD_VOBIS_BOOSTAR] = { |
671 | .name = "Terratec TerraTV+ Version 1.0 (Bt848)/ Terra TValue Version 1.0/ Vobis TV-Boostar", | 671 | .name = "Terratec TerraTV+ Version 1.0 (Bt848)/ Terra TValue Version 1.0/ Vobis TV-Boostar", |
672 | .video_inputs = 3, | 672 | .video_inputs = 3, |
673 | .audio_inputs = 1, | 673 | .audio_inputs = 1, |
@@ -681,7 +681,7 @@ struct tvcard bttv_tvcards[] = { | |||
681 | .tuner_addr = ADDR_UNSET, | 681 | .tuner_addr = ADDR_UNSET, |
682 | .audio_hook = terratv_audio, | 682 | .audio_hook = terratv_audio, |
683 | }, | 683 | }, |
684 | [BTTV_HAUPPAUG_WCAM] = { | 684 | [BTTV_BOARD_HAUPPAUG_WCAM] = { |
685 | .name = "Hauppauge WinCam newer (bt878)", | 685 | .name = "Hauppauge WinCam newer (bt878)", |
686 | .video_inputs = 4, | 686 | .video_inputs = 4, |
687 | .audio_inputs = 1, | 687 | .audio_inputs = 1, |
@@ -694,7 +694,7 @@ struct tvcard bttv_tvcards[] = { | |||
694 | .tuner_type = -1, | 694 | .tuner_type = -1, |
695 | .tuner_addr = ADDR_UNSET, | 695 | .tuner_addr = ADDR_UNSET, |
696 | }, | 696 | }, |
697 | [BTTV_MAXI] = { | 697 | [BTTV_BOARD_MAXI] = { |
698 | .name = "Lifeview FlyVideo 98/ MAXI TV Video PCI2 LR50", | 698 | .name = "Lifeview FlyVideo 98/ MAXI TV Video PCI2 LR50", |
699 | .video_inputs = 4, | 699 | .video_inputs = 4, |
700 | .audio_inputs = 2, | 700 | .audio_inputs = 2, |
@@ -709,7 +709,7 @@ struct tvcard bttv_tvcards[] = { | |||
709 | }, | 709 | }, |
710 | 710 | ||
711 | /* ---- card 0x1c ---------------------------------- */ | 711 | /* ---- card 0x1c ---------------------------------- */ |
712 | [BTTV_TERRATV] = { | 712 | [BTTV_BOARD_TERRATV] = { |
713 | .name = "Terratec TerraTV+ Version 1.1 (bt878)", | 713 | .name = "Terratec TerraTV+ Version 1.1 (bt878)", |
714 | .video_inputs = 3, | 714 | .video_inputs = 3, |
715 | .audio_inputs = 1, | 715 | .audio_inputs = 1, |
@@ -754,7 +754,7 @@ struct tvcard bttv_tvcards[] = { | |||
754 | */ | 754 | */ |
755 | 755 | ||
756 | }, | 756 | }, |
757 | [BTTV_PXC200] = { | 757 | [BTTV_BOARD_PXC200] = { |
758 | /* Jannik Fritsch <jannik@techfak.uni-bielefeld.de> */ | 758 | /* Jannik Fritsch <jannik@techfak.uni-bielefeld.de> */ |
759 | .name = "Imagenation PXC200", | 759 | .name = "Imagenation PXC200", |
760 | .video_inputs = 5, | 760 | .video_inputs = 5, |
@@ -770,7 +770,7 @@ struct tvcard bttv_tvcards[] = { | |||
770 | .muxsel_hook = PXC200_muxsel, | 770 | .muxsel_hook = PXC200_muxsel, |
771 | 771 | ||
772 | }, | 772 | }, |
773 | [BTTV_FLYVIDEO_98] = { | 773 | [BTTV_BOARD_FLYVIDEO_98] = { |
774 | .name = "Lifeview FlyVideo 98 LR50", | 774 | .name = "Lifeview FlyVideo 98 LR50", |
775 | .video_inputs = 4, | 775 | .video_inputs = 4, |
776 | .audio_inputs = 1, | 776 | .audio_inputs = 1, |
@@ -783,7 +783,7 @@ struct tvcard bttv_tvcards[] = { | |||
783 | .tuner_type = -1, | 783 | .tuner_type = -1, |
784 | .tuner_addr = ADDR_UNSET, | 784 | .tuner_addr = ADDR_UNSET, |
785 | }, | 785 | }, |
786 | [BTTV_IPROTV] = { | 786 | [BTTV_BOARD_IPROTV] = { |
787 | .name = "Formac iProTV, Formac ProTV I (bt848)", | 787 | .name = "Formac iProTV, Formac ProTV I (bt848)", |
788 | .video_inputs = 4, | 788 | .video_inputs = 4, |
789 | .audio_inputs = 1, | 789 | .audio_inputs = 1, |
@@ -798,7 +798,7 @@ struct tvcard bttv_tvcards[] = { | |||
798 | }, | 798 | }, |
799 | 799 | ||
800 | /* ---- card 0x20 ---------------------------------- */ | 800 | /* ---- card 0x20 ---------------------------------- */ |
801 | [BTTV_INTEL_C_S_PCI] = { | 801 | [BTTV_BOARD_INTEL_C_S_PCI] = { |
802 | .name = "Intel Create and Share PCI/ Smart Video Recorder III", | 802 | .name = "Intel Create and Share PCI/ Smart Video Recorder III", |
803 | .video_inputs = 4, | 803 | .video_inputs = 4, |
804 | .audio_inputs = 0, | 804 | .audio_inputs = 0, |
@@ -811,7 +811,7 @@ struct tvcard bttv_tvcards[] = { | |||
811 | .tuner_type = 4, | 811 | .tuner_type = 4, |
812 | .tuner_addr = ADDR_UNSET, | 812 | .tuner_addr = ADDR_UNSET, |
813 | }, | 813 | }, |
814 | [BTTV_TERRATVALUE] = { | 814 | [BTTV_BOARD_TERRATVALUE] = { |
815 | .name = "Terratec TerraTValue Version Bt878", | 815 | .name = "Terratec TerraTValue Version Bt878", |
816 | .video_inputs = 3, | 816 | .video_inputs = 3, |
817 | .audio_inputs = 1, | 817 | .audio_inputs = 1, |
@@ -825,7 +825,7 @@ struct tvcard bttv_tvcards[] = { | |||
825 | .tuner_type = TUNER_PHILIPS_PAL, | 825 | .tuner_type = TUNER_PHILIPS_PAL, |
826 | .tuner_addr = ADDR_UNSET, | 826 | .tuner_addr = ADDR_UNSET, |
827 | }, | 827 | }, |
828 | [BTTV_WINFAST2000] = { | 828 | [BTTV_BOARD_WINFAST2000] = { |
829 | .name = "Leadtek WinFast 2000/ WinFast 2000 XP", | 829 | .name = "Leadtek WinFast 2000/ WinFast 2000 XP", |
830 | .video_inputs = 4, | 830 | .video_inputs = 4, |
831 | .audio_inputs = 1, | 831 | .audio_inputs = 1, |
@@ -859,7 +859,7 @@ struct tvcard bttv_tvcards[] = { | |||
859 | .audio_hook = winfast2000_audio, | 859 | .audio_hook = winfast2000_audio, |
860 | .has_remote = 1, | 860 | .has_remote = 1, |
861 | }, | 861 | }, |
862 | [BTTV_CHRONOS_VS2] = { | 862 | [BTTV_BOARD_CHRONOS_VS2] = { |
863 | .name = "Lifeview FlyVideo 98 LR50 / Chronos Video Shuttle II", | 863 | .name = "Lifeview FlyVideo 98 LR50 / Chronos Video Shuttle II", |
864 | .video_inputs = 4, | 864 | .video_inputs = 4, |
865 | .audio_inputs = 3, | 865 | .audio_inputs = 3, |
@@ -874,7 +874,7 @@ struct tvcard bttv_tvcards[] = { | |||
874 | }, | 874 | }, |
875 | 875 | ||
876 | /* ---- card 0x24 ---------------------------------- */ | 876 | /* ---- card 0x24 ---------------------------------- */ |
877 | [BTTV_TYPHOON_TVIEW] = { | 877 | [BTTV_BOARD_TYPHOON_TVIEW] = { |
878 | .name = "Lifeview FlyVideo 98FM LR50 / Typhoon TView TV/FM Tuner", | 878 | .name = "Lifeview FlyVideo 98FM LR50 / Typhoon TView TV/FM Tuner", |
879 | .video_inputs = 4, | 879 | .video_inputs = 4, |
880 | .audio_inputs = 3, | 880 | .audio_inputs = 3, |
@@ -888,7 +888,7 @@ struct tvcard bttv_tvcards[] = { | |||
888 | .tuner_addr = ADDR_UNSET, | 888 | .tuner_addr = ADDR_UNSET, |
889 | .has_radio = 1, | 889 | .has_radio = 1, |
890 | }, | 890 | }, |
891 | [BTTV_PXELVWPLTVPRO] = { | 891 | [BTTV_BOARD_PXELVWPLTVPRO] = { |
892 | .name = "Prolink PixelView PlayTV pro", | 892 | .name = "Prolink PixelView PlayTV pro", |
893 | .video_inputs = 3, | 893 | .video_inputs = 3, |
894 | .audio_inputs = 1, | 894 | .audio_inputs = 1, |
@@ -902,7 +902,7 @@ struct tvcard bttv_tvcards[] = { | |||
902 | .tuner_type = -1, | 902 | .tuner_type = -1, |
903 | .tuner_addr = ADDR_UNSET, | 903 | .tuner_addr = ADDR_UNSET, |
904 | }, | 904 | }, |
905 | [BTTV_MAGICTVIEW063] = { | 905 | [BTTV_BOARD_MAGICTVIEW063] = { |
906 | .name = "Askey CPH06X TView99", | 906 | .name = "Askey CPH06X TView99", |
907 | .video_inputs = 4, | 907 | .video_inputs = 4, |
908 | .audio_inputs = 1, | 908 | .audio_inputs = 1, |
@@ -917,7 +917,7 @@ struct tvcard bttv_tvcards[] = { | |||
917 | .tuner_addr = ADDR_UNSET, | 917 | .tuner_addr = ADDR_UNSET, |
918 | .has_remote = 1, | 918 | .has_remote = 1, |
919 | }, | 919 | }, |
920 | [BTTV_PINNACLE] = { | 920 | [BTTV_BOARD_PINNACLE] = { |
921 | .name = "Pinnacle PCTV Studio/Rave", | 921 | .name = "Pinnacle PCTV Studio/Rave", |
922 | .video_inputs = 3, | 922 | .video_inputs = 3, |
923 | .audio_inputs = 1, | 923 | .audio_inputs = 1, |
@@ -933,7 +933,7 @@ struct tvcard bttv_tvcards[] = { | |||
933 | }, | 933 | }, |
934 | 934 | ||
935 | /* ---- card 0x28 ---------------------------------- */ | 935 | /* ---- card 0x28 ---------------------------------- */ |
936 | [BTTV_STB2] = { | 936 | [BTTV_BOARD_STB2] = { |
937 | .name = "STB TV PCI FM, Gateway P/N 6000704 (bt878), 3Dfx VoodooTV 100", | 937 | .name = "STB TV PCI FM, Gateway P/N 6000704 (bt878), 3Dfx VoodooTV 100", |
938 | .video_inputs = 3, | 938 | .video_inputs = 3, |
939 | .audio_inputs = 1, | 939 | .audio_inputs = 1, |
@@ -949,7 +949,7 @@ struct tvcard bttv_tvcards[] = { | |||
949 | .pll = PLL_28, | 949 | .pll = PLL_28, |
950 | .has_radio = 1, | 950 | .has_radio = 1, |
951 | }, | 951 | }, |
952 | [BTTV_AVPHONE98] = { | 952 | [BTTV_BOARD_AVPHONE98] = { |
953 | .name = "AVerMedia TVPhone 98", | 953 | .name = "AVerMedia TVPhone 98", |
954 | .video_inputs = 3, | 954 | .video_inputs = 3, |
955 | .audio_inputs = 4, | 955 | .audio_inputs = 4, |
@@ -965,7 +965,7 @@ struct tvcard bttv_tvcards[] = { | |||
965 | .has_radio = 1, | 965 | .has_radio = 1, |
966 | .audio_hook = avermedia_tvphone_audio, | 966 | .audio_hook = avermedia_tvphone_audio, |
967 | }, | 967 | }, |
968 | [BTTV_PV951] = { | 968 | [BTTV_BOARD_PV951] = { |
969 | .name = "ProVideo PV951", /* pic16c54 */ | 969 | .name = "ProVideo PV951", /* pic16c54 */ |
970 | .video_inputs = 3, | 970 | .video_inputs = 3, |
971 | .audio_inputs = 1, | 971 | .audio_inputs = 1, |
@@ -980,7 +980,7 @@ struct tvcard bttv_tvcards[] = { | |||
980 | .tuner_type = 1, | 980 | .tuner_type = 1, |
981 | .tuner_addr = ADDR_UNSET, | 981 | .tuner_addr = ADDR_UNSET, |
982 | }, | 982 | }, |
983 | [BTTV_ONAIR_TV] = { | 983 | [BTTV_BOARD_ONAIR_TV] = { |
984 | .name = "Little OnAir TV", | 984 | .name = "Little OnAir TV", |
985 | .video_inputs = 3, | 985 | .video_inputs = 3, |
986 | .audio_inputs = 1, | 986 | .audio_inputs = 1, |
@@ -995,7 +995,7 @@ struct tvcard bttv_tvcards[] = { | |||
995 | }, | 995 | }, |
996 | 996 | ||
997 | /* ---- card 0x2c ---------------------------------- */ | 997 | /* ---- card 0x2c ---------------------------------- */ |
998 | [BTTV_SIGMA_TVII_FM] = { | 998 | [BTTV_BOARD_SIGMA_TVII_FM] = { |
999 | .name = "Sigma TVII-FM", | 999 | .name = "Sigma TVII-FM", |
1000 | .video_inputs = 2, | 1000 | .video_inputs = 2, |
1001 | .audio_inputs = 1, | 1001 | .audio_inputs = 1, |
@@ -1009,7 +1009,7 @@ struct tvcard bttv_tvcards[] = { | |||
1009 | .tuner_type = -1, | 1009 | .tuner_type = -1, |
1010 | .tuner_addr = ADDR_UNSET, | 1010 | .tuner_addr = ADDR_UNSET, |
1011 | }, | 1011 | }, |
1012 | [BTTV_MATRIX_VISION2] = { | 1012 | [BTTV_BOARD_MATRIX_VISION2] = { |
1013 | .name = "MATRIX-Vision MV-Delta 2", | 1013 | .name = "MATRIX-Vision MV-Delta 2", |
1014 | .video_inputs = 5, | 1014 | .video_inputs = 5, |
1015 | .audio_inputs = 1, | 1015 | .audio_inputs = 1, |
@@ -1023,7 +1023,7 @@ struct tvcard bttv_tvcards[] = { | |||
1023 | .tuner_type = -1, | 1023 | .tuner_type = -1, |
1024 | .tuner_addr = ADDR_UNSET, | 1024 | .tuner_addr = ADDR_UNSET, |
1025 | }, | 1025 | }, |
1026 | [BTTV_ZOLTRIX_GENIE] = { | 1026 | [BTTV_BOARD_ZOLTRIX_GENIE] = { |
1027 | .name = "Zoltrix Genie TV/FM", | 1027 | .name = "Zoltrix Genie TV/FM", |
1028 | .video_inputs = 3, | 1028 | .video_inputs = 3, |
1029 | .audio_inputs = 1, | 1029 | .audio_inputs = 1, |
@@ -1037,7 +1037,7 @@ struct tvcard bttv_tvcards[] = { | |||
1037 | .tuner_type = 21, | 1037 | .tuner_type = 21, |
1038 | .tuner_addr = ADDR_UNSET, | 1038 | .tuner_addr = ADDR_UNSET, |
1039 | }, | 1039 | }, |
1040 | [BTTV_TERRATVRADIO] = { | 1040 | [BTTV_BOARD_TERRATVRADIO] = { |
1041 | .name = "Terratec TV/Radio+", | 1041 | .name = "Terratec TV/Radio+", |
1042 | .video_inputs = 3, | 1042 | .video_inputs = 3, |
1043 | .audio_inputs = 1, | 1043 | .audio_inputs = 1, |
@@ -1055,7 +1055,7 @@ struct tvcard bttv_tvcards[] = { | |||
1055 | }, | 1055 | }, |
1056 | 1056 | ||
1057 | /* ---- card 0x30 ---------------------------------- */ | 1057 | /* ---- card 0x30 ---------------------------------- */ |
1058 | [BTTV_DYNALINK] = { | 1058 | [BTTV_BOARD_DYNALINK] = { |
1059 | .name = "Askey CPH03x/ Dynalink Magic TView", | 1059 | .name = "Askey CPH03x/ Dynalink Magic TView", |
1060 | .video_inputs = 3, | 1060 | .video_inputs = 3, |
1061 | .audio_inputs = 1, | 1061 | .audio_inputs = 1, |
@@ -1069,7 +1069,7 @@ struct tvcard bttv_tvcards[] = { | |||
1069 | .tuner_type = -1, | 1069 | .tuner_type = -1, |
1070 | .tuner_addr = ADDR_UNSET, | 1070 | .tuner_addr = ADDR_UNSET, |
1071 | }, | 1071 | }, |
1072 | [BTTV_GVBCTV3PCI] = { | 1072 | [BTTV_BOARD_GVBCTV3PCI] = { |
1073 | .name = "IODATA GV-BCTV3/PCI", | 1073 | .name = "IODATA GV-BCTV3/PCI", |
1074 | .video_inputs = 3, | 1074 | .video_inputs = 3, |
1075 | .audio_inputs = 1, | 1075 | .audio_inputs = 1, |
@@ -1084,7 +1084,7 @@ struct tvcard bttv_tvcards[] = { | |||
1084 | .tuner_addr = ADDR_UNSET, | 1084 | .tuner_addr = ADDR_UNSET, |
1085 | .audio_hook = gvbctv3pci_audio, | 1085 | .audio_hook = gvbctv3pci_audio, |
1086 | }, | 1086 | }, |
1087 | [BTTV_PXELVWPLTVPAK] = { | 1087 | [BTTV_BOARD_PXELVWPLTVPAK] = { |
1088 | .name = "Prolink PV-BT878P+4E / PixelView PlayTV PAK / Lenco MXTV-9578 CP", | 1088 | .name = "Prolink PV-BT878P+4E / PixelView PlayTV PAK / Lenco MXTV-9578 CP", |
1089 | .video_inputs = 5, | 1089 | .video_inputs = 5, |
1090 | .audio_inputs = 1, | 1090 | .audio_inputs = 1, |
@@ -1109,7 +1109,7 @@ struct tvcard bttv_tvcards[] = { | |||
1109 | Note: At i2c=0x8a is a Bt832 chip, which changes to 0x88 after being reset via GPIO22 | 1109 | Note: At i2c=0x8a is a Bt832 chip, which changes to 0x88 after being reset via GPIO22 |
1110 | */ | 1110 | */ |
1111 | }, | 1111 | }, |
1112 | [BTTV_EAGLE] = { | 1112 | [BTTV_BOARD_EAGLE] = { |
1113 | .name = "Eagle Wireless Capricorn2 (bt878A)", | 1113 | .name = "Eagle Wireless Capricorn2 (bt878A)", |
1114 | .video_inputs = 4, | 1114 | .video_inputs = 4, |
1115 | .audio_inputs = 1, | 1115 | .audio_inputs = 1, |
@@ -1124,7 +1124,7 @@ struct tvcard bttv_tvcards[] = { | |||
1124 | }, | 1124 | }, |
1125 | 1125 | ||
1126 | /* ---- card 0x34 ---------------------------------- */ | 1126 | /* ---- card 0x34 ---------------------------------- */ |
1127 | [BTTV_PINNACLEPRO] = { | 1127 | [BTTV_BOARD_PINNACLEPRO] = { |
1128 | /* David Härdeman <david@2gen.com> */ | 1128 | /* David Härdeman <david@2gen.com> */ |
1129 | .name = "Pinnacle PCTV Studio Pro", | 1129 | .name = "Pinnacle PCTV Studio Pro", |
1130 | .video_inputs = 4, | 1130 | .video_inputs = 4, |
@@ -1148,7 +1148,7 @@ struct tvcard bttv_tvcards[] = { | |||
1148 | .tuner_type = -1, | 1148 | .tuner_type = -1, |
1149 | .tuner_addr = ADDR_UNSET, | 1149 | .tuner_addr = ADDR_UNSET, |
1150 | }, | 1150 | }, |
1151 | [BTTV_TVIEW_RDS_FM] = { | 1151 | [BTTV_BOARD_TVIEW_RDS_FM] = { |
1152 | /* Claas Langbehn <claas@bigfoot.com>, | 1152 | /* Claas Langbehn <claas@bigfoot.com>, |
1153 | Sven Grothklags <sven@upb.de> */ | 1153 | Sven Grothklags <sven@upb.de> */ |
1154 | .name = "Typhoon TView RDS + FM Stereo / KNC1 TV Station RDS", | 1154 | .name = "Typhoon TView RDS + FM Stereo / KNC1 TV Station RDS", |
@@ -1165,7 +1165,7 @@ struct tvcard bttv_tvcards[] = { | |||
1165 | .tuner_addr = ADDR_UNSET, | 1165 | .tuner_addr = ADDR_UNSET, |
1166 | .has_radio = 1, | 1166 | .has_radio = 1, |
1167 | }, | 1167 | }, |
1168 | [BTTV_LIFETEC_9415] = { | 1168 | [BTTV_BOARD_LIFETEC_9415] = { |
1169 | /* Tim Röstermundt <rosterm@uni-muenster.de> | 1169 | /* Tim Röstermundt <rosterm@uni-muenster.de> |
1170 | in de.comp.os.unix.linux.hardware: | 1170 | in de.comp.os.unix.linux.hardware: |
1171 | options bttv card=0 pll=1 radio=1 gpiomask=0x18e0 | 1171 | options bttv card=0 pll=1 radio=1 gpiomask=0x18e0 |
@@ -1187,7 +1187,7 @@ struct tvcard bttv_tvcards[] = { | |||
1187 | .tuner_type = -1, | 1187 | .tuner_type = -1, |
1188 | .tuner_addr = ADDR_UNSET, | 1188 | .tuner_addr = ADDR_UNSET, |
1189 | }, | 1189 | }, |
1190 | [BTTV_BESTBUY_EASYTV] = { | 1190 | [BTTV_BOARD_BESTBUY_EASYTV] = { |
1191 | /* Miguel Angel Alvarez <maacruz@navegalia.com> | 1191 | /* Miguel Angel Alvarez <maacruz@navegalia.com> |
1192 | old Easy TV BT848 version (model CPH031) */ | 1192 | old Easy TV BT848 version (model CPH031) */ |
1193 | .name = "Askey CPH031/ BESTBUY Easy TV", | 1193 | .name = "Askey CPH031/ BESTBUY Easy TV", |
@@ -1205,7 +1205,7 @@ struct tvcard bttv_tvcards[] = { | |||
1205 | }, | 1205 | }, |
1206 | 1206 | ||
1207 | /* ---- card 0x38 ---------------------------------- */ | 1207 | /* ---- card 0x38 ---------------------------------- */ |
1208 | [BTTV_FLYVIDEO_98FM] = { | 1208 | [BTTV_BOARD_FLYVIDEO_98FM] = { |
1209 | /* Gordon Heydon <gjheydon@bigfoot.com ('98) */ | 1209 | /* Gordon Heydon <gjheydon@bigfoot.com ('98) */ |
1210 | .name = "Lifeview FlyVideo 98FM LR50", | 1210 | .name = "Lifeview FlyVideo 98FM LR50", |
1211 | .video_inputs = 4, | 1211 | .video_inputs = 4, |
@@ -1222,7 +1222,7 @@ struct tvcard bttv_tvcards[] = { | |||
1222 | /* This is the ultimate cheapo capture card | 1222 | /* This is the ultimate cheapo capture card |
1223 | * just a BT848A on a small PCB! | 1223 | * just a BT848A on a small PCB! |
1224 | * Steve Hosgood <steve@equiinet.com> */ | 1224 | * Steve Hosgood <steve@equiinet.com> */ |
1225 | [BTTV_GRANDTEC] = { | 1225 | [BTTV_BOARD_GRANDTEC] = { |
1226 | .name = "GrandTec 'Grand Video Capture' (Bt848)", | 1226 | .name = "GrandTec 'Grand Video Capture' (Bt848)", |
1227 | .video_inputs = 2, | 1227 | .video_inputs = 2, |
1228 | .audio_inputs = 0, | 1228 | .audio_inputs = 0, |
@@ -1237,7 +1237,7 @@ struct tvcard bttv_tvcards[] = { | |||
1237 | .tuner_type = -1, | 1237 | .tuner_type = -1, |
1238 | .tuner_addr = ADDR_UNSET, | 1238 | .tuner_addr = ADDR_UNSET, |
1239 | }, | 1239 | }, |
1240 | [BTTV_ASKEY_CPH060] = { | 1240 | [BTTV_BOARD_ASKEY_CPH060] = { |
1241 | /* Daniel Herrington <daniel.herrington@home.com> */ | 1241 | /* Daniel Herrington <daniel.herrington@home.com> */ |
1242 | .name = "Askey CPH060/ Phoebe TV Master Only (No FM)", | 1242 | .name = "Askey CPH060/ Phoebe TV Master Only (No FM)", |
1243 | .video_inputs = 3, | 1243 | .video_inputs = 3, |
@@ -1252,7 +1252,7 @@ struct tvcard bttv_tvcards[] = { | |||
1252 | .tuner_type = TUNER_TEMIC_4036FY5_NTSC, | 1252 | .tuner_type = TUNER_TEMIC_4036FY5_NTSC, |
1253 | .tuner_addr = ADDR_UNSET, | 1253 | .tuner_addr = ADDR_UNSET, |
1254 | }, | 1254 | }, |
1255 | [BTTV_ASKEY_CPH03X] = { | 1255 | [BTTV_BOARD_ASKEY_CPH03X] = { |
1256 | /* Matti Mottus <mottus@physic.ut.ee> */ | 1256 | /* Matti Mottus <mottus@physic.ut.ee> */ |
1257 | .name = "Askey CPH03x TV Capturer", | 1257 | .name = "Askey CPH03x TV Capturer", |
1258 | .video_inputs = 4, | 1258 | .video_inputs = 4, |
@@ -1268,7 +1268,7 @@ struct tvcard bttv_tvcards[] = { | |||
1268 | }, | 1268 | }, |
1269 | 1269 | ||
1270 | /* ---- card 0x3c ---------------------------------- */ | 1270 | /* ---- card 0x3c ---------------------------------- */ |
1271 | [BTTV_MM100PCTV] = { | 1271 | [BTTV_BOARD_MM100PCTV] = { |
1272 | /* Philip Blundell <philb@gnu.org> */ | 1272 | /* Philip Blundell <philb@gnu.org> */ |
1273 | .name = "Modular Technology MM100PCTV", | 1273 | .name = "Modular Technology MM100PCTV", |
1274 | .video_inputs = 2, | 1274 | .video_inputs = 2, |
@@ -1282,7 +1282,7 @@ struct tvcard bttv_tvcards[] = { | |||
1282 | .tuner_type = TUNER_TEMIC_PAL, | 1282 | .tuner_type = TUNER_TEMIC_PAL, |
1283 | .tuner_addr = ADDR_UNSET, | 1283 | .tuner_addr = ADDR_UNSET, |
1284 | }, | 1284 | }, |
1285 | [BTTV_GMV1] = { | 1285 | [BTTV_BOARD_GMV1] = { |
1286 | /* Adrian Cox <adrian@humboldt.co.uk */ | 1286 | /* Adrian Cox <adrian@humboldt.co.uk */ |
1287 | .name = "AG Electronics GMV1", | 1287 | .name = "AG Electronics GMV1", |
1288 | .video_inputs = 2, | 1288 | .video_inputs = 2, |
@@ -1298,7 +1298,7 @@ struct tvcard bttv_tvcards[] = { | |||
1298 | .tuner_type = -1, | 1298 | .tuner_type = -1, |
1299 | .tuner_addr = ADDR_UNSET, | 1299 | .tuner_addr = ADDR_UNSET, |
1300 | }, | 1300 | }, |
1301 | [BTTV_BESTBUY_EASYTV2] = { | 1301 | [BTTV_BOARD_BESTBUY_EASYTV2] = { |
1302 | /* Miguel Angel Alvarez <maacruz@navegalia.com> | 1302 | /* Miguel Angel Alvarez <maacruz@navegalia.com> |
1303 | new Easy TV BT878 version (model CPH061) | 1303 | new Easy TV BT878 version (model CPH061) |
1304 | special thanks to Informatica Mieres for providing the card */ | 1304 | special thanks to Informatica Mieres for providing the card */ |
@@ -1315,7 +1315,7 @@ struct tvcard bttv_tvcards[] = { | |||
1315 | .tuner_type = TUNER_PHILIPS_PAL, | 1315 | .tuner_type = TUNER_PHILIPS_PAL, |
1316 | .tuner_addr = ADDR_UNSET, | 1316 | .tuner_addr = ADDR_UNSET, |
1317 | }, | 1317 | }, |
1318 | [BTTV_ATI_TVWONDER] = { | 1318 | [BTTV_BOARD_ATI_TVWONDER] = { |
1319 | /* Lukas Gebauer <geby@volny.cz> */ | 1319 | /* Lukas Gebauer <geby@volny.cz> */ |
1320 | .name = "ATI TV-Wonder", | 1320 | .name = "ATI TV-Wonder", |
1321 | .video_inputs = 3, | 1321 | .video_inputs = 3, |
@@ -1331,7 +1331,7 @@ struct tvcard bttv_tvcards[] = { | |||
1331 | }, | 1331 | }, |
1332 | 1332 | ||
1333 | /* ---- card 0x40 ---------------------------------- */ | 1333 | /* ---- card 0x40 ---------------------------------- */ |
1334 | [BTTV_ATI_TVWONDERVE] = { | 1334 | [BTTV_BOARD_ATI_TVWONDERVE] = { |
1335 | /* Lukas Gebauer <geby@volny.cz> */ | 1335 | /* Lukas Gebauer <geby@volny.cz> */ |
1336 | .name = "ATI TV-Wonder VE", | 1336 | .name = "ATI TV-Wonder VE", |
1337 | .video_inputs = 2, | 1337 | .video_inputs = 2, |
@@ -1346,7 +1346,7 @@ struct tvcard bttv_tvcards[] = { | |||
1346 | .tuner_type = TUNER_TEMIC_4006FN5_MULTI_PAL, | 1346 | .tuner_type = TUNER_TEMIC_4006FN5_MULTI_PAL, |
1347 | .tuner_addr = ADDR_UNSET, | 1347 | .tuner_addr = ADDR_UNSET, |
1348 | }, | 1348 | }, |
1349 | [BTTV_FLYVIDEO2000] = { | 1349 | [BTTV_BOARD_FLYVIDEO2000] = { |
1350 | /* DeeJay <deejay@westel900.net (2000S) */ | 1350 | /* DeeJay <deejay@westel900.net (2000S) */ |
1351 | .name = "Lifeview FlyVideo 2000S LR90", | 1351 | .name = "Lifeview FlyVideo 2000S LR90", |
1352 | .video_inputs = 3, | 1352 | .video_inputs = 3, |
@@ -1367,7 +1367,7 @@ struct tvcard bttv_tvcards[] = { | |||
1367 | .tuner_type = 5, | 1367 | .tuner_type = 5, |
1368 | .tuner_addr = ADDR_UNSET, | 1368 | .tuner_addr = ADDR_UNSET, |
1369 | }, | 1369 | }, |
1370 | [BTTV_TERRATVALUER] = { | 1370 | [BTTV_BOARD_TERRATVALUER] = { |
1371 | .name = "Terratec TValueRadio", | 1371 | .name = "Terratec TValueRadio", |
1372 | .video_inputs = 3, | 1372 | .video_inputs = 3, |
1373 | .audio_inputs = 1, | 1373 | .audio_inputs = 1, |
@@ -1382,7 +1382,7 @@ struct tvcard bttv_tvcards[] = { | |||
1382 | .tuner_addr = ADDR_UNSET, | 1382 | .tuner_addr = ADDR_UNSET, |
1383 | .has_radio = 1, | 1383 | .has_radio = 1, |
1384 | }, | 1384 | }, |
1385 | [BTTV_GVBCTV4PCI] = { | 1385 | [BTTV_BOARD_GVBCTV4PCI] = { |
1386 | /* TANAKA Kei <peg00625@nifty.com> */ | 1386 | /* TANAKA Kei <peg00625@nifty.com> */ |
1387 | .name = "IODATA GV-BCTV4/PCI", | 1387 | .name = "IODATA GV-BCTV4/PCI", |
1388 | .video_inputs = 3, | 1388 | .video_inputs = 3, |
@@ -1400,7 +1400,7 @@ struct tvcard bttv_tvcards[] = { | |||
1400 | }, | 1400 | }, |
1401 | 1401 | ||
1402 | /* ---- card 0x44 ---------------------------------- */ | 1402 | /* ---- card 0x44 ---------------------------------- */ |
1403 | [BTTV_VOODOOTV_FM] = { | 1403 | [BTTV_BOARD_VOODOOTV_FM] = { |
1404 | .name = "3Dfx VoodooTV FM (Euro), VoodooTV 200 (USA)", | 1404 | .name = "3Dfx VoodooTV FM (Euro), VoodooTV 200 (USA)", |
1405 | /* try "insmod msp3400 simple=0" if you have | 1405 | /* try "insmod msp3400 simple=0" if you have |
1406 | * sound problems with this card. */ | 1406 | * sound problems with this card. */ |
@@ -1420,7 +1420,7 @@ struct tvcard bttv_tvcards[] = { | |||
1420 | .pll = PLL_28, | 1420 | .pll = PLL_28, |
1421 | .has_radio = 1, | 1421 | .has_radio = 1, |
1422 | }, | 1422 | }, |
1423 | [BTTV_AIMMS] = { | 1423 | [BTTV_BOARD_AIMMS] = { |
1424 | /* Philip Blundell <pb@nexus.co.uk> */ | 1424 | /* Philip Blundell <pb@nexus.co.uk> */ |
1425 | .name = "Active Imaging AIMMS", | 1425 | .name = "Active Imaging AIMMS", |
1426 | .video_inputs = 1, | 1426 | .video_inputs = 1, |
@@ -1432,7 +1432,7 @@ struct tvcard bttv_tvcards[] = { | |||
1432 | .muxsel = { 2 }, | 1432 | .muxsel = { 2 }, |
1433 | .gpiomask = 0 | 1433 | .gpiomask = 0 |
1434 | }, | 1434 | }, |
1435 | [BTTV_PV_BT878P_PLUS] = { | 1435 | [BTTV_BOARD_PV_BT878P_PLUS] = { |
1436 | /* Tomasz Pyra <hellfire@sedez.iq.pl> */ | 1436 | /* Tomasz Pyra <hellfire@sedez.iq.pl> */ |
1437 | .name = "Prolink Pixelview PV-BT878P+ (Rev.4C,8E)", | 1437 | .name = "Prolink Pixelview PV-BT878P+ (Rev.4C,8E)", |
1438 | .video_inputs = 3, | 1438 | .video_inputs = 3, |
@@ -1455,7 +1455,7 @@ struct tvcard bttv_tvcards[] = { | |||
1455 | GPIO8-15: vrd866b ? | 1455 | GPIO8-15: vrd866b ? |
1456 | */ | 1456 | */ |
1457 | }, | 1457 | }, |
1458 | [BTTV_FLYVIDEO98EZ] = { | 1458 | [BTTV_BOARD_FLYVIDEO98EZ] = { |
1459 | .name = "Lifeview FlyVideo 98EZ (capture only) LR51", | 1459 | .name = "Lifeview FlyVideo 98EZ (capture only) LR51", |
1460 | .video_inputs = 4, | 1460 | .video_inputs = 4, |
1461 | .audio_inputs = 0, | 1461 | .audio_inputs = 0, |
@@ -1469,7 +1469,7 @@ struct tvcard bttv_tvcards[] = { | |||
1469 | }, | 1469 | }, |
1470 | 1470 | ||
1471 | /* ---- card 0x48 ---------------------------------- */ | 1471 | /* ---- card 0x48 ---------------------------------- */ |
1472 | [BTTV_PV_BT878P_9B] = { | 1472 | [BTTV_BOARD_PV_BT878P_9B] = { |
1473 | /* Dariusz Kowalewski <darekk@automex.pl> */ | 1473 | /* Dariusz Kowalewski <darekk@automex.pl> */ |
1474 | .name = "Prolink Pixelview PV-BT878P+9B (PlayTV Pro rev.9B FM+NICAM)", | 1474 | .name = "Prolink Pixelview PV-BT878P+9B (PlayTV Pro rev.9B FM+NICAM)", |
1475 | .video_inputs = 4, | 1475 | .video_inputs = 4, |
@@ -1496,7 +1496,7 @@ struct tvcard bttv_tvcards[] = { | |||
1496 | GPIO20,22,23: R30,R29,R28 | 1496 | GPIO20,22,23: R30,R29,R28 |
1497 | */ | 1497 | */ |
1498 | }, | 1498 | }, |
1499 | [BTTV_SENSORAY311] = { | 1499 | [BTTV_BOARD_SENSORAY311] = { |
1500 | /* Clay Kunz <ckunz@mail.arc.nasa.gov> */ | 1500 | /* Clay Kunz <ckunz@mail.arc.nasa.gov> */ |
1501 | /* you must jumper JP5 for the card to work */ | 1501 | /* you must jumper JP5 for the card to work */ |
1502 | .name = "Sensoray 311", | 1502 | .name = "Sensoray 311", |
@@ -1511,7 +1511,7 @@ struct tvcard bttv_tvcards[] = { | |||
1511 | .tuner_type = -1, | 1511 | .tuner_type = -1, |
1512 | .tuner_addr = ADDR_UNSET, | 1512 | .tuner_addr = ADDR_UNSET, |
1513 | }, | 1513 | }, |
1514 | [BTTV_RV605] = { | 1514 | [BTTV_BOARD_RV605] = { |
1515 | /* Miguel Freitas <miguel@cetuc.puc-rio.br> */ | 1515 | /* Miguel Freitas <miguel@cetuc.puc-rio.br> */ |
1516 | .name = "RemoteVision MX (RV605)", | 1516 | .name = "RemoteVision MX (RV605)", |
1517 | .video_inputs = 16, | 1517 | .video_inputs = 16, |
@@ -1528,7 +1528,7 @@ struct tvcard bttv_tvcards[] = { | |||
1528 | .tuner_addr = ADDR_UNSET, | 1528 | .tuner_addr = ADDR_UNSET, |
1529 | .muxsel_hook = rv605_muxsel, | 1529 | .muxsel_hook = rv605_muxsel, |
1530 | }, | 1530 | }, |
1531 | [BTTV_POWERCLR_MTV878] = { | 1531 | [BTTV_BOARD_POWERCLR_MTV878] = { |
1532 | .name = "Powercolor MTV878/ MTV878R/ MTV878F", | 1532 | .name = "Powercolor MTV878/ MTV878R/ MTV878F", |
1533 | .video_inputs = 3, | 1533 | .video_inputs = 3, |
1534 | .audio_inputs = 2, | 1534 | .audio_inputs = 2, |
@@ -1545,7 +1545,7 @@ struct tvcard bttv_tvcards[] = { | |||
1545 | }, | 1545 | }, |
1546 | 1546 | ||
1547 | /* ---- card 0x4c ---------------------------------- */ | 1547 | /* ---- card 0x4c ---------------------------------- */ |
1548 | [BTTV_WINDVR] = { | 1548 | [BTTV_BOARD_WINDVR] = { |
1549 | /* Masaki Suzuki <masaki@btree.org> */ | 1549 | /* Masaki Suzuki <masaki@btree.org> */ |
1550 | .name = "Canopus WinDVR PCI (COMPAQ Presario 3524JP, 5112JP)", | 1550 | .name = "Canopus WinDVR PCI (COMPAQ Presario 3524JP, 5112JP)", |
1551 | .video_inputs = 3, | 1551 | .video_inputs = 3, |
@@ -1559,7 +1559,7 @@ struct tvcard bttv_tvcards[] = { | |||
1559 | .tuner_addr = ADDR_UNSET, | 1559 | .tuner_addr = ADDR_UNSET, |
1560 | .audio_hook = windvr_audio, | 1560 | .audio_hook = windvr_audio, |
1561 | }, | 1561 | }, |
1562 | [BTTV_GRANDTEC_MULTI] = { | 1562 | [BTTV_BOARD_GRANDTEC_MULTI] = { |
1563 | .name = "GrandTec Multi Capture Card (Bt878)", | 1563 | .name = "GrandTec Multi Capture Card (Bt878)", |
1564 | .video_inputs = 4, | 1564 | .video_inputs = 4, |
1565 | .audio_inputs = 0, | 1565 | .audio_inputs = 0, |
@@ -1574,7 +1574,7 @@ struct tvcard bttv_tvcards[] = { | |||
1574 | .tuner_type = -1, | 1574 | .tuner_type = -1, |
1575 | .tuner_addr = ADDR_UNSET, | 1575 | .tuner_addr = ADDR_UNSET, |
1576 | }, | 1576 | }, |
1577 | [BTTV_KWORLD] = { | 1577 | [BTTV_BOARD_KWORLD] = { |
1578 | .name = "Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF", | 1578 | .name = "Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF", |
1579 | .video_inputs = 4, | 1579 | .video_inputs = 4, |
1580 | .audio_inputs = 3, | 1580 | .audio_inputs = 3, |
@@ -1607,7 +1607,7 @@ struct tvcard bttv_tvcards[] = { | |||
1607 | GPIO22,23: ?? | 1607 | GPIO22,23: ?? |
1608 | ?? : mtu8b56ep microcontroller for IR (GPIO wiring unknown)*/ | 1608 | ?? : mtu8b56ep microcontroller for IR (GPIO wiring unknown)*/ |
1609 | }, | 1609 | }, |
1610 | [BTTV_DSP_TCVIDEO] = { | 1610 | [BTTV_BOARD_DSP_TCVIDEO] = { |
1611 | /* Arthur Tetzlaff-Deas, DSP Design Ltd <software@dspdesign.com> */ | 1611 | /* Arthur Tetzlaff-Deas, DSP Design Ltd <software@dspdesign.com> */ |
1612 | .name = "DSP Design TCVIDEO", | 1612 | .name = "DSP Design TCVIDEO", |
1613 | .video_inputs = 4, | 1613 | .video_inputs = 4, |
@@ -1619,7 +1619,7 @@ struct tvcard bttv_tvcards[] = { | |||
1619 | }, | 1619 | }, |
1620 | 1620 | ||
1621 | /* ---- card 0x50 ---------------------------------- */ | 1621 | /* ---- card 0x50 ---------------------------------- */ |
1622 | [BTTV_HAUPPAUGEPVR] = { | 1622 | [BTTV_BOARD_HAUPPAUGEPVR] = { |
1623 | .name = "Hauppauge WinTV PVR", | 1623 | .name = "Hauppauge WinTV PVR", |
1624 | .video_inputs = 4, | 1624 | .video_inputs = 4, |
1625 | .audio_inputs = 1, | 1625 | .audio_inputs = 1, |
@@ -1634,7 +1634,7 @@ struct tvcard bttv_tvcards[] = { | |||
1634 | .gpiomask = 7, | 1634 | .gpiomask = 7, |
1635 | .audiomux = {7}, | 1635 | .audiomux = {7}, |
1636 | }, | 1636 | }, |
1637 | [BTTV_GVBCTV5PCI] = { | 1637 | [BTTV_BOARD_GVBCTV5PCI] = { |
1638 | .name = "IODATA GV-BCTV5/PCI", | 1638 | .name = "IODATA GV-BCTV5/PCI", |
1639 | .video_inputs = 3, | 1639 | .video_inputs = 3, |
1640 | .audio_inputs = 1, | 1640 | .audio_inputs = 1, |
@@ -1650,7 +1650,7 @@ struct tvcard bttv_tvcards[] = { | |||
1650 | .audio_hook = gvbctv5pci_audio, | 1650 | .audio_hook = gvbctv5pci_audio, |
1651 | .has_radio = 1, | 1651 | .has_radio = 1, |
1652 | }, | 1652 | }, |
1653 | [BTTV_OSPREY1x0] = { | 1653 | [BTTV_BOARD_OSPREY1x0] = { |
1654 | .name = "Osprey 100/150 (878)", /* 0x1(2|3)-45C6-C1 */ | 1654 | .name = "Osprey 100/150 (878)", /* 0x1(2|3)-45C6-C1 */ |
1655 | .video_inputs = 4, /* id-inputs-clock */ | 1655 | .video_inputs = 4, /* id-inputs-clock */ |
1656 | .audio_inputs = 0, | 1656 | .audio_inputs = 0, |
@@ -1664,7 +1664,7 @@ struct tvcard bttv_tvcards[] = { | |||
1664 | .no_tda9875 = 1, | 1664 | .no_tda9875 = 1, |
1665 | .no_tda7432 = 1, | 1665 | .no_tda7432 = 1, |
1666 | }, | 1666 | }, |
1667 | [BTTV_OSPREY1x0_848] = { | 1667 | [BTTV_BOARD_OSPREY1x0_848] = { |
1668 | .name = "Osprey 100/150 (848)", /* 0x04-54C0-C1 & older boards */ | 1668 | .name = "Osprey 100/150 (848)", /* 0x04-54C0-C1 & older boards */ |
1669 | .video_inputs = 3, | 1669 | .video_inputs = 3, |
1670 | .audio_inputs = 0, | 1670 | .audio_inputs = 0, |
@@ -1680,7 +1680,7 @@ struct tvcard bttv_tvcards[] = { | |||
1680 | }, | 1680 | }, |
1681 | 1681 | ||
1682 | /* ---- card 0x54 ---------------------------------- */ | 1682 | /* ---- card 0x54 ---------------------------------- */ |
1683 | [BTTV_OSPREY101_848] = { | 1683 | [BTTV_BOARD_OSPREY101_848] = { |
1684 | .name = "Osprey 101 (848)", /* 0x05-40C0-C1 */ | 1684 | .name = "Osprey 101 (848)", /* 0x05-40C0-C1 */ |
1685 | .video_inputs = 2, | 1685 | .video_inputs = 2, |
1686 | .audio_inputs = 0, | 1686 | .audio_inputs = 0, |
@@ -1694,7 +1694,7 @@ struct tvcard bttv_tvcards[] = { | |||
1694 | .no_tda9875 = 1, | 1694 | .no_tda9875 = 1, |
1695 | .no_tda7432 = 1, | 1695 | .no_tda7432 = 1, |
1696 | }, | 1696 | }, |
1697 | [BTTV_OSPREY1x1] = { | 1697 | [BTTV_BOARD_OSPREY1x1] = { |
1698 | .name = "Osprey 101/151", /* 0x1(4|5)-0004-C4 */ | 1698 | .name = "Osprey 101/151", /* 0x1(4|5)-0004-C4 */ |
1699 | .video_inputs = 1, | 1699 | .video_inputs = 1, |
1700 | .audio_inputs = 0, | 1700 | .audio_inputs = 0, |
@@ -1708,7 +1708,7 @@ struct tvcard bttv_tvcards[] = { | |||
1708 | .no_tda9875 = 1, | 1708 | .no_tda9875 = 1, |
1709 | .no_tda7432 = 1, | 1709 | .no_tda7432 = 1, |
1710 | }, | 1710 | }, |
1711 | [BTTV_OSPREY1x1_SVID] = { | 1711 | [BTTV_BOARD_OSPREY1x1_SVID] = { |
1712 | .name = "Osprey 101/151 w/ svid", /* 0x(16|17|20)-00C4-C1 */ | 1712 | .name = "Osprey 101/151 w/ svid", /* 0x(16|17|20)-00C4-C1 */ |
1713 | .video_inputs = 2, | 1713 | .video_inputs = 2, |
1714 | .audio_inputs = 0, | 1714 | .audio_inputs = 0, |
@@ -1722,7 +1722,7 @@ struct tvcard bttv_tvcards[] = { | |||
1722 | .no_tda9875 = 1, | 1722 | .no_tda9875 = 1, |
1723 | .no_tda7432 = 1, | 1723 | .no_tda7432 = 1, |
1724 | }, | 1724 | }, |
1725 | [BTTV_OSPREY2xx] = { | 1725 | [BTTV_BOARD_OSPREY2xx] = { |
1726 | .name = "Osprey 200/201/250/251", /* 0x1(8|9|E|F)-0004-C4 */ | 1726 | .name = "Osprey 200/201/250/251", /* 0x1(8|9|E|F)-0004-C4 */ |
1727 | .video_inputs = 1, | 1727 | .video_inputs = 1, |
1728 | .audio_inputs = 1, | 1728 | .audio_inputs = 1, |
@@ -1738,7 +1738,7 @@ struct tvcard bttv_tvcards[] = { | |||
1738 | }, | 1738 | }, |
1739 | 1739 | ||
1740 | /* ---- card 0x58 ---------------------------------- */ | 1740 | /* ---- card 0x58 ---------------------------------- */ |
1741 | [BTTV_OSPREY2x0_SVID] = { | 1741 | [BTTV_BOARD_OSPREY2x0_SVID] = { |
1742 | .name = "Osprey 200/250", /* 0x1(A|B)-00C4-C1 */ | 1742 | .name = "Osprey 200/250", /* 0x1(A|B)-00C4-C1 */ |
1743 | .video_inputs = 2, | 1743 | .video_inputs = 2, |
1744 | .audio_inputs = 1, | 1744 | .audio_inputs = 1, |
@@ -1752,7 +1752,7 @@ struct tvcard bttv_tvcards[] = { | |||
1752 | .no_tda9875 = 1, | 1752 | .no_tda9875 = 1, |
1753 | .no_tda7432 = 1, | 1753 | .no_tda7432 = 1, |
1754 | }, | 1754 | }, |
1755 | [BTTV_OSPREY2x0] = { | 1755 | [BTTV_BOARD_OSPREY2x0] = { |
1756 | .name = "Osprey 210/220", /* 0x1(A|B)-04C0-C1 */ | 1756 | .name = "Osprey 210/220", /* 0x1(A|B)-04C0-C1 */ |
1757 | .video_inputs = 2, | 1757 | .video_inputs = 2, |
1758 | .audio_inputs = 1, | 1758 | .audio_inputs = 1, |
@@ -1766,7 +1766,7 @@ struct tvcard bttv_tvcards[] = { | |||
1766 | .no_tda9875 = 1, | 1766 | .no_tda9875 = 1, |
1767 | .no_tda7432 = 1, | 1767 | .no_tda7432 = 1, |
1768 | }, | 1768 | }, |
1769 | [BTTV_OSPREY500] = { | 1769 | [BTTV_BOARD_OSPREY500] = { |
1770 | .name = "Osprey 500", /* 500 */ | 1770 | .name = "Osprey 500", /* 500 */ |
1771 | .video_inputs = 2, | 1771 | .video_inputs = 2, |
1772 | .audio_inputs = 1, | 1772 | .audio_inputs = 1, |
@@ -1780,7 +1780,7 @@ struct tvcard bttv_tvcards[] = { | |||
1780 | .no_tda9875 = 1, | 1780 | .no_tda9875 = 1, |
1781 | .no_tda7432 = 1, | 1781 | .no_tda7432 = 1, |
1782 | }, | 1782 | }, |
1783 | [BTTV_OSPREY540] = { | 1783 | [BTTV_BOARD_OSPREY540] = { |
1784 | .name = "Osprey 540", /* 540 */ | 1784 | .name = "Osprey 540", /* 540 */ |
1785 | .video_inputs = 4, | 1785 | .video_inputs = 4, |
1786 | .audio_inputs = 1, | 1786 | .audio_inputs = 1, |
@@ -1803,7 +1803,7 @@ struct tvcard bttv_tvcards[] = { | |||
1803 | }, | 1803 | }, |
1804 | 1804 | ||
1805 | /* ---- card 0x5C ---------------------------------- */ | 1805 | /* ---- card 0x5C ---------------------------------- */ |
1806 | [BTTV_OSPREY2000] = { | 1806 | [BTTV_BOARD_OSPREY2000] = { |
1807 | .name = "Osprey 2000", /* 2000 */ | 1807 | .name = "Osprey 2000", /* 2000 */ |
1808 | .video_inputs = 2, | 1808 | .video_inputs = 2, |
1809 | .audio_inputs = 1, | 1809 | .audio_inputs = 1, |
@@ -1817,7 +1817,7 @@ struct tvcard bttv_tvcards[] = { | |||
1817 | .no_tda9875 = 1, | 1817 | .no_tda9875 = 1, |
1818 | .no_tda7432 = 1, /* must avoid, conflicts with the bt860 */ | 1818 | .no_tda7432 = 1, /* must avoid, conflicts with the bt860 */ |
1819 | }, | 1819 | }, |
1820 | [BTTV_IDS_EAGLE] = { | 1820 | [BTTV_BOARD_IDS_EAGLE] = { |
1821 | /* M G Berberich <berberic@forwiss.uni-passau.de> */ | 1821 | /* M G Berberich <berberic@forwiss.uni-passau.de> */ |
1822 | .name = "IDS Eagle", | 1822 | .name = "IDS Eagle", |
1823 | .video_inputs = 4, | 1823 | .video_inputs = 4, |
@@ -1833,7 +1833,7 @@ struct tvcard bttv_tvcards[] = { | |||
1833 | .no_tda9875 = 1, | 1833 | .no_tda9875 = 1, |
1834 | .pll = PLL_28, | 1834 | .pll = PLL_28, |
1835 | }, | 1835 | }, |
1836 | [BTTV_PINNACLESAT] = { | 1836 | [BTTV_BOARD_PINNACLESAT] = { |
1837 | .name = "Pinnacle PCTV Sat", | 1837 | .name = "Pinnacle PCTV Sat", |
1838 | .video_inputs = 2, | 1838 | .video_inputs = 2, |
1839 | .audio_inputs = 0, | 1839 | .audio_inputs = 0, |
@@ -1849,7 +1849,7 @@ struct tvcard bttv_tvcards[] = { | |||
1849 | .no_gpioirq = 1, | 1849 | .no_gpioirq = 1, |
1850 | .has_dvb = 1, | 1850 | .has_dvb = 1, |
1851 | }, | 1851 | }, |
1852 | [BTTV_FORMAC_PROTV] = { | 1852 | [BTTV_BOARD_FORMAC_PROTV] = { |
1853 | .name = "Formac ProTV II (bt878)", | 1853 | .name = "Formac ProTV II (bt878)", |
1854 | .video_inputs = 4, | 1854 | .video_inputs = 4, |
1855 | .audio_inputs = 1, | 1855 | .audio_inputs = 1, |
@@ -1873,7 +1873,7 @@ struct tvcard bttv_tvcards[] = { | |||
1873 | }, | 1873 | }, |
1874 | 1874 | ||
1875 | /* ---- card 0x60 ---------------------------------- */ | 1875 | /* ---- card 0x60 ---------------------------------- */ |
1876 | [BTTV_MACHTV] = { | 1876 | [BTTV_BOARD_MACHTV] = { |
1877 | .name = "MachTV", | 1877 | .name = "MachTV", |
1878 | .video_inputs = 3, | 1878 | .video_inputs = 3, |
1879 | .audio_inputs = 1, | 1879 | .audio_inputs = 1, |
@@ -1887,7 +1887,7 @@ struct tvcard bttv_tvcards[] = { | |||
1887 | .tuner_addr = ADDR_UNSET, | 1887 | .tuner_addr = ADDR_UNSET, |
1888 | .pll = 1, | 1888 | .pll = 1, |
1889 | }, | 1889 | }, |
1890 | [BTTV_EURESYS_PICOLO] = { | 1890 | [BTTV_BOARD_EURESYS_PICOLO] = { |
1891 | .name = "Euresys Picolo", | 1891 | .name = "Euresys Picolo", |
1892 | .video_inputs = 3, | 1892 | .video_inputs = 3, |
1893 | .audio_inputs = 0, | 1893 | .audio_inputs = 0, |
@@ -1902,7 +1902,7 @@ struct tvcard bttv_tvcards[] = { | |||
1902 | .tuner_type = UNSET, | 1902 | .tuner_type = UNSET, |
1903 | .tuner_addr = ADDR_UNSET, | 1903 | .tuner_addr = ADDR_UNSET, |
1904 | }, | 1904 | }, |
1905 | [BTTV_PV150] = { | 1905 | [BTTV_BOARD_PV150] = { |
1906 | /* Luc Van Hoeylandt <luc@e-magic.be> */ | 1906 | /* Luc Van Hoeylandt <luc@e-magic.be> */ |
1907 | .name = "ProVideo PV150", /* 0x4f */ | 1907 | .name = "ProVideo PV150", /* 0x4f */ |
1908 | .video_inputs = 2, | 1908 | .video_inputs = 2, |
@@ -1918,7 +1918,7 @@ struct tvcard bttv_tvcards[] = { | |||
1918 | .tuner_type = UNSET, | 1918 | .tuner_type = UNSET, |
1919 | .tuner_addr = ADDR_UNSET, | 1919 | .tuner_addr = ADDR_UNSET, |
1920 | }, | 1920 | }, |
1921 | [BTTV_AD_TVK503] = { | 1921 | [BTTV_BOARD_AD_TVK503] = { |
1922 | /* Hiroshi Takekawa <sian@big.or.jp> */ | 1922 | /* Hiroshi Takekawa <sian@big.or.jp> */ |
1923 | /* This card lacks subsystem ID */ | 1923 | /* This card lacks subsystem ID */ |
1924 | .name = "AD-TVK503", /* 0x63 */ | 1924 | .name = "AD-TVK503", /* 0x63 */ |
@@ -1939,7 +1939,7 @@ struct tvcard bttv_tvcards[] = { | |||
1939 | }, | 1939 | }, |
1940 | 1940 | ||
1941 | /* ---- card 0x64 ---------------------------------- */ | 1941 | /* ---- card 0x64 ---------------------------------- */ |
1942 | [BTTV_HERCULES_SM_TV] = { | 1942 | [BTTV_BOARD_HERCULES_SM_TV] = { |
1943 | .name = "Hercules Smart TV Stereo", | 1943 | .name = "Hercules Smart TV Stereo", |
1944 | .video_inputs = 4, | 1944 | .video_inputs = 4, |
1945 | .audio_inputs = 1, | 1945 | .audio_inputs = 1, |
@@ -1962,7 +1962,7 @@ struct tvcard bttv_tvcards[] = { | |||
1962 | hef4053 (instead 4052) for unknown function | 1962 | hef4053 (instead 4052) for unknown function |
1963 | */ | 1963 | */ |
1964 | }, | 1964 | }, |
1965 | [BTTV_PACETV] = { | 1965 | [BTTV_BOARD_PACETV] = { |
1966 | .name = "Pace TV & Radio Card", | 1966 | .name = "Pace TV & Radio Card", |
1967 | .video_inputs = 4, | 1967 | .video_inputs = 4, |
1968 | .audio_inputs = 1, | 1968 | .audio_inputs = 1, |
@@ -1983,7 +1983,7 @@ struct tvcard bttv_tvcards[] = { | |||
1983 | .digital_mode = DIGITAL_MODE_CAMERA, todo! | 1983 | .digital_mode = DIGITAL_MODE_CAMERA, todo! |
1984 | */ | 1984 | */ |
1985 | }, | 1985 | }, |
1986 | [BTTV_IVC200] = { | 1986 | [BTTV_BOARD_IVC200] = { |
1987 | /* Chris Willing <chris@vislab.usyd.edu.au> */ | 1987 | /* Chris Willing <chris@vislab.usyd.edu.au> */ |
1988 | .name = "IVC-200", | 1988 | .name = "IVC-200", |
1989 | .video_inputs = 1, | 1989 | .video_inputs = 1, |
@@ -1996,7 +1996,7 @@ struct tvcard bttv_tvcards[] = { | |||
1996 | .muxsel = { 2 }, | 1996 | .muxsel = { 2 }, |
1997 | .pll = PLL_28, | 1997 | .pll = PLL_28, |
1998 | }, | 1998 | }, |
1999 | [BTTV_XGUARD] = { | 1999 | [BTTV_BOARD_XGUARD] = { |
2000 | .name = "Grand X-Guard / Trust 814PCI", | 2000 | .name = "Grand X-Guard / Trust 814PCI", |
2001 | .video_inputs = 16, | 2001 | .video_inputs = 16, |
2002 | .audio_inputs = 0, | 2002 | .audio_inputs = 0, |
@@ -2014,7 +2014,7 @@ struct tvcard bttv_tvcards[] = { | |||
2014 | }, | 2014 | }, |
2015 | 2015 | ||
2016 | /* ---- card 0x68 ---------------------------------- */ | 2016 | /* ---- card 0x68 ---------------------------------- */ |
2017 | [BTTV_NEBULA_DIGITV] = { | 2017 | [BTTV_BOARD_NEBULA_DIGITV] = { |
2018 | .name = "Nebula Electronics DigiTV", | 2018 | .name = "Nebula Electronics DigiTV", |
2019 | .video_inputs = 1, | 2019 | .video_inputs = 1, |
2020 | .tuner = -1, | 2020 | .tuner = -1, |
@@ -2029,7 +2029,7 @@ struct tvcard bttv_tvcards[] = { | |||
2029 | .has_dvb = 1, | 2029 | .has_dvb = 1, |
2030 | .no_gpioirq = 1, | 2030 | .no_gpioirq = 1, |
2031 | }, | 2031 | }, |
2032 | [BTTV_PV143] = { | 2032 | [BTTV_BOARD_PV143] = { |
2033 | /* Jorge Boncompte - DTI2 <jorge@dti2.net> */ | 2033 | /* Jorge Boncompte - DTI2 <jorge@dti2.net> */ |
2034 | .name = "ProVideo PV143", | 2034 | .name = "ProVideo PV143", |
2035 | .video_inputs = 4, | 2035 | .video_inputs = 4, |
@@ -2045,7 +2045,7 @@ struct tvcard bttv_tvcards[] = { | |||
2045 | .tuner_type = -1, | 2045 | .tuner_type = -1, |
2046 | .tuner_addr = ADDR_UNSET, | 2046 | .tuner_addr = ADDR_UNSET, |
2047 | }, | 2047 | }, |
2048 | [BTTV_VD009X1_MINIDIN] = { | 2048 | [BTTV_BOARD_VD009X1_MINIDIN] = { |
2049 | /* M.Klahr@phytec.de */ | 2049 | /* M.Klahr@phytec.de */ |
2050 | .name = "PHYTEC VD-009-X1 MiniDIN (bt878)", | 2050 | .name = "PHYTEC VD-009-X1 MiniDIN (bt878)", |
2051 | .video_inputs = 4, | 2051 | .video_inputs = 4, |
@@ -2060,7 +2060,7 @@ struct tvcard bttv_tvcards[] = { | |||
2060 | .tuner_type = -1, | 2060 | .tuner_type = -1, |
2061 | .tuner_addr = ADDR_UNSET, | 2061 | .tuner_addr = ADDR_UNSET, |
2062 | }, | 2062 | }, |
2063 | [BTTV_VD009X1_COMBI] = { | 2063 | [BTTV_BOARD_VD009X1_COMBI] = { |
2064 | .name = "PHYTEC VD-009-X1 Combi (bt878)", | 2064 | .name = "PHYTEC VD-009-X1 Combi (bt878)", |
2065 | .video_inputs = 4, | 2065 | .video_inputs = 4, |
2066 | .audio_inputs = 0, | 2066 | .audio_inputs = 0, |
@@ -2076,7 +2076,7 @@ struct tvcard bttv_tvcards[] = { | |||
2076 | }, | 2076 | }, |
2077 | 2077 | ||
2078 | /* ---- card 0x6c ---------------------------------- */ | 2078 | /* ---- card 0x6c ---------------------------------- */ |
2079 | [BTTV_VD009_MINIDIN] = { | 2079 | [BTTV_BOARD_VD009_MINIDIN] = { |
2080 | .name = "PHYTEC VD-009 MiniDIN (bt878)", | 2080 | .name = "PHYTEC VD-009 MiniDIN (bt878)", |
2081 | .video_inputs = 10, | 2081 | .video_inputs = 10, |
2082 | .audio_inputs = 0, | 2082 | .audio_inputs = 0, |
@@ -2093,7 +2093,7 @@ struct tvcard bttv_tvcards[] = { | |||
2093 | .tuner_type = -1, | 2093 | .tuner_type = -1, |
2094 | .tuner_addr = ADDR_UNSET, | 2094 | .tuner_addr = ADDR_UNSET, |
2095 | }, | 2095 | }, |
2096 | [BTTV_VD009_COMBI] = { | 2096 | [BTTV_BOARD_VD009_COMBI] = { |
2097 | .name = "PHYTEC VD-009 Combi (bt878)", | 2097 | .name = "PHYTEC VD-009 Combi (bt878)", |
2098 | .video_inputs = 10, | 2098 | .video_inputs = 10, |
2099 | .audio_inputs = 0, | 2099 | .audio_inputs = 0, |
@@ -2110,7 +2110,7 @@ struct tvcard bttv_tvcards[] = { | |||
2110 | .tuner_type = -1, | 2110 | .tuner_type = -1, |
2111 | .tuner_addr = ADDR_UNSET, | 2111 | .tuner_addr = ADDR_UNSET, |
2112 | }, | 2112 | }, |
2113 | [BTTV_IVC100] = { | 2113 | [BTTV_BOARD_IVC100] = { |
2114 | .name = "IVC-100", | 2114 | .name = "IVC-100", |
2115 | .video_inputs = 4, | 2115 | .video_inputs = 4, |
2116 | .audio_inputs = 0, | 2116 | .audio_inputs = 0, |
@@ -2122,7 +2122,7 @@ struct tvcard bttv_tvcards[] = { | |||
2122 | .muxsel = { 2, 3, 1, 0 }, | 2122 | .muxsel = { 2, 3, 1, 0 }, |
2123 | .pll = PLL_28, | 2123 | .pll = PLL_28, |
2124 | }, | 2124 | }, |
2125 | [BTTV_IVC120] = { | 2125 | [BTTV_BOARD_IVC120] = { |
2126 | /* IVC-120G - Alan Garfield <alan@fromorbit.com> */ | 2126 | /* IVC-120G - Alan Garfield <alan@fromorbit.com> */ |
2127 | .name = "IVC-120G", | 2127 | .name = "IVC-120G", |
2128 | .video_inputs = 16, | 2128 | .video_inputs = 16, |
@@ -2143,7 +2143,7 @@ struct tvcard bttv_tvcards[] = { | |||
2143 | }, | 2143 | }, |
2144 | 2144 | ||
2145 | /* ---- card 0x70 ---------------------------------- */ | 2145 | /* ---- card 0x70 ---------------------------------- */ |
2146 | [BTTV_PC_HDTV] = { | 2146 | [BTTV_BOARD_PC_HDTV] = { |
2147 | .name = "pcHDTV HD-2000 TV", | 2147 | .name = "pcHDTV HD-2000 TV", |
2148 | .video_inputs = 4, | 2148 | .video_inputs = 4, |
2149 | .audio_inputs = 1, | 2149 | .audio_inputs = 1, |
@@ -2154,7 +2154,7 @@ struct tvcard bttv_tvcards[] = { | |||
2154 | .tuner_addr = ADDR_UNSET, | 2154 | .tuner_addr = ADDR_UNSET, |
2155 | .has_dvb = 1, | 2155 | .has_dvb = 1, |
2156 | }, | 2156 | }, |
2157 | [BTTV_TWINHAN_DST] = { | 2157 | [BTTV_BOARD_TWINHAN_DST] = { |
2158 | .name = "Twinhan DST + clones", | 2158 | .name = "Twinhan DST + clones", |
2159 | .no_msp34xx = 1, | 2159 | .no_msp34xx = 1, |
2160 | .no_tda9875 = 1, | 2160 | .no_tda9875 = 1, |
@@ -2164,7 +2164,7 @@ struct tvcard bttv_tvcards[] = { | |||
2164 | .no_video = 1, | 2164 | .no_video = 1, |
2165 | .has_dvb = 1, | 2165 | .has_dvb = 1, |
2166 | }, | 2166 | }, |
2167 | [BTTV_WINFASTVC100] = { | 2167 | [BTTV_BOARD_WINFASTVC100] = { |
2168 | .name = "Winfast VC100", | 2168 | .name = "Winfast VC100", |
2169 | .video_inputs = 3, | 2169 | .video_inputs = 3, |
2170 | .audio_inputs = 0, | 2170 | .audio_inputs = 0, |
@@ -2178,7 +2178,7 @@ struct tvcard bttv_tvcards[] = { | |||
2178 | .tuner_addr = ADDR_UNSET, | 2178 | .tuner_addr = ADDR_UNSET, |
2179 | .pll = PLL_28, | 2179 | .pll = PLL_28, |
2180 | }, | 2180 | }, |
2181 | [BTTV_TEV560] = { | 2181 | [BTTV_BOARD_TEV560] = { |
2182 | .name = "Teppro TEV-560/InterVision IV-560", | 2182 | .name = "Teppro TEV-560/InterVision IV-560", |
2183 | .video_inputs = 3, | 2183 | .video_inputs = 3, |
2184 | .audio_inputs = 1, | 2184 | .audio_inputs = 1, |
@@ -2194,7 +2194,7 @@ struct tvcard bttv_tvcards[] = { | |||
2194 | }, | 2194 | }, |
2195 | 2195 | ||
2196 | /* ---- card 0x74 ---------------------------------- */ | 2196 | /* ---- card 0x74 ---------------------------------- */ |
2197 | [BTTV_SIMUS_GVC1100] = { | 2197 | [BTTV_BOARD_SIMUS_GVC1100] = { |
2198 | .name = "SIMUS GVC1100", | 2198 | .name = "SIMUS GVC1100", |
2199 | .video_inputs = 4, | 2199 | .video_inputs = 4, |
2200 | .audio_inputs = 0, | 2200 | .audio_inputs = 0, |
@@ -2207,7 +2207,7 @@ struct tvcard bttv_tvcards[] = { | |||
2207 | .gpiomask = 0x3F, | 2207 | .gpiomask = 0x3F, |
2208 | .muxsel_hook = gvc1100_muxsel, | 2208 | .muxsel_hook = gvc1100_muxsel, |
2209 | }, | 2209 | }, |
2210 | [BTTV_NGSTV_PLUS] = { | 2210 | [BTTV_BOARD_NGSTV_PLUS] = { |
2211 | /* Carlos Silva r3pek@r3pek.homelinux.org || card 0x75 */ | 2211 | /* Carlos Silva r3pek@r3pek.homelinux.org || card 0x75 */ |
2212 | .name = "NGS NGSTV+", | 2212 | .name = "NGS NGSTV+", |
2213 | .video_inputs = 3, | 2213 | .video_inputs = 3, |
@@ -2221,7 +2221,7 @@ struct tvcard bttv_tvcards[] = { | |||
2221 | .tuner_addr = ADDR_UNSET, | 2221 | .tuner_addr = ADDR_UNSET, |
2222 | .has_remote = 1, | 2222 | .has_remote = 1, |
2223 | }, | 2223 | }, |
2224 | [BTTV_LMLBT4] = { | 2224 | [BTTV_BOARD_LMLBT4] = { |
2225 | /* http://linuxmedialabs.com */ | 2225 | /* http://linuxmedialabs.com */ |
2226 | .name = "LMLBT4", | 2226 | .name = "LMLBT4", |
2227 | .video_inputs = 4, /* IN1,IN2,IN3,IN4 */ | 2227 | .video_inputs = 4, /* IN1,IN2,IN3,IN4 */ |
@@ -2236,7 +2236,7 @@ struct tvcard bttv_tvcards[] = { | |||
2236 | .tuner_type = -1, | 2236 | .tuner_type = -1, |
2237 | .tuner_addr = ADDR_UNSET, | 2237 | .tuner_addr = ADDR_UNSET, |
2238 | }, | 2238 | }, |
2239 | [BTTV_TEKRAM_M205] = { | 2239 | [BTTV_BOARD_TEKRAM_M205] = { |
2240 | /* Helmroos Harri <harri.helmroos@pp.inet.fi> */ | 2240 | /* Helmroos Harri <harri.helmroos@pp.inet.fi> */ |
2241 | .name = "Tekram M205 PRO", | 2241 | .name = "Tekram M205 PRO", |
2242 | .video_inputs = 3, | 2242 | .video_inputs = 3, |
@@ -2253,7 +2253,7 @@ struct tvcard bttv_tvcards[] = { | |||
2253 | }, | 2253 | }, |
2254 | 2254 | ||
2255 | /* ---- card 0x78 ---------------------------------- */ | 2255 | /* ---- card 0x78 ---------------------------------- */ |
2256 | [BTTV_CONTVFMI] = { | 2256 | [BTTV_BOARD_CONTVFMI] = { |
2257 | /* Javier Cendan Ares <jcendan@lycos.es> */ | 2257 | /* Javier Cendan Ares <jcendan@lycos.es> */ |
2258 | /* bt878 TV + FM without subsystem ID */ | 2258 | /* bt878 TV + FM without subsystem ID */ |
2259 | .name = "Conceptronic CONTVFMi", | 2259 | .name = "Conceptronic CONTVFMi", |
@@ -2271,10 +2271,10 @@ struct tvcard bttv_tvcards[] = { | |||
2271 | .has_remote = 1, | 2271 | .has_remote = 1, |
2272 | .has_radio = 1, | 2272 | .has_radio = 1, |
2273 | }, | 2273 | }, |
2274 | [BTTV_PICOLO_TETRA_CHIP] = { | 2274 | [BTTV_BOARD_PICOLO_TETRA_CHIP] = { |
2275 | /*Eric DEBIEF <debief@telemsa.com>*/ | 2275 | /*Eric DEBIEF <debief@telemsa.com>*/ |
2276 | /*EURESYS Picolo Tetra : 4 Conexant Fusion 878A, no audio, video input set with analog multiplexers GPIO controled*/ | 2276 | /*EURESYS Picolo Tetra : 4 Conexant Fusion 878A, no audio, video input set with analog multiplexers GPIO controled*/ |
2277 | /* adds picolo_tetra_muxsel(), picolo_tetra_init(), the folowing declaration strucure, and #define BTTV_PICOLO_TETRA_CHIP*/ | 2277 | /* adds picolo_tetra_muxsel(), picolo_tetra_init(), the folowing declaration strucure, and #define BTTV_BOARD_PICOLO_TETRA_CHIP*/ |
2278 | /*0x79 in bttv.h*/ | 2278 | /*0x79 in bttv.h*/ |
2279 | .name = "Euresys Picolo Tetra", | 2279 | .name = "Euresys Picolo Tetra", |
2280 | .video_inputs = 4, | 2280 | .video_inputs = 4, |
@@ -2294,7 +2294,7 @@ struct tvcard bttv_tvcards[] = { | |||
2294 | .tuner_type = -1, | 2294 | .tuner_type = -1, |
2295 | .tuner_addr = ADDR_UNSET, | 2295 | .tuner_addr = ADDR_UNSET, |
2296 | }, | 2296 | }, |
2297 | [BTTV_SPIRIT_TV] = { | 2297 | [BTTV_BOARD_SPIRIT_TV] = { |
2298 | /* Spirit TV Tuner from http://spiritmodems.com.au */ | 2298 | /* Spirit TV Tuner from http://spiritmodems.com.au */ |
2299 | /* Stafford Goodsell <surge@goliath.homeunix.org> */ | 2299 | /* Stafford Goodsell <surge@goliath.homeunix.org> */ |
2300 | .name = "Spirit TV Tuner", | 2300 | .name = "Spirit TV Tuner", |
@@ -2310,7 +2310,7 @@ struct tvcard bttv_tvcards[] = { | |||
2310 | .no_msp34xx = 1, | 2310 | .no_msp34xx = 1, |
2311 | .no_tda9875 = 1, | 2311 | .no_tda9875 = 1, |
2312 | }, | 2312 | }, |
2313 | [BTTV_AVDVBT_771] = { | 2313 | [BTTV_BOARD_AVDVBT_771] = { |
2314 | /* Wolfram Joost <wojo@frokaschwei.de> */ | 2314 | /* Wolfram Joost <wojo@frokaschwei.de> */ |
2315 | .name = "AVerMedia AVerTV DVB-T 771", | 2315 | .name = "AVerMedia AVerTV DVB-T 771", |
2316 | .video_inputs = 2, | 2316 | .video_inputs = 2, |
@@ -2328,9 +2328,9 @@ struct tvcard bttv_tvcards[] = { | |||
2328 | .has_remote = 1, | 2328 | .has_remote = 1, |
2329 | }, | 2329 | }, |
2330 | /* ---- card 0x7c ---------------------------------- */ | 2330 | /* ---- card 0x7c ---------------------------------- */ |
2331 | [BTTV_AVDVBT_761] = { | 2331 | [BTTV_BOARD_AVDVBT_761] = { |
2332 | /* Matt Jesson <dvb@jesson.eclipse.co.uk> */ | 2332 | /* Matt Jesson <dvb@jesson.eclipse.co.uk> */ |
2333 | /* Based on the Nebula card data - added remote and new card number - BTTV_AVDVBT_761, see also ir-kbd-gpio.c */ | 2333 | /* Based on the Nebula card data - added remote and new card number - BTTV_BOARD_AVDVBT_761, see also ir-kbd-gpio.c */ |
2334 | .name = "AverMedia AverTV DVB-T 761", | 2334 | .name = "AverMedia AverTV DVB-T 761", |
2335 | .video_inputs = 2, | 2335 | .video_inputs = 2, |
2336 | .tuner = -1, | 2336 | .tuner = -1, |
@@ -2346,7 +2346,7 @@ struct tvcard bttv_tvcards[] = { | |||
2346 | .no_gpioirq = 1, | 2346 | .no_gpioirq = 1, |
2347 | .has_remote = 1, | 2347 | .has_remote = 1, |
2348 | }, | 2348 | }, |
2349 | [BTTV_MATRIX_VISIONSQ] = { | 2349 | [BTTV_BOARD_MATRIX_VISIONSQ] = { |
2350 | /* andre.schwarz@matrix-vision.de */ | 2350 | /* andre.schwarz@matrix-vision.de */ |
2351 | .name = "MATRIX Vision Sigma-SQ", | 2351 | .name = "MATRIX Vision Sigma-SQ", |
2352 | .video_inputs = 16, | 2352 | .video_inputs = 16, |
@@ -2363,7 +2363,7 @@ struct tvcard bttv_tvcards[] = { | |||
2363 | .tuner_type = -1, | 2363 | .tuner_type = -1, |
2364 | .tuner_addr = ADDR_UNSET, | 2364 | .tuner_addr = ADDR_UNSET, |
2365 | }, | 2365 | }, |
2366 | [BTTV_MATRIX_VISIONSLC] = { | 2366 | [BTTV_BOARD_MATRIX_VISIONSLC] = { |
2367 | /* andre.schwarz@matrix-vision.de */ | 2367 | /* andre.schwarz@matrix-vision.de */ |
2368 | .name = "MATRIX Vision Sigma-SLC", | 2368 | .name = "MATRIX Vision Sigma-SLC", |
2369 | .video_inputs = 4, | 2369 | .video_inputs = 4, |
@@ -2379,8 +2379,8 @@ struct tvcard bttv_tvcards[] = { | |||
2379 | .tuner_type = -1, | 2379 | .tuner_type = -1, |
2380 | .tuner_addr = ADDR_UNSET, | 2380 | .tuner_addr = ADDR_UNSET, |
2381 | }, | 2381 | }, |
2382 | /* BTTV_APAC_VIEWCOMP */ | 2382 | /* BTTV_BOARD_APAC_VIEWCOMP */ |
2383 | [BTTV_APAC_VIEWCOMP] = { | 2383 | [BTTV_BOARD_APAC_VIEWCOMP] = { |
2384 | /* Attila Kondoros <attila.kondoros@chello.hu> */ | 2384 | /* Attila Kondoros <attila.kondoros@chello.hu> */ |
2385 | /* bt878 TV + FM 0x00000000 subsystem ID */ | 2385 | /* bt878 TV + FM 0x00000000 subsystem ID */ |
2386 | .name = "APAC Viewcomp 878(AMAX)", | 2386 | .name = "APAC Viewcomp 878(AMAX)", |
@@ -2400,7 +2400,7 @@ struct tvcard bttv_tvcards[] = { | |||
2400 | }, | 2400 | }, |
2401 | 2401 | ||
2402 | /* ---- card 0x80 ---------------------------------- */ | 2402 | /* ---- card 0x80 ---------------------------------- */ |
2403 | [BTTV_DVICO_DVBT_LITE] = { | 2403 | [BTTV_BOARD_DVICO_DVBT_LITE] = { |
2404 | /* Chris Pascoe <c.pascoe@itee.uq.edu.au> */ | 2404 | /* Chris Pascoe <c.pascoe@itee.uq.edu.au> */ |
2405 | .name = "DViCO FusionHDTV DVB-T Lite", | 2405 | .name = "DViCO FusionHDTV DVB-T Lite", |
2406 | .tuner = -1, | 2406 | .tuner = -1, |
@@ -2413,7 +2413,7 @@ struct tvcard bttv_tvcards[] = { | |||
2413 | .tuner_type = -1, | 2413 | .tuner_type = -1, |
2414 | .tuner_addr = ADDR_UNSET, | 2414 | .tuner_addr = ADDR_UNSET, |
2415 | }, | 2415 | }, |
2416 | [BTTV_VGEAR_MYVCD] = { | 2416 | [BTTV_BOARD_VGEAR_MYVCD] = { |
2417 | /* Steven <photon38@pchome.com.tw> */ | 2417 | /* Steven <photon38@pchome.com.tw> */ |
2418 | .name = "V-Gear MyVCD", | 2418 | .name = "V-Gear MyVCD", |
2419 | .video_inputs = 3, | 2419 | .video_inputs = 3, |
@@ -2432,7 +2432,7 @@ struct tvcard bttv_tvcards[] = { | |||
2432 | .has_remote = 1, | 2432 | .has_remote = 1, |
2433 | #endif | 2433 | #endif |
2434 | }, | 2434 | }, |
2435 | [BTTV_SUPER_TV] = { | 2435 | [BTTV_BOARD_SUPER_TV] = { |
2436 | /* Rick C <cryptdragoon@gmail.com> */ | 2436 | /* Rick C <cryptdragoon@gmail.com> */ |
2437 | .name = "Super TV Tuner", | 2437 | .name = "Super TV Tuner", |
2438 | .video_inputs = 4, | 2438 | .video_inputs = 4, |
@@ -2447,7 +2447,7 @@ struct tvcard bttv_tvcards[] = { | |||
2447 | .needs_tvaudio = 1, | 2447 | .needs_tvaudio = 1, |
2448 | .has_radio = 1, | 2448 | .has_radio = 1, |
2449 | }, | 2449 | }, |
2450 | [BTTV_TIBET_CS16] = { | 2450 | [BTTV_BOARD_TIBET_CS16] = { |
2451 | /* Chris Fanning <video4linux@haydon.net> */ | 2451 | /* Chris Fanning <video4linux@haydon.net> */ |
2452 | .name = "Tibet Systems 'Progress DVR' CS16", | 2452 | .name = "Tibet Systems 'Progress DVR' CS16", |
2453 | .video_inputs = 16, | 2453 | .video_inputs = 16, |
@@ -2463,7 +2463,7 @@ struct tvcard bttv_tvcards[] = { | |||
2463 | .tuner_addr = ADDR_UNSET, | 2463 | .tuner_addr = ADDR_UNSET, |
2464 | .muxsel_hook = tibetCS16_muxsel, | 2464 | .muxsel_hook = tibetCS16_muxsel, |
2465 | }, | 2465 | }, |
2466 | { | 2466 | [BTTV_BOARD_KODICOM_4400R] = { |
2467 | /* Bill Brack <wbrack@mmm.com.hk> */ | 2467 | /* Bill Brack <wbrack@mmm.com.hk> */ |
2468 | /* | 2468 | /* |
2469 | * Note that, because of the card's wiring, the "master" | 2469 | * Note that, because of the card's wiring, the "master" |
@@ -2499,7 +2499,7 @@ struct tvcard bttv_tvcards[] = { | |||
2499 | .no_tda9875 = 1, | 2499 | .no_tda9875 = 1, |
2500 | .muxsel_hook = kodicom4400r_muxsel, | 2500 | .muxsel_hook = kodicom4400r_muxsel, |
2501 | }, | 2501 | }, |
2502 | { | 2502 | [BTTV_BOARD_KODICOM_4400R_SL] = { |
2503 | /* Bill Brack <wbrack@mmm.com.hk> */ | 2503 | /* Bill Brack <wbrack@mmm.com.hk> */ |
2504 | /* Note that, for reasons unknown, the "master" BT878A chip (i.e. the | 2504 | /* Note that, for reasons unknown, the "master" BT878A chip (i.e. the |
2505 | * one which controls the analog switch, and must use the card type) | 2505 | * one which controls the analog switch, and must use the card type) |
@@ -2522,8 +2522,8 @@ struct tvcard bttv_tvcards[] = { | |||
2522 | .no_tda9875 = 1, | 2522 | .no_tda9875 = 1, |
2523 | .muxsel_hook = kodicom4400r_muxsel, | 2523 | .muxsel_hook = kodicom4400r_muxsel, |
2524 | }, | 2524 | }, |
2525 | { | ||
2526 | /* ---- card 0x86---------------------------------- */ | 2525 | /* ---- card 0x86---------------------------------- */ |
2526 | [BTTV_BOARD_ADLINK_RTV24] = { | ||
2527 | /* Michael Henson <mhenson@clarityvi.com> */ | 2527 | /* Michael Henson <mhenson@clarityvi.com> */ |
2528 | /* Adlink RTV24 with special unlock codes */ | 2528 | /* Adlink RTV24 with special unlock codes */ |
2529 | .name = "Adlink RTV24", | 2529 | .name = "Adlink RTV24", |
@@ -2536,8 +2536,8 @@ struct tvcard bttv_tvcards[] = { | |||
2536 | .tuner_addr = ADDR_UNSET, | 2536 | .tuner_addr = ADDR_UNSET, |
2537 | .pll = PLL_28, | 2537 | .pll = PLL_28, |
2538 | }, | 2538 | }, |
2539 | { | ||
2540 | /* ---- card 0x87---------------------------------- */ | 2539 | /* ---- card 0x87---------------------------------- */ |
2540 | [BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE] = { | ||
2541 | /* Michael Krufky <mkrufky@m1k.net> */ | 2541 | /* Michael Krufky <mkrufky@m1k.net> */ |
2542 | .name = "DViCO FusionHDTV 5 Lite", | 2542 | .name = "DViCO FusionHDTV 5 Lite", |
2543 | .tuner = 0, | 2543 | .tuner = 0, |
@@ -2555,7 +2555,7 @@ struct tvcard bttv_tvcards[] = { | |||
2555 | .has_dvb = 1, | 2555 | .has_dvb = 1, |
2556 | }, | 2556 | }, |
2557 | /* ---- card 0x88---------------------------------- */ | 2557 | /* ---- card 0x88---------------------------------- */ |
2558 | [BTTV_KODICOM_4400R] = { | 2558 | [BTTV_BOARD_ACORP_Y878F] = { |
2559 | /* Mauro Carvalho Chehab <mchehab@brturbo.com.br> */ | 2559 | /* Mauro Carvalho Chehab <mchehab@brturbo.com.br> */ |
2560 | .name = "Acorp Y878F", | 2560 | .name = "Acorp Y878F", |
2561 | .video_inputs = 3, | 2561 | .video_inputs = 3, |
@@ -2572,7 +2572,7 @@ struct tvcard bttv_tvcards[] = { | |||
2572 | .has_radio = 1, | 2572 | .has_radio = 1, |
2573 | }, | 2573 | }, |
2574 | /* ---- card 0x89 ---------------------------------- */ | 2574 | /* ---- card 0x89 ---------------------------------- */ |
2575 | [BTTV_KODICOM_4400R_SL] = { | 2575 | [BTTV_BOARD_CONCEPTRONIC_CTVFMI2] = { |
2576 | .name = "Conceptronic CTVFMi v2", | 2576 | .name = "Conceptronic CTVFMi v2", |
2577 | .video_inputs = 3, | 2577 | .video_inputs = 3, |
2578 | .audio_inputs = 1, | 2578 | .audio_inputs = 1, |
@@ -2590,7 +2590,7 @@ struct tvcard bttv_tvcards[] = { | |||
2590 | .has_radio = 1, | 2590 | .has_radio = 1, |
2591 | #endif | 2591 | #endif |
2592 | }, | 2592 | }, |
2593 | [BTTV_ADLINK_RTV24] = { | 2593 | [BTTV_BOARD_PV_BT878P_2E] = { |
2594 | .name = "Prolink Pixelview PV-BT878P+ (Rev.2E)", | 2594 | .name = "Prolink Pixelview PV-BT878P+ (Rev.2E)", |
2595 | .video_inputs = 5, | 2595 | .video_inputs = 5, |
2596 | .audio_inputs = 1, | 2596 | .audio_inputs = 1, |
@@ -2604,8 +2604,7 @@ struct tvcard bttv_tvcards[] = { | |||
2604 | .pll = PLL_28, | 2604 | .pll = PLL_28, |
2605 | .tuner_type = TUNER_LG_PAL_FM, | 2605 | .tuner_type = TUNER_LG_PAL_FM, |
2606 | .has_remote = 1, | 2606 | .has_remote = 1, |
2607 | } | 2607 | }}; |
2608 | }; | ||
2609 | 2608 | ||
2610 | static const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards); | 2609 | static const unsigned int bttv_num_tvcards = ARRAY_SIZE(bttv_tvcards); |
2611 | 2610 | ||
@@ -2697,11 +2696,11 @@ void identify_by_eeprom(struct bttv *btv, unsigned char eeprom_data[256]) | |||
2697 | int type = -1; | 2696 | int type = -1; |
2698 | 2697 | ||
2699 | if (0 == strncmp(eeprom_data,"GET MM20xPCTV",13)) | 2698 | if (0 == strncmp(eeprom_data,"GET MM20xPCTV",13)) |
2700 | type = BTTV_MODTEC_205; | 2699 | type = BTTV_BOARD_MODTEC_205; |
2701 | else if (0 == strncmp(eeprom_data+20,"Picolo",7)) | 2700 | else if (0 == strncmp(eeprom_data+20,"Picolo",7)) |
2702 | type = BTTV_EURESYS_PICOLO; | 2701 | type = BTTV_BOARD_EURESYS_PICOLO; |
2703 | else if (eeprom_data[0] == 0x84 && eeprom_data[2]== 0) | 2702 | else if (eeprom_data[0] == 0x84 && eeprom_data[2]== 0) |
2704 | type = BTTV_HAUPPAUGE; /* old bt848 */ | 2703 | type = BTTV_BOARD_HAUPPAUGE; /* old bt848 */ |
2705 | 2704 | ||
2706 | if (-1 != type) { | 2705 | if (-1 != type) { |
2707 | btv->c.type = type; | 2706 | btv->c.type = type; |
@@ -2807,10 +2806,10 @@ static void miro_pinnacle_gpio(struct bttv *btv) | |||
2807 | btv->has_radio = 0; | 2806 | btv->has_radio = 0; |
2808 | } | 2807 | } |
2809 | if (-1 != msp) { | 2808 | if (-1 != msp) { |
2810 | if (btv->c.type == BTTV_MIRO) | 2809 | if (btv->c.type == BTTV_BOARD_MIRO) |
2811 | btv->c.type = BTTV_MIROPRO; | 2810 | btv->c.type = BTTV_BOARD_MIROPRO; |
2812 | if (btv->c.type == BTTV_PINNACLE) | 2811 | if (btv->c.type == BTTV_BOARD_PINNACLE) |
2813 | btv->c.type = BTTV_PINNACLEPRO; | 2812 | btv->c.type = BTTV_BOARD_PINNACLEPRO; |
2814 | } | 2813 | } |
2815 | printk(KERN_INFO | 2814 | printk(KERN_INFO |
2816 | "bttv%d: miro: id=%d tuner=%d radio=%s stereo=%s\n", | 2815 | "bttv%d: miro: id=%d tuner=%d radio=%s stereo=%s\n", |
@@ -2851,7 +2850,7 @@ static void miro_pinnacle_gpio(struct bttv *btv) | |||
2851 | break; | 2850 | break; |
2852 | } | 2851 | } |
2853 | if (-1 != msp) | 2852 | if (-1 != msp) |
2854 | btv->c.type = BTTV_PINNACLEPRO; | 2853 | btv->c.type = BTTV_BOARD_PINNACLEPRO; |
2855 | printk(KERN_INFO | 2854 | printk(KERN_INFO |
2856 | "bttv%d: pinnacle/mt: id=%d info=\"%s\" radio=%s\n", | 2855 | "bttv%d: pinnacle/mt: id=%d info=\"%s\" radio=%s\n", |
2857 | btv->c.nr, id, info, btv->has_radio ? "yes" : "no"); | 2856 | btv->c.nr, id, info, btv->has_radio ? "yes" : "no"); |
@@ -2965,25 +2964,25 @@ static void bttv_reset_audio(struct bttv *btv) | |||
2965 | void __devinit bttv_init_card1(struct bttv *btv) | 2964 | void __devinit bttv_init_card1(struct bttv *btv) |
2966 | { | 2965 | { |
2967 | switch (btv->c.type) { | 2966 | switch (btv->c.type) { |
2968 | case BTTV_HAUPPAUGE: | 2967 | case BTTV_BOARD_HAUPPAUGE: |
2969 | case BTTV_HAUPPAUGE878: | 2968 | case BTTV_BOARD_HAUPPAUGE878: |
2970 | boot_msp34xx(btv,5); | 2969 | boot_msp34xx(btv,5); |
2971 | break; | 2970 | break; |
2972 | case BTTV_VOODOOTV_FM: | 2971 | case BTTV_BOARD_VOODOOTV_FM: |
2973 | boot_msp34xx(btv,20); | 2972 | boot_msp34xx(btv,20); |
2974 | break; | 2973 | break; |
2975 | case BTTV_AVERMEDIA98: | 2974 | case BTTV_BOARD_AVERMEDIA98: |
2976 | boot_msp34xx(btv,11); | 2975 | boot_msp34xx(btv,11); |
2977 | break; | 2976 | break; |
2978 | case BTTV_HAUPPAUGEPVR: | 2977 | case BTTV_BOARD_HAUPPAUGEPVR: |
2979 | pvr_boot(btv); | 2978 | pvr_boot(btv); |
2980 | break; | 2979 | break; |
2981 | case BTTV_TWINHAN_DST: | 2980 | case BTTV_BOARD_TWINHAN_DST: |
2982 | case BTTV_AVDVBT_771: | 2981 | case BTTV_BOARD_AVDVBT_771: |
2983 | case BTTV_PINNACLESAT: | 2982 | case BTTV_BOARD_PINNACLESAT: |
2984 | btv->use_i2c_hw = 1; | 2983 | btv->use_i2c_hw = 1; |
2985 | break; | 2984 | break; |
2986 | case BTTV_ADLINK_RTV24: | 2985 | case BTTV_BOARD_ADLINK_RTV24: |
2987 | init_RTV24( btv ); | 2986 | init_RTV24( btv ); |
2988 | break; | 2987 | break; |
2989 | 2988 | ||
@@ -3000,51 +2999,51 @@ void __devinit bttv_init_card2(struct bttv *btv) | |||
3000 | 2999 | ||
3001 | btv->tuner_type = -1; | 3000 | btv->tuner_type = -1; |
3002 | 3001 | ||
3003 | if (BTTV_UNKNOWN == btv->c.type) { | 3002 | if (BTTV_BOARD_UNKNOWN == btv->c.type) { |
3004 | bttv_readee(btv,eeprom_data,0xa0); | 3003 | bttv_readee(btv,eeprom_data,0xa0); |
3005 | identify_by_eeprom(btv,eeprom_data); | 3004 | identify_by_eeprom(btv,eeprom_data); |
3006 | } | 3005 | } |
3007 | 3006 | ||
3008 | switch (btv->c.type) { | 3007 | switch (btv->c.type) { |
3009 | case BTTV_MIRO: | 3008 | case BTTV_BOARD_MIRO: |
3010 | case BTTV_MIROPRO: | 3009 | case BTTV_BOARD_MIROPRO: |
3011 | case BTTV_PINNACLE: | 3010 | case BTTV_BOARD_PINNACLE: |
3012 | case BTTV_PINNACLEPRO: | 3011 | case BTTV_BOARD_PINNACLEPRO: |
3013 | /* miro/pinnacle */ | 3012 | /* miro/pinnacle */ |
3014 | miro_pinnacle_gpio(btv); | 3013 | miro_pinnacle_gpio(btv); |
3015 | break; | 3014 | break; |
3016 | case BTTV_FLYVIDEO_98: | 3015 | case BTTV_BOARD_FLYVIDEO_98: |
3017 | case BTTV_MAXI: | 3016 | case BTTV_BOARD_MAXI: |
3018 | case BTTV_LIFE_FLYKIT: | 3017 | case BTTV_BOARD_LIFE_FLYKIT: |
3019 | case BTTV_FLYVIDEO: | 3018 | case BTTV_BOARD_FLYVIDEO: |
3020 | case BTTV_TYPHOON_TVIEW: | 3019 | case BTTV_BOARD_TYPHOON_TVIEW: |
3021 | case BTTV_CHRONOS_VS2: | 3020 | case BTTV_BOARD_CHRONOS_VS2: |
3022 | case BTTV_FLYVIDEO_98FM: | 3021 | case BTTV_BOARD_FLYVIDEO_98FM: |
3023 | case BTTV_FLYVIDEO2000: | 3022 | case BTTV_BOARD_FLYVIDEO2000: |
3024 | case BTTV_FLYVIDEO98EZ: | 3023 | case BTTV_BOARD_FLYVIDEO98EZ: |
3025 | case BTTV_CONFERENCETV: | 3024 | case BTTV_BOARD_CONFERENCETV: |
3026 | case BTTV_LIFETEC_9415: | 3025 | case BTTV_BOARD_LIFETEC_9415: |
3027 | flyvideo_gpio(btv); | 3026 | flyvideo_gpio(btv); |
3028 | break; | 3027 | break; |
3029 | case BTTV_HAUPPAUGE: | 3028 | case BTTV_BOARD_HAUPPAUGE: |
3030 | case BTTV_HAUPPAUGE878: | 3029 | case BTTV_BOARD_HAUPPAUGE878: |
3031 | case BTTV_HAUPPAUGEPVR: | 3030 | case BTTV_BOARD_HAUPPAUGEPVR: |
3032 | /* pick up some config infos from the eeprom */ | 3031 | /* pick up some config infos from the eeprom */ |
3033 | bttv_readee(btv,eeprom_data,0xa0); | 3032 | bttv_readee(btv,eeprom_data,0xa0); |
3034 | hauppauge_eeprom(btv); | 3033 | hauppauge_eeprom(btv); |
3035 | break; | 3034 | break; |
3036 | case BTTV_AVERMEDIA98: | 3035 | case BTTV_BOARD_AVERMEDIA98: |
3037 | case BTTV_AVPHONE98: | 3036 | case BTTV_BOARD_AVPHONE98: |
3038 | bttv_readee(btv,eeprom_data,0xa0); | 3037 | bttv_readee(btv,eeprom_data,0xa0); |
3039 | avermedia_eeprom(btv); | 3038 | avermedia_eeprom(btv); |
3040 | break; | 3039 | break; |
3041 | case BTTV_PXC200: | 3040 | case BTTV_BOARD_PXC200: |
3042 | init_PXC200(btv); | 3041 | init_PXC200(btv); |
3043 | break; | 3042 | break; |
3044 | case BTTV_PICOLO_TETRA_CHIP: | 3043 | case BTTV_BOARD_PICOLO_TETRA_CHIP: |
3045 | picolo_tetra_init(btv); | 3044 | picolo_tetra_init(btv); |
3046 | break; | 3045 | break; |
3047 | case BTTV_VHX: | 3046 | case BTTV_BOARD_VHX: |
3048 | btv->has_radio = 1; | 3047 | btv->has_radio = 1; |
3049 | btv->has_matchbox = 1; | 3048 | btv->has_matchbox = 1; |
3050 | btv->mbox_we = 0x20; | 3049 | btv->mbox_we = 0x20; |
@@ -3053,17 +3052,17 @@ void __devinit bttv_init_card2(struct bttv *btv) | |||
3053 | btv->mbox_data = 0x10; | 3052 | btv->mbox_data = 0x10; |
3054 | btv->mbox_mask = 0x38; | 3053 | btv->mbox_mask = 0x38; |
3055 | break; | 3054 | break; |
3056 | case BTTV_VOBIS_BOOSTAR: | 3055 | case BTTV_BOARD_VOBIS_BOOSTAR: |
3057 | case BTTV_TERRATV: | 3056 | case BTTV_BOARD_TERRATV: |
3058 | terratec_active_radio_upgrade(btv); | 3057 | terratec_active_radio_upgrade(btv); |
3059 | break; | 3058 | break; |
3060 | case BTTV_MAGICTVIEW061: | 3059 | case BTTV_BOARD_MAGICTVIEW061: |
3061 | if (btv->cardid == 0x3002144f) { | 3060 | if (btv->cardid == 0x3002144f) { |
3062 | btv->has_radio=1; | 3061 | btv->has_radio=1; |
3063 | printk("bttv%d: radio detected by subsystem id (CPH05x)\n",btv->c.nr); | 3062 | printk("bttv%d: radio detected by subsystem id (CPH05x)\n",btv->c.nr); |
3064 | } | 3063 | } |
3065 | break; | 3064 | break; |
3066 | case BTTV_STB2: | 3065 | case BTTV_BOARD_STB2: |
3067 | if (btv->cardid == 0x3060121a) { | 3066 | if (btv->cardid == 0x3060121a) { |
3068 | /* Fix up entry for 3DFX VoodooTV 100, | 3067 | /* Fix up entry for 3DFX VoodooTV 100, |
3069 | which is an OEM STB card variant. */ | 3068 | which is an OEM STB card variant. */ |
@@ -3071,34 +3070,34 @@ void __devinit bttv_init_card2(struct bttv *btv) | |||
3071 | btv->tuner_type=TUNER_TEMIC_NTSC; | 3070 | btv->tuner_type=TUNER_TEMIC_NTSC; |
3072 | } | 3071 | } |
3073 | break; | 3072 | break; |
3074 | case BTTV_OSPREY1x0: | 3073 | case BTTV_BOARD_OSPREY1x0: |
3075 | case BTTV_OSPREY1x0_848: | 3074 | case BTTV_BOARD_OSPREY1x0_848: |
3076 | case BTTV_OSPREY101_848: | 3075 | case BTTV_BOARD_OSPREY101_848: |
3077 | case BTTV_OSPREY1x1: | 3076 | case BTTV_BOARD_OSPREY1x1: |
3078 | case BTTV_OSPREY1x1_SVID: | 3077 | case BTTV_BOARD_OSPREY1x1_SVID: |
3079 | case BTTV_OSPREY2xx: | 3078 | case BTTV_BOARD_OSPREY2xx: |
3080 | case BTTV_OSPREY2x0_SVID: | 3079 | case BTTV_BOARD_OSPREY2x0_SVID: |
3081 | case BTTV_OSPREY2x0: | 3080 | case BTTV_BOARD_OSPREY2x0: |
3082 | case BTTV_OSPREY500: | 3081 | case BTTV_BOARD_OSPREY500: |
3083 | case BTTV_OSPREY540: | 3082 | case BTTV_BOARD_OSPREY540: |
3084 | case BTTV_OSPREY2000: | 3083 | case BTTV_BOARD_OSPREY2000: |
3085 | bttv_readee(btv,eeprom_data,0xa0); | 3084 | bttv_readee(btv,eeprom_data,0xa0); |
3086 | osprey_eeprom(btv); | 3085 | osprey_eeprom(btv); |
3087 | break; | 3086 | break; |
3088 | case BTTV_IDS_EAGLE: | 3087 | case BTTV_BOARD_IDS_EAGLE: |
3089 | init_ids_eagle(btv); | 3088 | init_ids_eagle(btv); |
3090 | break; | 3089 | break; |
3091 | case BTTV_MODTEC_205: | 3090 | case BTTV_BOARD_MODTEC_205: |
3092 | bttv_readee(btv,eeprom_data,0xa0); | 3091 | bttv_readee(btv,eeprom_data,0xa0); |
3093 | modtec_eeprom(btv); | 3092 | modtec_eeprom(btv); |
3094 | break; | 3093 | break; |
3095 | case BTTV_LMLBT4: | 3094 | case BTTV_BOARD_LMLBT4: |
3096 | init_lmlbt4x(btv); | 3095 | init_lmlbt4x(btv); |
3097 | break; | 3096 | break; |
3098 | case BTTV_TIBET_CS16: | 3097 | case BTTV_BOARD_TIBET_CS16: |
3099 | tibetCS16_init(btv); | 3098 | tibetCS16_init(btv); |
3100 | break; | 3099 | break; |
3101 | case BTTV_KODICOM_4400R: | 3100 | case BTTV_BOARD_KODICOM_4400R: |
3102 | kodicom4400r_init(btv); | 3101 | kodicom4400r_init(btv); |
3103 | break; | 3102 | break; |
3104 | } | 3103 | } |
@@ -3371,7 +3370,7 @@ static void __devinit osprey_eeprom(struct bttv *btv) | |||
3371 | checksum += ee[i]; | 3370 | checksum += ee[i]; |
3372 | if (checksum != ee[21]) | 3371 | if (checksum != ee[21]) |
3373 | return; | 3372 | return; |
3374 | btv->c.type = BTTV_OSPREY1x0_848; | 3373 | btv->c.type = BTTV_BOARD_OSPREY1x0_848; |
3375 | for (i = 12; i < 21; i++) | 3374 | for (i = 12; i < 21; i++) |
3376 | serial *= 10, serial += ee[i] - '0'; | 3375 | serial *= 10, serial += ee[i] - '0'; |
3377 | } | 3376 | } |
@@ -3400,47 +3399,47 @@ static void __devinit osprey_eeprom(struct bttv *btv) | |||
3400 | 3399 | ||
3401 | /* 848 based */ | 3400 | /* 848 based */ |
3402 | case 0x0004: | 3401 | case 0x0004: |
3403 | btv->c.type = BTTV_OSPREY1x0_848; | 3402 | btv->c.type = BTTV_BOARD_OSPREY1x0_848; |
3404 | break; | 3403 | break; |
3405 | case 0x0005: | 3404 | case 0x0005: |
3406 | btv->c.type = BTTV_OSPREY101_848; | 3405 | btv->c.type = BTTV_BOARD_OSPREY101_848; |
3407 | break; | 3406 | break; |
3408 | 3407 | ||
3409 | /* 878 based */ | 3408 | /* 878 based */ |
3410 | case 0x0012: | 3409 | case 0x0012: |
3411 | case 0x0013: | 3410 | case 0x0013: |
3412 | btv->c.type = BTTV_OSPREY1x0; | 3411 | btv->c.type = BTTV_BOARD_OSPREY1x0; |
3413 | break; | 3412 | break; |
3414 | case 0x0014: | 3413 | case 0x0014: |
3415 | case 0x0015: | 3414 | case 0x0015: |
3416 | btv->c.type = BTTV_OSPREY1x1; | 3415 | btv->c.type = BTTV_BOARD_OSPREY1x1; |
3417 | break; | 3416 | break; |
3418 | case 0x0016: | 3417 | case 0x0016: |
3419 | case 0x0017: | 3418 | case 0x0017: |
3420 | case 0x0020: | 3419 | case 0x0020: |
3421 | btv->c.type = BTTV_OSPREY1x1_SVID; | 3420 | btv->c.type = BTTV_BOARD_OSPREY1x1_SVID; |
3422 | break; | 3421 | break; |
3423 | case 0x0018: | 3422 | case 0x0018: |
3424 | case 0x0019: | 3423 | case 0x0019: |
3425 | case 0x001E: | 3424 | case 0x001E: |
3426 | case 0x001F: | 3425 | case 0x001F: |
3427 | btv->c.type = BTTV_OSPREY2xx; | 3426 | btv->c.type = BTTV_BOARD_OSPREY2xx; |
3428 | break; | 3427 | break; |
3429 | case 0x001A: | 3428 | case 0x001A: |
3430 | case 0x001B: | 3429 | case 0x001B: |
3431 | btv->c.type = BTTV_OSPREY2x0_SVID; | 3430 | btv->c.type = BTTV_BOARD_OSPREY2x0_SVID; |
3432 | break; | 3431 | break; |
3433 | case 0x0040: | 3432 | case 0x0040: |
3434 | btv->c.type = BTTV_OSPREY500; | 3433 | btv->c.type = BTTV_BOARD_OSPREY500; |
3435 | break; | 3434 | break; |
3436 | case 0x0050: | 3435 | case 0x0050: |
3437 | case 0x0056: | 3436 | case 0x0056: |
3438 | btv->c.type = BTTV_OSPREY540; | 3437 | btv->c.type = BTTV_BOARD_OSPREY540; |
3439 | /* bttv_osprey_540_init(btv); */ | 3438 | /* bttv_osprey_540_init(btv); */ |
3440 | break; | 3439 | break; |
3441 | case 0x0060: | 3440 | case 0x0060: |
3442 | case 0x0070: | 3441 | case 0x0070: |
3443 | btv->c.type = BTTV_OSPREY2x0; | 3442 | btv->c.type = BTTV_BOARD_OSPREY2x0; |
3444 | /* enable output on select control lines */ | 3443 | /* enable output on select control lines */ |
3445 | gpio_inout(0xffffff,0x000303); | 3444 | gpio_inout(0xffffff,0x000303); |
3446 | break; | 3445 | break; |
@@ -3513,13 +3512,13 @@ void bttv_tda9880_setnorm(struct bttv *btv, int norm) | |||
3513 | { | 3512 | { |
3514 | /* fix up our card entry */ | 3513 | /* fix up our card entry */ |
3515 | if(norm==VIDEO_MODE_NTSC) { | 3514 | if(norm==VIDEO_MODE_NTSC) { |
3516 | bttv_tvcards[BTTV_VOODOOTV_FM].audiomux[0]=0x957fff; | 3515 | bttv_tvcards[BTTV_BOARD_VOODOOTV_FM].audiomux[0]=0x957fff; |
3517 | bttv_tvcards[BTTV_VOODOOTV_FM].audiomux[4]=0x957fff; | 3516 | bttv_tvcards[BTTV_BOARD_VOODOOTV_FM].audiomux[4]=0x957fff; |
3518 | dprintk("bttv_tda9880_setnorm to NTSC\n"); | 3517 | dprintk("bttv_tda9880_setnorm to NTSC\n"); |
3519 | } | 3518 | } |
3520 | else { | 3519 | else { |
3521 | bttv_tvcards[BTTV_VOODOOTV_FM].audiomux[0]=0x947fff; | 3520 | bttv_tvcards[BTTV_BOARD_VOODOOTV_FM].audiomux[0]=0x947fff; |
3522 | bttv_tvcards[BTTV_VOODOOTV_FM].audiomux[4]=0x947fff; | 3521 | bttv_tvcards[BTTV_BOARD_VOODOOTV_FM].audiomux[4]=0x947fff; |
3523 | dprintk("bttv_tda9880_setnorm to PAL\n"); | 3522 | dprintk("bttv_tda9880_setnorm to PAL\n"); |
3524 | } | 3523 | } |
3525 | /* set GPIO according */ | 3524 | /* set GPIO according */ |
diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c index 4826cf0d39d2..504d717b1158 100644 --- a/drivers/media/video/bttv-driver.c +++ b/drivers/media/video/bttv-driver.c | |||
@@ -964,7 +964,7 @@ i2c_vidiocschan(struct bttv *btv) | |||
964 | c.norm = btv->tvnorm; | 964 | c.norm = btv->tvnorm; |
965 | c.channel = btv->input; | 965 | c.channel = btv->input; |
966 | bttv_call_i2c_clients(btv,VIDIOCSCHAN,&c); | 966 | bttv_call_i2c_clients(btv,VIDIOCSCHAN,&c); |
967 | if (btv->c.type == BTTV_VOODOOTV_FM) | 967 | if (btv->c.type == BTTV_BOARD_VOODOOTV_FM) |
968 | bttv_tda9880_setnorm(btv,c.norm); | 968 | bttv_tda9880_setnorm(btv,c.norm); |
969 | } | 969 | } |
970 | 970 | ||
@@ -988,7 +988,7 @@ set_tvnorm(struct bttv *btv, unsigned int norm) | |||
988 | bt848A_set_timing(btv); | 988 | bt848A_set_timing(btv); |
989 | 989 | ||
990 | switch (btv->c.type) { | 990 | switch (btv->c.type) { |
991 | case BTTV_VOODOOTV_FM: | 991 | case BTTV_BOARD_VOODOOTV_FM: |
992 | bttv_tda9880_setnorm(btv,norm); | 992 | bttv_tda9880_setnorm(btv,norm); |
993 | break; | 993 | break; |
994 | } | 994 | } |
diff --git a/drivers/media/video/bttv.h b/drivers/media/video/bttv.h index dcdf9cde7857..2005ca9383df 100644 --- a/drivers/media/video/bttv.h +++ b/drivers/media/video/bttv.h | |||
@@ -20,124 +20,145 @@ | |||
20 | /* ---------------------------------------------------------- */ | 20 | /* ---------------------------------------------------------- */ |
21 | /* exported by bttv-cards.c */ | 21 | /* exported by bttv-cards.c */ |
22 | 22 | ||
23 | #define BTTV_UNKNOWN 0x00 | 23 | #define BTTV_BOARD_UNKNOWN 0x00 |
24 | #define BTTV_MIRO 0x01 | 24 | #define BTTV_BOARD_MIRO 0x01 |
25 | #define BTTV_HAUPPAUGE 0x02 | 25 | #define BTTV_BOARD_HAUPPAUGE 0x02 |
26 | #define BTTV_STB 0x03 | 26 | #define BTTV_BOARD_STB 0x03 |
27 | #define BTTV_INTEL 0x04 | 27 | #define BTTV_BOARD_INTEL 0x04 |
28 | #define BTTV_DIAMOND 0x05 | 28 | #define BTTV_BOARD_DIAMOND 0x05 |
29 | #define BTTV_AVERMEDIA 0x06 | 29 | #define BTTV_BOARD_AVERMEDIA 0x06 |
30 | #define BTTV_MATRIX_VISION 0x07 | 30 | #define BTTV_BOARD_MATRIX_VISION 0x07 |
31 | #define BTTV_FLYVIDEO 0x08 | 31 | #define BTTV_BOARD_FLYVIDEO 0x08 |
32 | #define BTTV_TURBOTV 0x09 | 32 | #define BTTV_BOARD_TURBOTV 0x09 |
33 | #define BTTV_HAUPPAUGE878 0x0a | 33 | #define BTTV_BOARD_HAUPPAUGE878 0x0a |
34 | #define BTTV_MIROPRO 0x0b | 34 | #define BTTV_BOARD_MIROPRO 0x0b |
35 | #define BTTV_ADSTECH_TV 0x0c | 35 | #define BTTV_BOARD_ADSTECH_TV 0x0c |
36 | #define BTTV_AVERMEDIA98 0x0d | 36 | #define BTTV_BOARD_AVERMEDIA98 0x0d |
37 | #define BTTV_VHX 0x0e | 37 | #define BTTV_BOARD_VHX 0x0e |
38 | #define BTTV_ZOLTRIX 0x0f | 38 | #define BTTV_BOARD_ZOLTRIX 0x0f |
39 | #define BTTV_PIXVIEWPLAYTV 0x10 | 39 | #define BTTV_BOARD_PIXVIEWPLAYTV 0x10 |
40 | #define BTTV_WINVIEW_601 0x11 | 40 | #define BTTV_BOARD_WINVIEW_601 0x11 |
41 | #define BTTV_AVEC_INTERCAP 0x12 | 41 | #define BTTV_BOARD_AVEC_INTERCAP 0x12 |
42 | #define BTTV_LIFE_FLYKIT 0x13 | 42 | #define BTTV_BOARD_LIFE_FLYKIT 0x13 |
43 | #define BTTV_CEI_RAFFLES 0x14 | 43 | #define BTTV_BOARD_CEI_RAFFLES 0x14 |
44 | #define BTTV_CONFERENCETV 0x15 | 44 | #define BTTV_BOARD_CONFERENCETV 0x15 |
45 | #define BTTV_PHOEBE_TVMAS 0x16 | 45 | #define BTTV_BOARD_PHOEBE_TVMAS 0x16 |
46 | #define BTTV_MODTEC_205 0x17 | 46 | #define BTTV_BOARD_MODTEC_205 0x17 |
47 | #define BTTV_MAGICTVIEW061 0x18 | 47 | #define BTTV_BOARD_MAGICTVIEW061 0x18 |
48 | #define BTTV_VOBIS_BOOSTAR 0x19 | 48 | #define BTTV_BOARD_VOBIS_BOOSTAR 0x19 |
49 | #define BTTV_HAUPPAUG_WCAM 0x1a | 49 | #define BTTV_BOARD_HAUPPAUG_WCAM 0x1a |
50 | #define BTTV_MAXI 0x1b | 50 | #define BTTV_BOARD_MAXI 0x1b |
51 | #define BTTV_TERRATV 0x1c | 51 | #define BTTV_BOARD_TERRATV 0x1c |
52 | #define BTTV_PXC200 0x1d | 52 | #define BTTV_BOARD_PXC200 0x1d |
53 | #define BTTV_FLYVIDEO_98 0x1e | 53 | #define BTTV_BOARD_FLYVIDEO_98 0x1e |
54 | #define BTTV_IPROTV 0x1f | 54 | #define BTTV_BOARD_IPROTV 0x1f |
55 | #define BTTV_INTEL_C_S_PCI 0x20 | 55 | #define BTTV_BOARD_INTEL_C_S_PCI 0x20 |
56 | #define BTTV_TERRATVALUE 0x21 | 56 | #define BTTV_BOARD_TERRATVALUE 0x21 |
57 | #define BTTV_WINFAST2000 0x22 | 57 | #define BTTV_BOARD_WINFAST2000 0x22 |
58 | #define BTTV_CHRONOS_VS2 0x23 | 58 | #define BTTV_BOARD_CHRONOS_VS2 0x23 |
59 | #define BTTV_TYPHOON_TVIEW 0x24 | 59 | #define BTTV_BOARD_TYPHOON_TVIEW 0x24 |
60 | #define BTTV_PXELVWPLTVPRO 0x25 | 60 | #define BTTV_BOARD_PXELVWPLTVPRO 0x25 |
61 | #define BTTV_MAGICTVIEW063 0x26 | 61 | #define BTTV_BOARD_MAGICTVIEW063 0x26 |
62 | #define BTTV_PINNACLE 0x27 | 62 | #define BTTV_BOARD_PINNACLE 0x27 |
63 | #define BTTV_STB2 0x28 | 63 | #define BTTV_BOARD_STB2 0x28 |
64 | #define BTTV_AVPHONE98 0x29 | 64 | #define BTTV_BOARD_AVPHONE98 0x29 |
65 | #define BTTV_PV951 0x2a | 65 | #define BTTV_BOARD_PV951 0x2a |
66 | #define BTTV_ONAIR_TV 0x2b | 66 | #define BTTV_BOARD_ONAIR_TV 0x2b |
67 | #define BTTV_SIGMA_TVII_FM 0x2c | 67 | #define BTTV_BOARD_SIGMA_TVII_FM 0x2c |
68 | #define BTTV_MATRIX_VISION2 0x2d | 68 | #define BTTV_BOARD_MATRIX_VISION2 0x2d |
69 | #define BTTV_ZOLTRIX_GENIE 0x2e | 69 | #define BTTV_BOARD_ZOLTRIX_GENIE 0x2e |
70 | #define BTTV_TERRATVRADIO 0x2f | 70 | #define BTTV_BOARD_TERRATVRADIO 0x2f |
71 | #define BTTV_DYNALINK 0x30 | 71 | #define BTTV_BOARD_DYNALINK 0x30 |
72 | #define BTTV_GVBCTV3PCI 0x31 | 72 | #define BTTV_BOARD_GVBCTV3PCI 0x31 |
73 | #define BTTV_PXELVWPLTVPAK 0x32 | 73 | #define BTTV_BOARD_PXELVWPLTVPAK 0x32 |
74 | #define BTTV_EAGLE 0x33 | 74 | #define BTTV_BOARD_EAGLE 0x33 |
75 | #define BTTV_PINNACLEPRO 0x34 | 75 | #define BTTV_BOARD_PINNACLEPRO 0x34 |
76 | #define BTTV_TVIEW_RDS_FM 0x35 | 76 | #define BTTV_BOARD_TVIEW_RDS_FM 0x35 |
77 | #define BTTV_LIFETEC_9415 0x36 | 77 | #define BTTV_BOARD_LIFETEC_9415 0x36 |
78 | #define BTTV_BESTBUY_EASYTV 0x37 | 78 | #define BTTV_BOARD_BESTBUY_EASYTV 0x37 |
79 | #define BTTV_FLYVIDEO_98FM 0x38 | 79 | #define BTTV_BOARD_FLYVIDEO_98FM 0x38 |
80 | #define BTTV_GMV1 0x3d | 80 | #define BTTV_BOARD_GRANDTEC 0x39 |
81 | #define BTTV_BESTBUY_EASYTV2 0x3e | 81 | #define BTTV_BOARD_ASKEY_CPH060 0x3a |
82 | #define BTTV_ATI_TVWONDER 0x3f | 82 | #define BTTV_BOARD_ASKEY_CPH03X 0x3b |
83 | #define BTTV_ATI_TVWONDERVE 0x40 | 83 | #define BTTV_BOARD_MM100PCTV 0x3c |
84 | #define BTTV_FLYVIDEO2000 0x41 | 84 | #define BTTV_BOARD_GMV1 0x3d |
85 | #define BTTV_TERRATVALUER 0x42 | 85 | #define BTTV_BOARD_BESTBUY_EASYTV2 0x3e |
86 | #define BTTV_GVBCTV4PCI 0x43 | 86 | #define BTTV_BOARD_ATI_TVWONDER 0x3f |
87 | #define BTTV_VOODOOTV_FM 0x44 | 87 | #define BTTV_BOARD_ATI_TVWONDERVE 0x40 |
88 | #define BTTV_AIMMS 0x45 | 88 | #define BTTV_BOARD_FLYVIDEO2000 0x41 |
89 | #define BTTV_PV_BT878P_PLUS 0x46 | 89 | #define BTTV_BOARD_TERRATVALUER 0x42 |
90 | #define BTTV_FLYVIDEO98EZ 0x47 | 90 | #define BTTV_BOARD_GVBCTV4PCI 0x43 |
91 | #define BTTV_PV_BT878P_9B 0x48 | 91 | #define BTTV_BOARD_VOODOOTV_FM 0x44 |
92 | #define BTTV_SENSORAY311 0x49 | 92 | #define BTTV_BOARD_AIMMS 0x45 |
93 | #define BTTV_RV605 0x4a | 93 | #define BTTV_BOARD_PV_BT878P_PLUS 0x46 |
94 | #define BTTV_WINDVR 0x4c | 94 | #define BTTV_BOARD_FLYVIDEO98EZ 0x47 |
95 | #define BTTV_GRANDTEC 0x4d | 95 | #define BTTV_BOARD_PV_BT878P_9B 0x48 |
96 | #define BTTV_KWORLD 0x4e | 96 | #define BTTV_BOARD_SENSORAY311 0x49 |
97 | #define BTTV_HAUPPAUGEPVR 0x50 | 97 | #define BTTV_BOARD_RV605 0x4a |
98 | #define BTTV_GVBCTV5PCI 0x51 | 98 | #define BTTV_BOARD_POWERCLR_MTV878 0x4b |
99 | #define BTTV_OSPREY1x0 0x52 | 99 | #define BTTV_BOARD_WINDVR 0x4c |
100 | #define BTTV_OSPREY1x0_848 0x53 | 100 | #define BTTV_BOARD_GRANDTEC_MULTI 0x4d |
101 | #define BTTV_OSPREY101_848 0x54 | 101 | #define BTTV_BOARD_KWORLD 0x4e |
102 | #define BTTV_OSPREY1x1 0x55 | 102 | #define BTTV_BOARD_DSP_TCVIDEO 0x4f |
103 | #define BTTV_OSPREY1x1_SVID 0x56 | 103 | #define BTTV_BOARD_HAUPPAUGEPVR 0x50 |
104 | #define BTTV_OSPREY2xx 0x57 | 104 | #define BTTV_BOARD_GVBCTV5PCI 0x51 |
105 | #define BTTV_OSPREY2x0_SVID 0x58 | 105 | #define BTTV_BOARD_OSPREY1x0 0x52 |
106 | #define BTTV_OSPREY2x0 0x59 | 106 | #define BTTV_BOARD_OSPREY1x0_848 0x53 |
107 | #define BTTV_OSPREY500 0x5a | 107 | #define BTTV_BOARD_OSPREY101_848 0x54 |
108 | #define BTTV_OSPREY540 0x5b | 108 | #define BTTV_BOARD_OSPREY1x1 0x55 |
109 | #define BTTV_OSPREY2000 0x5c | 109 | #define BTTV_BOARD_OSPREY1x1_SVID 0x56 |
110 | #define BTTV_IDS_EAGLE 0x5d | 110 | #define BTTV_BOARD_OSPREY2xx 0x57 |
111 | #define BTTV_PINNACLESAT 0x5e | 111 | #define BTTV_BOARD_OSPREY2x0_SVID 0x58 |
112 | #define BTTV_FORMAC_PROTV 0x5f | 112 | #define BTTV_BOARD_OSPREY2x0 0x59 |
113 | #define BTTV_EURESYS_PICOLO 0x61 | 113 | #define BTTV_BOARD_OSPREY500 0x5a |
114 | #define BTTV_PV150 0x62 | 114 | #define BTTV_BOARD_OSPREY540 0x5b |
115 | #define BTTV_AD_TVK503 0x63 | 115 | #define BTTV_BOARD_OSPREY2000 0x5c |
116 | #define BTTV_IVC200 0x66 | 116 | #define BTTV_BOARD_IDS_EAGLE 0x5d |
117 | #define BTTV_XGUARD 0x67 | 117 | #define BTTV_BOARD_PINNACLESAT 0x5e |
118 | #define BTTV_NEBULA_DIGITV 0x68 | 118 | #define BTTV_BOARD_FORMAC_PROTV 0x5f |
119 | #define BTTV_PV143 0x69 | 119 | #define BTTV_BOARD_MACHTV 0x60 |
120 | #define BTTV_IVC100 0x6e | 120 | #define BTTV_BOARD_EURESYS_PICOLO 0x61 |
121 | #define BTTV_IVC120 0x6f | 121 | #define BTTV_BOARD_PV150 0x62 |
122 | #define BTTV_PC_HDTV 0x70 | 122 | #define BTTV_BOARD_AD_TVK503 0x63 |
123 | #define BTTV_TWINHAN_DST 0x71 | 123 | #define BTTV_BOARD_HERCULES_SM_TV 0x64 |
124 | #define BTTV_WINFASTVC100 0x72 | 124 | #define BTTV_BOARD_PACETV 0x65 |
125 | #define BTTV_SIMUS_GVC1100 0x74 | 125 | #define BTTV_BOARD_IVC200 0x66 |
126 | #define BTTV_NGSTV_PLUS 0x75 | 126 | #define BTTV_BOARD_XGUARD 0x67 |
127 | #define BTTV_LMLBT4 0x76 | 127 | #define BTTV_BOARD_NEBULA_DIGITV 0x68 |
128 | #define BTTV_PICOLO_TETRA_CHIP 0x79 | 128 | #define BTTV_BOARD_PV143 0x69 |
129 | #define BTTV_AVDVBT_771 0x7b | 129 | #define BTTV_BOARD_VD009X1_MINIDIN 0x6a |
130 | #define BTTV_AVDVBT_761 0x7c | 130 | #define BTTV_BOARD_VD009X1_COMBI 0x6b |
131 | #define BTTV_MATRIX_VISIONSQ 0x7d | 131 | #define BTTV_BOARD_VD009_MINIDIN 0x6c |
132 | #define BTTV_MATRIX_VISIONSLC 0x7e | 132 | #define BTTV_BOARD_VD009_COMBI 0x6d |
133 | #define BTTV_APAC_VIEWCOMP 0x7f | 133 | #define BTTV_BOARD_IVC100 0x6e |
134 | #define BTTV_DVICO_DVBT_LITE 0x80 | 134 | #define BTTV_BOARD_IVC120 0x6f |
135 | #define BTTV_TIBET_CS16 0x83 | 135 | #define BTTV_BOARD_PC_HDTV 0x70 |
136 | #define BTTV_KODICOM_4400R 0x84 | 136 | #define BTTV_BOARD_TWINHAN_DST 0x71 |
137 | #define BTTV_ADLINK_RTV24 0x86 | 137 | #define BTTV_BOARD_WINFASTVC100 0x72 |
138 | #define BTTV_DVICO_FUSIONHDTV_5_LITE 0x87 | 138 | #define BTTV_BOARD_TEV560 0x73 |
139 | #define BTTV_ACORP_Y878F 0x88 | 139 | #define BTTV_BOARD_SIMUS_GVC1100 0x74 |
140 | #define BTTV_CONCEPTRONIC_CTVFMI2 0x89 | 140 | #define BTTV_BOARD_NGSTV_PLUS 0x75 |
141 | #define BTTV_BOARD_LMLBT4 0x76 | ||
142 | #define BTTV_BOARD_TEKRAM_M205 0x77 | ||
143 | #define BTTV_BOARD_CONTVFMI 0x78 | ||
144 | #define BTTV_BOARD_PICOLO_TETRA_CHIP 0x79 | ||
145 | #define BTTV_BOARD_SPIRIT_TV 0x7a | ||
146 | #define BTTV_BOARD_AVDVBT_771 0x7b | ||
147 | #define BTTV_BOARD_AVDVBT_761 0x7c | ||
148 | #define BTTV_BOARD_MATRIX_VISIONSQ 0x7d | ||
149 | #define BTTV_BOARD_MATRIX_VISIONSLC 0x7e | ||
150 | #define BTTV_BOARD_APAC_VIEWCOMP 0x7f | ||
151 | #define BTTV_BOARD_DVICO_DVBT_LITE 0x80 | ||
152 | #define BTTV_BOARD_VGEAR_MYVCD 0x81 | ||
153 | #define BTTV_BOARD_SUPER_TV 0x82 | ||
154 | #define BTTV_BOARD_TIBET_CS16 0x83 | ||
155 | #define BTTV_BOARD_KODICOM_4400R 0x84 | ||
156 | #define BTTV_BOARD_KODICOM_4400R_SL 0x85 | ||
157 | #define BTTV_BOARD_ADLINK_RTV24 0x86 | ||
158 | #define BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE 0x87 | ||
159 | #define BTTV_BOARD_ACORP_Y878F 0x88 | ||
160 | #define BTTV_BOARD_CONCEPTRONIC_CTVFMI2 0x89 | ||
161 | #define BTTV_BOARD_PV_BT878P_2E 0x8a | ||
141 | 162 | ||
142 | /* i2c address list */ | 163 | /* i2c address list */ |
143 | #define I2C_TSA5522 0xc2 | 164 | #define I2C_TSA5522 0xc2 |
@@ -247,7 +268,7 @@ extern int bttv_handle_chipset(struct bttv *btv); | |||
247 | interface below for new code */ | 268 | interface below for new code */ |
248 | 269 | ||
249 | /* returns card type + card ID (for bt878-based ones) | 270 | /* returns card type + card ID (for bt878-based ones) |
250 | for possible values see lines below beginning with #define BTTV_UNKNOWN | 271 | for possible values see lines below beginning with #define BTTV_BOARD_UNKNOWN |
251 | returns negative value if error occurred | 272 | returns negative value if error occurred |
252 | */ | 273 | */ |
253 | extern int bttv_get_cardinfo(unsigned int card, int *type, | 274 | extern int bttv_get_cardinfo(unsigned int card, int *type, |
diff --git a/drivers/media/video/ir-kbd-gpio.c b/drivers/media/video/ir-kbd-gpio.c index 28b58976f8e0..cc5973950c05 100644 --- a/drivers/media/video/ir-kbd-gpio.c +++ b/drivers/media/video/ir-kbd-gpio.c | |||
@@ -347,54 +347,54 @@ static int ir_probe(struct device *dev) | |||
347 | 347 | ||
348 | /* detect & configure */ | 348 | /* detect & configure */ |
349 | switch (sub->core->type) { | 349 | switch (sub->core->type) { |
350 | case BTTV_AVERMEDIA: | 350 | case BTTV_BOARD_AVERMEDIA: |
351 | case BTTV_AVPHONE98: | 351 | case BTTV_BOARD_AVPHONE98: |
352 | case BTTV_AVERMEDIA98: | 352 | case BTTV_BOARD_AVERMEDIA98: |
353 | ir_codes = ir_codes_avermedia; | 353 | ir_codes = ir_codes_avermedia; |
354 | ir->mask_keycode = 0xf88000; | 354 | ir->mask_keycode = 0xf88000; |
355 | ir->mask_keydown = 0x010000; | 355 | ir->mask_keydown = 0x010000; |
356 | ir->polling = 50; // ms | 356 | ir->polling = 50; // ms |
357 | break; | 357 | break; |
358 | 358 | ||
359 | case BTTV_AVDVBT_761: | 359 | case BTTV_BOARD_AVDVBT_761: |
360 | case BTTV_AVDVBT_771: | 360 | case BTTV_BOARD_AVDVBT_771: |
361 | ir_codes = ir_codes_avermedia_dvbt; | 361 | ir_codes = ir_codes_avermedia_dvbt; |
362 | ir->mask_keycode = 0x0f00c0; | 362 | ir->mask_keycode = 0x0f00c0; |
363 | ir->mask_keydown = 0x000020; | 363 | ir->mask_keydown = 0x000020; |
364 | ir->polling = 50; // ms | 364 | ir->polling = 50; // ms |
365 | break; | 365 | break; |
366 | 366 | ||
367 | case BTTV_PXELVWPLTVPAK: | 367 | case BTTV_BOARD_PXELVWPLTVPAK: |
368 | ir_codes = ir_codes_pixelview; | 368 | ir_codes = ir_codes_pixelview; |
369 | ir->mask_keycode = 0x003e00; | 369 | ir->mask_keycode = 0x003e00; |
370 | ir->mask_keyup = 0x010000; | 370 | ir->mask_keyup = 0x010000; |
371 | ir->polling = 50; // ms | 371 | ir->polling = 50; // ms |
372 | break; | 372 | break; |
373 | case BTTV_PV_BT878P_9B: | 373 | case BTTV_BOARD_PV_BT878P_9B: |
374 | case BTTV_PV_BT878P_PLUS: | 374 | case BTTV_BOARD_PV_BT878P_PLUS: |
375 | ir_codes = ir_codes_pixelview; | 375 | ir_codes = ir_codes_pixelview; |
376 | ir->mask_keycode = 0x001f00; | 376 | ir->mask_keycode = 0x001f00; |
377 | ir->mask_keyup = 0x008000; | 377 | ir->mask_keyup = 0x008000; |
378 | ir->polling = 50; // ms | 378 | ir->polling = 50; // ms |
379 | break; | 379 | break; |
380 | 380 | ||
381 | case BTTV_WINFAST2000: | 381 | case BTTV_BOARD_WINFAST2000: |
382 | ir_codes = ir_codes_winfast; | 382 | ir_codes = ir_codes_winfast; |
383 | ir->mask_keycode = 0x1f8; | 383 | ir->mask_keycode = 0x1f8; |
384 | break; | 384 | break; |
385 | case BTTV_MAGICTVIEW061: | 385 | case BTTV_BOARD_MAGICTVIEW061: |
386 | case BTTV_MAGICTVIEW063: | 386 | case BTTV_BOARD_MAGICTVIEW063: |
387 | ir_codes = ir_codes_winfast; | 387 | ir_codes = ir_codes_winfast; |
388 | ir->mask_keycode = 0x0008e000; | 388 | ir->mask_keycode = 0x0008e000; |
389 | ir->mask_keydown = 0x00200000; | 389 | ir->mask_keydown = 0x00200000; |
390 | break; | 390 | break; |
391 | case BTTV_APAC_VIEWCOMP: | 391 | case BTTV_BOARD_APAC_VIEWCOMP: |
392 | ir_codes = ir_codes_apac_viewcomp; | 392 | ir_codes = ir_codes_apac_viewcomp; |
393 | ir->mask_keycode = 0x001f00; | 393 | ir->mask_keycode = 0x001f00; |
394 | ir->mask_keyup = 0x008000; | 394 | ir->mask_keyup = 0x008000; |
395 | ir->polling = 50; // ms | 395 | ir->polling = 50; // ms |
396 | break; | 396 | break; |
397 | case BTTV_CONCEPTRONIC_CTVFMI2: | 397 | case BTTV_BOARD_CONCEPTRONIC_CTVFMI2: |
398 | ir_codes = ir_codes_conceptronic; | 398 | ir_codes = ir_codes_conceptronic; |
399 | ir->mask_keycode = 0x001F00; | 399 | ir->mask_keycode = 0x001F00; |
400 | ir->mask_keyup = 0x006000; | 400 | ir->mask_keyup = 0x006000; |