proposals on DST/DST_CA/DVB_PLL.c deselection, part 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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_LGDT330X if !DVB_FE_CUSTOMISE
-	select DVB_PLL
+	select DVB_PLL if DVB_FE_CUSTOMIZE
 	select DVB_ZL10353 if !DVB_FE_CUSTOMISE
+	select DVB_DST if !DVB_FE_CUSTOMISE
+	select DVB_DST_CA if !DVB_FE_CUSTOMISE
 	select FW_LOADER
 	help
 	  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
+
+config DVB_DST_CUSTOMISE
+	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 !
+
+endmenu

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

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux