aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/pvrusb2/pvrusb2-devattr.h
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-04-22 13:45:36 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:07:46 -0400
commit1aaac60fec0d3ba8043838c6eac86de987cfe5c1 (patch)
treef871a94325c94b1895a1ef357d0f233ec0cbed5d /drivers/media/video/pvrusb2/pvrusb2-devattr.h
parentd068c6eec94c370a445a32f2f092c90798d47ca3 (diff)
V4L/DVB (7296): pvrusb2: Define device attributes for all input modes
Different devices support different input types. Up until now we've really been assuming that everyone has an analog tuner, an FM radio, composite, and s-video inputs. But as we add other devices, these assumptions are no longer true. The way to deal with this is to define the available inputs as additional device attributes, so that the driver can adjust its internal behavior accordingly. Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-devattr.h')
-rw-r--r--drivers/media/video/pvrusb2/pvrusb2-devattr.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-devattr.h b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
index d89a44071cc..b564121803b 100644
--- a/drivers/media/video/pvrusb2/pvrusb2-devattr.h
+++ b/drivers/media/video/pvrusb2/pvrusb2-devattr.h
@@ -103,12 +103,12 @@ struct pvr2_device_desc {
103 commands. */ 103 commands. */
104 char flag_has_hauppauge_custom_ir; 104 char flag_has_hauppauge_custom_ir;
105 105
106 /* Device has FM radio capability. */ 106 /* These bits define which kinds of sources the device can handle. */
107 char flag_has_fmradio; 107 char flag_has_fmradio; /* Has FM radio receiver */
108 108 char flag_has_analogtuner; /* Has analog tuner */
109 /* Device has a digital tuner; if this is set then we enable extra 109 char flag_has_digitaltuner; /* Has digital tuner */
110 functionality to switch between analog and digital modes. */ 110 char flag_has_composite; /* Has composite input */
111 char flag_has_digitaltuner; 111 char flag_has_svideo; /* Has s-video input */
112}; 112};
113 113
114extern struct usb_device_id pvr2_device_table[]; 114extern struct usb_device_id pvr2_device_table[];