Hi everybody, I?ve been sending in this stuff several times now. At my last attempt Mr. Abraham replied: "NACK. The patch is OK, but I first want to see whether DVB_CORE_ATTACH works without errors." Seeing through the mailing list for a couple of weeks now I never even once noticed at least one complaint that DVB_CORE_ATTACH would not work as it should. So here is my patch again. I do not want to carry it around with me for another ten months, so please push it: This patch enables deselecting Mr. Abraham?s dst modules if they aren?t needed. Within the current kernel concept you are forced to compile them and delete them afterwards if you enabled DVB_CORE_ATTACH, which is utmost stupid. With this patch you can make sure that they aren?t compiled at all if you know that you do not need them at all. Above that you save RAM using several DVB-S cards and DVB_CORE_ATTACH works fine and error free: 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,35 @@ 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. + +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 -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb