public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: John McCutchan <ttb@tentacle.dhs.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] bttv winfast 2000 tuner type
Date: Thu, 04 Nov 2004 00:18:27 -0500	[thread overview]
Message-ID: <1099545507.24027.1.camel@vertex> (raw)

[-- Attachment #1: Type: text/plain, Size: 181 bytes --]

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>

[-- Attachment #2: bttv-winfast-2000-tuner-type.diff --]
[-- Type: text/x-patch, Size: 1073 bytes --]

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

             reply	other threads:[~2004-11-04  5:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04  5:18 John McCutchan [this message]
2004-11-04  9:27 ` [PATCH] bttv winfast 2000 tuner type Gerd Knorr

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1099545507.24027.1.camel@vertex \
    --to=ttb@tentacle.dhs.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox