[09051_40] Siano - kconfig update
Quoted 142 lines · Michael Krufky
From: Michael Krufky <[email protected]>
Subject: Re: [PATCH] [09051_40] Siano - kconfig update
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>, "Mauro Carvalho Chehab" <[email protected]>
Date: Tuesday, May 19, 2009, 6:47 PMQuoted 11 lines · Uri Shkolnik
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1242734522 -10800
# Node IDc74502f4c8e97bd9cec9656793bbabc11fb72ab4# Parent 315bc4b65b4f527c4f9bc4fe3290e10f07975437 [09051_40] Siano - kconfig updateFrom: Uri Shkolnik <[email protected]>
This patches comes to solve the comments on Siano's
patch
Quoted 1 line
0905_10. It updates the kconfig to support
multi-modules build.
Quoted 1 line
Note that the dependency on
dvb_coreis for the(sms)dvb module
Quoted 1 line
alone, since the drivers set may work with another
adapter.
Quoted 6 lines
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>diff -r
315bc4b65b4f-rc74502f4c8e9linux/drivers/media/dvb/siano/Kconfig
Quoted 1 line
--- a/linux/drivers/media/dvb/siano/Kconfig Sun
May 17 12:28:55 2009 +0000Quoted 1 line
+++ b/linux/drivers/media/dvb/siano/Kconfig Tue
May 19 15:02:02 2009 +0300Review line 2
Quoted 2 lines
(quoted diff) +0
-0@@ -2,25 +2,40 @@ # Siano Mobile Silicon Digital TV deviceconfiguration
Review line 6
Quoted 4 lines
(quoted diff) +0
-2# -config DVB_SIANO_SMS1XXX - tristate "Siano SMS1XXX USB donglesupport"
Review line 6
Quoted 3 lines
(quoted diff) +2
-1- depends on DVB_CORE && USB +config SMS_SIANO_MDTV + tristate "Siano SMS1xxx based MDTVreceiver"
Quoted 3 lines
(quoted diff) +1
-0+ default m---help---
- Choose Y here if you have a USB donglewith a SMS1XXX chipset.
Quoted 1 line
+ Choose Y or M here if you have MDTV
receiver with a Siano chipset.
Quoted 2 lines
- To compile this driver as a module,
choose M here: the
Quoted 2 lines
- module will be called sms1xxx.
+ To compile this driver as a module, chooseM here
Quoted 4 lines
+ (The modules will be called smsmdtv).
-config
DVB_SIANO_SMS1XXX_SMS_IDS
- bool "Enable support for Siano MobileSilicon default USB IDs"
Quoted 3 lines
- depends on
DVB_SIANO_SMS1XXX
- default y
+ Note: All dependents, if selected, will bepart of this module.
Quoted 2 lines
+
+ Further documentation on this driver can befound on the WWW
Quoted 10 lines
(quoted diff) +9
-0+ +if SMS_SIANO_MDTV +menu "Siano module components" + +# Kernel sub systems support +config SMS_DVB3_SUBSYS + tristate "DVB v.3 Subsystem support" + depends on DVB_CORE + default m if DVB_COREQuoted 2 lines
---help---
- Choose Y here if you have a USB donglewith a SMS1XXX chipset
Quoted 1 line
- that uses Siano Mobile Silicon's default
usb vid:pid.
Quoted 1 line
+ Choose if you would like to have DVB v.3
kernel sub-system support.
Quoted 2 lines
- Choose N here if you would prefer to use
Siano's external driver.
Quoted 3 lines
+# Hardware interfaces support
- Further documentation on this driver can
be found on the WWW at
Quoted 7 lines
- <http://www.siano-ms.com/>.
+configSMS_USB_DRV
+ tristate "USB interface support"
+ depends on USB
+ default m if USB
+ ---help---
+ Choose if you would like to have Siano'ssupport for USB interface
Quoted 10 lines
(quoted diff) +3
-1+ +endmenu +endif # SMS_SIANO_MDTV --To unsubscribe from this list: send the line
"unsubscribe linux-media" in
Quoted 3 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlI have two concerns with this patch...
Issue #1, I dont see why it's important to rename the
Kconfigsymbol
fromDVB_SIANO_SMS1XXXtoSMS_SIANO_MDTV-- This will just cause
breakage of "make oldconfig" in the kernel with no real benefit.Issue #2, a much bigger issue..... This patch implies that the Siano
driver can be built *with* DVB "v3" support, or without it. Why would
a linux user ever want to built this driver without support for the
DVB API ? (that's a loaded question) ... Does Siano intend to push
their proprietary API into the kernel?
Quoted 2 lines
-Mike
Regarding #1 - sms1xxx implies that is support only Siano devices from 1xxx families, but actually it support all Siano's chip-sets and various MCPs (Which have different numeration than 1xxx, I can't give details here, sorry). So 1xxx is a misleading name. MDTV - much better (you can read it as Mobile Digital TV, or something else)
Regarding #2 - DVB-API version 3 (dvb-core module) is one of the sub-systems which are supported. The drivers set is also supports DVB-API version 5 (pre-alpha at this stage) and Siano's proprietary sub-system. So, actually you don't have to have dvb-core in order to use Siano's USB interface driver... Please note that there are DAB radio builds, using Siano chip-sets and drivers... which means you don't need the dvb-core as well, you just need the dab and the Siano's core and interface drivers...
Long time ago I asked you, why you chose to put the Siano sub-tree under media/dvb, since that chip-set can be used (and it is) and be regarded as... radio receiver. I don't mind that the Siano's sub-tree will reside under media/dvb, but it doesn't indicates either that it's bind solely to dvb-core....
Uri
Regards,
Mike
Em Tue, 19 May 2009 11:18:32 -0700 (PDT)
Uri Shkolnik <[email protected]> escreveu:
Quoted 147 lines
Quoted 142 lines · Michael Krufky
From: Michael Krufky <[email protected]>
Subject: Re: [PATCH] [09051_40] Siano - kconfig update
To: "Uri Shkolnik" <[email protected]>
Cc: "LinuxML" <[email protected]>, "Mauro Carvalho Chehab" <[email protected]>
Date: Tuesday, May 19, 2009, 6:47 PMQuoted 11 lines · Uri Shkolnik
# HG changeset patch
# User Uri Shkolnik <[email protected]>
# Date 1242734522 -10800
# Node IDc74502f4c8e97bd9cec9656793bbabc11fb72ab4# Parent 315bc4b65b4f527c4f9bc4fe3290e10f07975437 [09051_40] Siano - kconfig updateFrom: Uri Shkolnik <[email protected]>
This patches comes to solve the comments on Siano's
patch
Quoted 1 line
0905_10. It updates the kconfig to support
multi-modules build.
Quoted 1 line
Note that the dependency on
dvb_coreis for the(sms)dvb module
Quoted 1 line
alone, since the drivers set may work with another
adapter.
Quoted 6 lines
Priority: normal
Signed-off-by Uri Shkolnik <[email protected]>diff -r
315bc4b65b4f-rc74502f4c8e9linux/drivers/media/dvb/siano/Kconfig
Quoted 1 line
--- a/linux/drivers/media/dvb/siano/Kconfig Sun
May 17 12:28:55 2009 +0000Quoted 1 line
+++ b/linux/drivers/media/dvb/siano/Kconfig Tue
May 19 15:02:02 2009 +0300Review line 2
Quoted 2 lines
(quoted diff) +0
-0@@ -2,25 +2,40 @@ # Siano Mobile Silicon Digital TV deviceconfiguration
Review line 6
Quoted 4 lines
(quoted diff) +0
-2# -config DVB_SIANO_SMS1XXX - tristate "Siano SMS1XXX USB donglesupport"
Review line 6
Quoted 3 lines
(quoted diff) +2
-1- depends on DVB_CORE && USB +config SMS_SIANO_MDTV + tristate "Siano SMS1xxx based MDTVreceiver"
Quoted 3 lines
(quoted diff) +1
-0+ default m---help---
- Choose Y here if you have a USB donglewith a SMS1XXX chipset.
Quoted 1 line
+ Choose Y or M here if you have MDTV
receiver with a Siano chipset.
Quoted 2 lines
- To compile this driver as a module,
choose M here: the
Quoted 2 lines
- module will be called sms1xxx.
+ To compile this driver as a module, chooseM here
Quoted 4 lines
+ (The modules will be called smsmdtv).
-config
DVB_SIANO_SMS1XXX_SMS_IDS
- bool "Enable support for Siano MobileSilicon default USB IDs"
Quoted 3 lines
- depends on
DVB_SIANO_SMS1XXX
- default y
+ Note: All dependents, if selected, will bepart of this module.
Quoted 2 lines
+
+ Further documentation on this driver can befound on the WWW
Quoted 10 lines
(quoted diff) +9
-0+ +if SMS_SIANO_MDTV +menu "Siano module components" + +# Kernel sub systems support +config SMS_DVB3_SUBSYS + tristate "DVB v.3 Subsystem support" + depends on DVB_CORE + default m if DVB_COREQuoted 2 lines
---help---
- Choose Y here if you have a USB donglewith a SMS1XXX chipset
Quoted 1 line
- that uses Siano Mobile Silicon's default
usb vid:pid.
Quoted 1 line
+ Choose if you would like to have DVB v.3
kernel sub-system support.
Quoted 2 lines
- Choose N here if you would prefer to use
Siano's external driver.
Quoted 3 lines
+# Hardware interfaces support
- Further documentation on this driver can
be found on the WWW at
Quoted 7 lines
- <http://www.siano-ms.com/>.
+configSMS_USB_DRV
+ tristate "USB interface support"
+ depends on USB
+ default m if USB
+ ---help---
+ Choose if you would like to have Siano'ssupport for USB interface
Quoted 10 lines
(quoted diff) +3
-1+ +endmenu +endif # SMS_SIANO_MDTV --To unsubscribe from this list: send the line
"unsubscribe linux-media" in
Quoted 3 lines
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.htmlI have two concerns with this patch...
Issue #1, I dont see why it's important to rename the
Kconfigsymbol
fromDVB_SIANO_SMS1XXXtoSMS_SIANO_MDTV-- This will just cause
breakage of "make oldconfig" in the kernel with no real benefit.Issue #2, a much bigger issue..... This patch implies that the Siano
driver can be built *with* DVB "v3" support, or without it. Why would
a linux user ever want to built this driver without support for the
DVB API ? (that's a loaded question) ... Does Siano intend to push
their proprietary API into the kernel?
Quoted 5 lines
Quoted 2 lines
-Mike
Regarding #1 - sms1xxx implies that is support only Siano devices from 1xxx families, but actually it support all Siano's chip-sets and various MCPs (Which have different numeration than 1xxx, I can't give details here, sorry). So 1xxx is a misleading name. MDTV - much better (you can read it as Mobile Digital TV, or something else)
Changing Kconfig names should be avoided, but your explanation makes sense to me, provided that you will preserve the newer name.
Quoted 1 line
Regarding #2 - DVB-API version 3 (dvb-core module) is one of the sub-systems which are supported. The drivers set is also supports DVB-API version 5 (pre-alpha at this stage) and Siano's proprietary sub-system. So, actually you don't have to have dvb-core in order to use Siano's USB interface driver...
It makes no sense to add a Kconfig item for it in Kernel, since Siano's proprietary sub-system is not part of upstream Linux Kernel.
Quoted 1 line
Please note that there are DAB radio builds, using Siano chip-sets and drivers... which means you don't need the dvb-core as well, you just need the dab and the Siano's core and interface drivers...
Hmm... it would be interesting if you could later provide a DAB patch for the driver.
Quoted 1 line
Long time ago I asked you, why you chose to put the Siano sub-tree under media/dvb, since that chip-set can be used (and it is) and be regarded as... radio receiver. I don't mind that the Siano's sub-tree will reside under media/dvb, but it doesn't indicates either that it's bind solely to dvb-core....
This is an already existing trouble we have: splitting drivers into media/dvb, media/video and media/radio is not correct. There are several drivers that have DVB, video and radio support.
The alternative to fix would be a major rearrangement on all drivers. This were already discussed at the ML, but every time we run away. I suspect that sooner or later, we'll need to rearrange they. The better proposal we had were to be as much linear as possible (so, having all drivers under /media for example would make more sense).
Cheers,
Mauro