[linux-dvb] proposals on DST/DST_CA/DVB_PLL.c deselection, part 2

Uwe Bugla uwe.bugla at gmx.de
Thu May 3 16:48:46 CEST 2007

Part 2: my proposal on how makefile / Kconfig should look like:

advantage 1: treats DST and DST_CA as two different cases, not as one
advantage 2: makes dvb-pll.c deselection visible for all supported bt878 cards by
adding:+ select DVB_PLL if DVB_FE_CUSTOMIZE (without !)
advantage 3: adds some more card brands to make exception / deselection handling  a little bit easier and transparent

--- a/drivers/media/dvb/bt8xx/Makefile Mon Apr 30 12:39:33 2007 -0700
+++ b/drivers/media/dvb/bt8xx/Makefile Thu May 03 15:07:00 2007 -0700
@@ -1,3 +1,5 @@ obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-b
-obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o dst.o dst_ca.o
+obj-$(CONFIG_DVB_BT8XX) += bt878.o dvb-bt8xx.o
+obj-$(CONFIG_DVB_DST) += dst.o
+obj-$(CONFIG_DVB_DST_CA) += dst_ca.o
 EXTRA_CFLAGS = -Idrivers/media/dvb/dvb-core/ -Idrivers/media/video/bt8xx -Idrivers/media/dvb/frontends
--- a/drivers/media/dvb/bt8xx/Kconfig Mon Apr 30 12:39:33 2007 -0700
+++ b/drivers/media/dvb/bt8xx/Kconfig Thu May 03 15:07:00 2007 -0700
@@ -7,8 +7,10 @@ config DVB_BT8XX
 	select DVB_CX24110 if !DVB_FE_CUSTOMISE
 	select DVB_OR51211 if !DVB_FE_CUSTOMISE
-	select DVB_PLL
 	select DVB_ZL10353 if !DVB_FE_CUSTOMISE
 	select FW_LOADER
 	  Support for PCI cards based on the Bt8xx PCI bridge. Examples are
@@ -21,3 +23,36 @@
 	  an external software decoder to watch TV on your computer.
 	  Say Y if you own such a device and want to use it.
+menu "TwinHan DST (CA) and clone cards"
+	depends on DVB_BT8XX
+	bool "Customise DST modules to build"
+	default N
+	help
+	  This allows the user to deselect DST drivers for TwinHan and clone cards or cards with
+	  CA slot. Use this option with care as deselecting drivers which are in fact necessary
+	  will result in DVB devices which cannot be tuned due to lack of driver support.
+	  Please note: To deselect these drivers you MUST say Y to DVB_CORE_ATTACH above.
+	  If unsure say N.
+config DVB_DST
+	tristate "DST module"
+	depends on DVB_BT8XX
+	default m if DVB_DST_CUSTOMISE
+	help
+	  A DVB-S tuner module. Say Y when your card is a TwinHan or clone.
+	  Also say Y if your card needs the DST_CA module.
+config DVB_DST_CA
+	tristate "DST CA module"
+	depends on DVB_BT8XX
+	default m if DVB_DST_CUSTOMISE
+	help
+	  A DVB-S tuner module. Say Y when your card has a conditional access slot.
+	  Examples are: TwinHan DST with CA slot, Pinnacle PCTV Sat CI, Chaintech DST-1000, DNTV Live !

"Feel free" - 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail

More information about the linux-dvb mailing list