diff options
Diffstat (limited to 'drivers/media/video/ivtv/ivtv-cards.h')
-rw-r--r-- | drivers/media/video/ivtv/ivtv-cards.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-cards.h b/drivers/media/video/ivtv/ivtv-cards.h index 3191920f4c6b..ff46e5ae8653 100644 --- a/drivers/media/video/ivtv/ivtv-cards.h +++ b/drivers/media/video/ivtv/ivtv-cards.h | |||
@@ -18,6 +18,68 @@ | |||
18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #ifndef IVTV_CARDS_H | ||
22 | #define IVTV_CARDS_H | ||
23 | |||
24 | /* Supported cards */ | ||
25 | #define IVTV_CARD_PVR_250 0 /* WinTV PVR 250 */ | ||
26 | #define IVTV_CARD_PVR_350 1 /* encoder, decoder, tv-out */ | ||
27 | #define IVTV_CARD_PVR_150 2 /* WinTV PVR 150 and PVR 500 (really just two | ||
28 | PVR150s on one PCI board) */ | ||
29 | #define IVTV_CARD_M179 3 /* AVerMedia M179 (encoder only) */ | ||
30 | #define IVTV_CARD_MPG600 4 /* Kuroutoshikou ITVC16-STVLP/YUAN MPG600, encoder only */ | ||
31 | #define IVTV_CARD_MPG160 5 /* Kuroutoshikou ITVC15-STVLP/YUAN MPG160 | ||
32 | cx23415 based, but does not have tv-out */ | ||
33 | #define IVTV_CARD_PG600 6 /* YUAN PG600/DIAMONDMM PVR-550 based on the CX Falcon 2 */ | ||
34 | #define IVTV_CARD_AVC2410 7 /* Adaptec AVC-2410 */ | ||
35 | #define IVTV_CARD_AVC2010 8 /* Adaptec AVD-2010 (No Tuner) */ | ||
36 | #define IVTV_CARD_TG5000TV 9 /* NAGASE TRANSGEAR 5000TV, encoder only */ | ||
37 | #define IVTV_CARD_VA2000MAX_SNT6 10 /* VA2000MAX-STN6 */ | ||
38 | #define IVTV_CARD_CX23416GYC 11 /* Kuroutoshikou CX23416GYC-STVLP (Yuan MPG600GR OEM) */ | ||
39 | #define IVTV_CARD_GV_MVPRX 12 /* I/O Data GV-MVP/RX, RX2, RX2W */ | ||
40 | #define IVTV_CARD_GV_MVPRX2E 13 /* I/O Data GV-MVP/RX2E */ | ||
41 | #define IVTV_CARD_GOTVIEW_PCI_DVD 14 /* GotView PCI DVD */ | ||
42 | #define IVTV_CARD_GOTVIEW_PCI_DVD2 15 /* GotView PCI DVD2 */ | ||
43 | #define IVTV_CARD_YUAN_MPC622 16 /* Yuan MPC622 miniPCI */ | ||
44 | #define IVTV_CARD_DCTMTVP1 17 /* DIGITAL COWBOY DCT-MTVP1 */ | ||
45 | #define IVTV_CARD_PG600V2 18 /* Yuan PG600V2/GotView PCI DVD Lite */ | ||
46 | #define IVTV_CARD_CLUB3D 19 /* Club3D ZAP-TV1x01 */ | ||
47 | #define IVTV_CARD_AVERTV_MCE116 20 /* AVerTV MCE 116 Plus */ | ||
48 | #define IVTV_CARD_LAST 20 | ||
49 | |||
50 | /* Variants of existing cards but with the same PCI IDs. The driver | ||
51 | detects these based on other device information. | ||
52 | These cards must always come last. | ||
53 | New cards must be inserted above, and the indices of the cards below | ||
54 | must be adjusted accordingly. */ | ||
55 | |||
56 | /* PVR-350 V1 (uses saa7114) */ | ||
57 | #define IVTV_CARD_PVR_350_V1 (IVTV_CARD_LAST+1) | ||
58 | /* 2 variants of Kuroutoshikou CX23416GYC-STVLP (Yuan MPG600GR OEM) */ | ||
59 | #define IVTV_CARD_CX23416GYC_NOGR (IVTV_CARD_LAST+2) | ||
60 | #define IVTV_CARD_CX23416GYC_NOGRYCS (IVTV_CARD_LAST+3) | ||
61 | |||
62 | /* system vendor and device IDs */ | ||
63 | #define PCI_VENDOR_ID_ICOMP 0x4444 | ||
64 | #define PCI_DEVICE_ID_IVTV15 0x0803 | ||
65 | #define PCI_DEVICE_ID_IVTV16 0x0016 | ||
66 | |||
67 | /* subsystem vendor ID */ | ||
68 | #define IVTV_PCI_ID_HAUPPAUGE 0x0070 | ||
69 | #define IVTV_PCI_ID_HAUPPAUGE_ALT1 0x0270 | ||
70 | #define IVTV_PCI_ID_HAUPPAUGE_ALT2 0x4070 | ||
71 | #define IVTV_PCI_ID_ADAPTEC 0x9005 | ||
72 | #define IVTV_PCI_ID_AVERMEDIA 0x1461 | ||
73 | #define IVTV_PCI_ID_YUAN1 0x12ab | ||
74 | #define IVTV_PCI_ID_YUAN2 0xff01 | ||
75 | #define IVTV_PCI_ID_YUAN3 0xffab | ||
76 | #define IVTV_PCI_ID_YUAN4 0xfbab | ||
77 | #define IVTV_PCI_ID_DIAMONDMM 0xff92 | ||
78 | #define IVTV_PCI_ID_IODATA 0x10fc | ||
79 | #define IVTV_PCI_ID_MELCO 0x1154 | ||
80 | #define IVTV_PCI_ID_GOTVIEW1 0xffac | ||
81 | #define IVTV_PCI_ID_GOTVIEW2 0xffad | ||
82 | |||
21 | /* hardware flags */ | 83 | /* hardware flags */ |
22 | #define IVTV_HW_CX25840 (1 << 0) | 84 | #define IVTV_HW_CX25840 (1 << 0) |
23 | #define IVTV_HW_SAA7115 (1 << 1) | 85 | #define IVTV_HW_SAA7115 (1 << 1) |
@@ -206,3 +268,5 @@ int ivtv_get_output(struct ivtv *itv, u16 index, struct v4l2_output *output); | |||
206 | int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *input); | 268 | int ivtv_get_audio_input(struct ivtv *itv, u16 index, struct v4l2_audio *input); |
207 | int ivtv_get_audio_output(struct ivtv *itv, u16 index, struct v4l2_audioout *output); | 269 | int ivtv_get_audio_output(struct ivtv *itv, u16 index, struct v4l2_audioout *output); |
208 | const struct ivtv_card *ivtv_get_card(u16 index); | 270 | const struct ivtv_card *ivtv_get_card(u16 index); |
271 | |||
272 | #endif | ||