[PATCH] bttv winfast 2000 tuner type

From: John McCutchan
Date: Thu Nov 04 2004 - 00:16:12 EST


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@xxxxxxxxxxxxxxxx>
--- 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,
},{