diff options
Diffstat (limited to 'drivers/media/video/bttv-driver.c')
-rw-r--r-- | drivers/media/video/bttv-driver.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/drivers/media/video/bttv-driver.c b/drivers/media/video/bttv-driver.c index 0e6970346788..1c6cfe954548 100644 --- a/drivers/media/video/bttv-driver.c +++ b/drivers/media/video/bttv-driver.c | |||
@@ -48,47 +48,46 @@ | |||
48 | unsigned int bttv_num; /* number of Bt848s in use */ | 48 | unsigned int bttv_num; /* number of Bt848s in use */ |
49 | struct bttv bttvs[BTTV_MAX]; | 49 | struct bttv bttvs[BTTV_MAX]; |
50 | 50 | ||
51 | unsigned int bttv_debug = 0; | 51 | unsigned int bttv_debug; |
52 | unsigned int bttv_verbose = 1; | 52 | unsigned int bttv_verbose = 1; |
53 | unsigned int bttv_gpio = 0; | 53 | unsigned int bttv_gpio; |
54 | 54 | ||
55 | /* config variables */ | 55 | /* config variables */ |
56 | #ifdef __BIG_ENDIAN | 56 | #ifdef __BIG_ENDIAN |
57 | static unsigned int bigendian=1; | 57 | static unsigned int bigendian=1; |
58 | #else | 58 | #else |
59 | static unsigned int bigendian=0; | 59 | static unsigned int bigendian; |
60 | #endif | 60 | #endif |
61 | static unsigned int radio[BTTV_MAX]; | 61 | static unsigned int radio[BTTV_MAX]; |
62 | static unsigned int irq_debug = 0; | 62 | static unsigned int irq_debug; |
63 | static unsigned int gbuffers = 8; | 63 | static unsigned int gbuffers = 8; |
64 | static unsigned int gbufsize = 0x208000; | 64 | static unsigned int gbufsize = 0x208000; |
65 | 65 | ||
66 | static int video_nr = -1; | 66 | static int video_nr = -1; |
67 | static int radio_nr = -1; | 67 | static int radio_nr = -1; |
68 | static int vbi_nr = -1; | 68 | static int vbi_nr = -1; |
69 | static int debug_latency = 0; | 69 | static int debug_latency; |
70 | 70 | ||
71 | static unsigned int fdsr = 0; | 71 | static unsigned int fdsr; |
72 | 72 | ||
73 | /* options */ | 73 | /* options */ |
74 | static unsigned int combfilter = 0; | 74 | static unsigned int combfilter; |
75 | static unsigned int lumafilter = 0; | 75 | static unsigned int lumafilter; |
76 | static unsigned int automute = 1; | 76 | static unsigned int automute = 1; |
77 | static unsigned int chroma_agc = 0; | 77 | static unsigned int chroma_agc; |
78 | static unsigned int adc_crush = 1; | 78 | static unsigned int adc_crush = 1; |
79 | static unsigned int whitecrush_upper = 0xCF; | 79 | static unsigned int whitecrush_upper = 0xCF; |
80 | static unsigned int whitecrush_lower = 0x7F; | 80 | static unsigned int whitecrush_lower = 0x7F; |
81 | static unsigned int vcr_hack = 0; | 81 | static unsigned int vcr_hack; |
82 | static unsigned int irq_iswitch = 0; | 82 | static unsigned int irq_iswitch; |
83 | static unsigned int uv_ratio = 50; | 83 | static unsigned int uv_ratio = 50; |
84 | static unsigned int full_luma_range = 0; | 84 | static unsigned int full_luma_range; |
85 | static unsigned int coring = 0; | 85 | static unsigned int coring; |
86 | extern int no_overlay; | 86 | extern int no_overlay; |
87 | 87 | ||
88 | /* API features (turn on/off stuff for testing) */ | 88 | /* API features (turn on/off stuff for testing) */ |
89 | static unsigned int v4l2 = 1; | 89 | static unsigned int v4l2 = 1; |
90 | 90 | ||
91 | |||
92 | /* insmod args */ | 91 | /* insmod args */ |
93 | module_param(bttv_verbose, int, 0644); | 92 | module_param(bttv_verbose, int, 0644); |
94 | module_param(bttv_gpio, int, 0644); | 93 | module_param(bttv_gpio, int, 0644); |