patch 2 / 3: deselect dst and dst-ca modules if they aren't needed
From: Uwe Bugla
Date: Thu Mar 01 2007 - 09:31:13 EST
Hi folks,
although this patch is fine and necessary it has been blocked and ignored for months by the following so-called "maintainers"
who are a tall order, a shame and a mismatch for the whole linux community:
a. Manuel Abraham <abraham.manu@xxxxxxxxx>
b. Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
I vote for excluding Manuel Abraham from maintainership as we all need communicatable, accurate and reliable maintainers, no mismatches!
within the current kernel concept you are forced to compile the TwinHan dst and dst-ca modules as a regular case which is absolute nonsense.
With this patch you optimize RAM usage for all bt8xx DVB-S abd DVB-T cards with the following known exceptions:
1. Pinnacle PCTV Sat with CI extension
2. TwinHan DST and clones
3. TwinHan DST with CA slot
4. Chaintech DST-1000
5. DNTV Live !
Please sign-off or ack this only in connection with the bt8xx documentation fix (i. e. patch 1 / 3).
Written, tested with a Pinnacle PCTV Sat without CI extension and:
Signed-off-by: Uwe Bugla <uwe.bugla@xxxxxx>
--- a/drivers/media/dvb/bt8xx/Makefile
+++ b/drivers/media/dvb/bt8xx/Makefile
@@ -1,3 +1,5 @@
-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
+++ b/drivers/media/dvb/bt8xx/Kconfig
@@ -9,6 +9,8 @@
select DVB_LGDT330X if !DVB_FE_CUSTOMISE
select DVB_TUNER_LGH06XF if !DVB_FE_CUSTOMISE
select DVB_ZL10353 if !DVB_FE_CUSTOMISE
+ select DVB_DST if !DVB_DST_CUSTOMISE
+ select DVB_DST_CA if !DVB_DST_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 "Customise DST support"
+ 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
P. S.: "There are two things that are infinite and endless: The human stupidity and the universe.
While I am sometimes doubting about the universe I am damn sure as far as the human stupidity is concerned."
ALBERT EINSTEIN
--
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...
Jetzt GMX ProMail testen: www.gmx.net/de/go/mailfooter/promail-out
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/