lkml.org 
[lkml]   [2004]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] bttv winfast 2000 tuner type
From
Date
Trivial patch that lets you configure the tuner type of your winfast
2000 tuner card. The default value is the previous hard coded value.

--
John McCutchan <ttb@tentacle.dhs.org>
--- clean/linux/drivers/media/video/Kconfig 2004-10-18 17:55:18.000000000 -0400
+++ linux/drivers/media/video/Kconfig 2004-11-04 00:07:57.000000000 -0500
@@ -22,6 +22,18 @@
To compile this driver as a module, choose M here: the
module will be called bttv.

+config VIDEO_WINFAST2000_TUNER_TYPE
+ int "Leadtek WinFast 2000 tuner type"
+ depends on VIDEO_BT848
+ default 5
+ help
+ Selects the tuner type for the WinFast 2000 TV Tuner cards.
+
+ Known tuner types:
+
+ 5 - PAL
+ 2 - NTSC
+
config VIDEO_PMS
tristate "Mediavision Pro Movie Studio Video For Linux"
depends on VIDEO_DEV && ISA
--- clean/linux/drivers/media/video/bttv-cards.c 2004-10-18 17:54:08.000000000 -0400
+++ linux/drivers/media/video/bttv-cards.c 2004-11-04 00:11:25.000000000 -0500
@@ -794,7 +794,7 @@
.needs_tvaudio = 0,
.pll = PLL_28,
.has_radio = 1,
- .tuner_type = 5, // default for now, gpio reads BFFF06 for Pal bg+dk
+ .tuner_type = CONFIG_VIDEO_WINFAST2000_TUNER_TYPE,
.audio_hook = winfast2000_audio,
.has_remote = 1,
},{
\
 
 \ /
  Last update: 2005-03-22 14:07    [W:0.060 / U:0.200 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site