public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [linux-dvb] [PATCH 4/5] Kconfig and Makefile update
@ 2008-11-19  9:03 Uri Shkolnik
  2008-11-19 10:26 ` BOUWSMA Barry
  0 siblings, 1 reply; 3+ messages in thread
From: Uri Shkolnik @ 2008-11-19  9:03 UTC (permalink / raw)
  To: Linux-dvb

[-- Attachment #1: Type: text/plain, Size: 234 bytes --]

This patch provides the following:

A) SPI and SDIO interfaces driver support

B) DVB-API v5 (S2) and Siano's subsystems support

C) Dynamic configuration for single module




Signed-off-by: Uri Shkolnik <uris@siano-ms.com>



      

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: smsbuild_patch.diff --]
[-- Type: text/x-diff; name="smsbuild_patch.diff", Size: 6173 bytes --]

This patch provides the following:
A) SPI and SDIO interfaces driver support
B) DVB-API v5 (S2) and Siano's subsystems support
C) Dynamic configuration for single module


Signed-off-by: Uri Shkolnik <uris@siano-ms.com>


diff -uNr v4l-dvb-c5f976cab011/linux/drivers/media/dvb/siano/Kconfig v4l-dvb-c5f976cab011_0003/linux/drivers/media/dvb/siano/Kconfig
--- v4l-dvb-c5f976cab011/linux/drivers/media/dvb/siano/Kconfig	2008-11-16 15:40:21.000000000 +0200
+++ v4l-dvb-c5f976cab011_0003/linux/drivers/media/dvb/siano/Kconfig	2008-11-19 10:33:13.000000000 +0200
@@ -2,25 +2,69 @@
 # Siano Mobile Silicon Digital TV device configuration
 #
 
-config DVB_SIANO_SMS1XXX
-	tristate "Siano SMS1XXX USB dongle support"
-	depends on DVB_CORE && USB
-	---help---
-	  Choose Y here if you have a USB dongle with a SMS1XXX chipset.
-
-	  To compile this driver as a module, choose M here: the
-	  module will be called sms1xxx.
-
-config DVB_SIANO_SMS1XXX_SMS_IDS
-	bool "Enable support for Siano Mobile Silicon default USB IDs"
-	depends on DVB_SIANO_SMS1XXX
+config SMS_SIANO_MDTV
+	tristate "Siano MDTV receiver"
+	default m
+	---help---
+	Choose Y or M here if you have MDTV receiver with a Siano chipset.
+
+	To compile this driver as a module, choose M here
+	(The modules will be called smsmdtv).
+
+	Note: All dependents, if selected, will be part of this module.
+
+	Further documentation on this driver can be found on the WWW at http://www.siano-ms.com/
+
+if SMS_SIANO_MDTV
+
+# Kernel sub systems support
+
+config SMS_DVB3_SUBSYS
+	bool "DVB v.3 Subsystem support"
 	default y
 	---help---
-	  Choose Y here if you have a USB dongle with a SMS1XXX chipset
-	  that uses Siano Mobile Silicon's default usb vid:pid.
+	Choose if you would like to have DVB v.3 kernel sub-system support.
+
+config SMS_DVB5_S2API_SUBSYS
+	bool "DVB v.5 (S2 API) Subsystem support"
+	default n
+	---help---
+	Choose if you would like to have DVB v.5 (S2 API) kernel sub-system support.
+
+config SMS_HOSTLIB_SUBSYS
+	bool "Host Library Subsystem support"
+	default n
+	---help---
+	Choose if you would like to have Siano's host library kernel sub-system support.
 
-	  Choose N here if you would prefer to use Siano's external driver.
+if SMS_HOSTLIB_SUBSYS
 
-	  Further documentation on this driver can be found on the WWW at
-	  <http://www.siano-ms.com/>.
+config SMS_NET_SUBSYS
+	bool "Siano Network Adapter"
+	default n
+	---help---
+	Choose if you would like to have Siano's network adapter support.
+
+endif # SMS_HOSTLIB_SUBSYS
+
+# Hardware interfaces support
+
+config SMS_USB_DRV
+	bool "USB interface support"
+	default y
+	---help---
+	Choose if you would like to have Siano's support for USB interface
+
+config SMS_SDIO_DRV
+	bool "SDIO interface support"
+	default n
+	---help---
+	Choose if you would like to have Siano's support for SDIO interface
+
+config SMS_SPI_PXA310_DRV
+	bool "PXA 310 SPI interface support"
+	default n
+	---help---
+	Choose if you would like to have Siano's support for PXA 310 SPI interface
 
+endif # SMS_SIANO_MDTV
diff -uNr v4l-dvb-c5f976cab011/linux/drivers/media/dvb/siano/Makefile v4l-dvb-c5f976cab011_0003/linux/drivers/media/dvb/siano/Makefile
--- v4l-dvb-c5f976cab011/linux/drivers/media/dvb/siano/Makefile	2008-11-16 15:40:21.000000000 +0200
+++ v4l-dvb-c5f976cab011_0003/linux/drivers/media/dvb/siano/Makefile	2008-11-19 10:33:18.000000000 +0200
@@ -1,8 +1,102 @@
-sms1xxx-objs := smscoreapi.o smsusb.o smsdvb.o sms-cards.o
+###############################################################################
+#
+# Siano Mobile Silicon, Inc.
+# MDTV receiver kernel modules.
+# Copyright (C) 2006-2008, Uri Shkolnik
+#
+# This program is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program.  If not, see <http://www.gnu.org/licenses/>.
+#
+###############################################################################
 
-obj-$(CONFIG_DVB_SIANO_SMS1XXX) += sms1xxx.o
 
-EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core
+# Local variables initialization
+SMS_DVB3_SUBSYS := 0
+SMS_DVB5_S2API_SUBSYS := 0
+SMS_HOSTLIB_SUBSYS := 0
+
+SMS_USB_DRV := 0
+SMS_SDIO_DRV := 0
+SMS_SPI_PXA310_DRV := 0
+
+
+# Default object, include in every build variant
+SMSOBJ := smscoreapi.o sms-cards.o
 
 EXTRA_CFLAGS += $(extra-cflags-y) $(extra-cflags-m)
 
+
+# Kernel subsystems support
+ifdef CONFIG_SMS_DVB3_SUBSYS
+ifneq ($(CONFIG_SMS_DVB3_SUBSYS),n)
+SMS_DVB3_SUBSYS := 1
+EXTRA_CFLAGS += -DSMS_DVB3_SUBSYS -Idrivers/media/dvb/dvb-core
+SMSOBJ += smsdvb.o
+endif
+endif
+
+ifdef CONFIG_SMS_DVB5_S2API_SUBSYS
+ifneq ($(CONFIG_SMS_DVB5_S2API_SUBSYS),n)
+SMS_DVB5_S2API_SUBSYS := 1
+EXTRA_CFLAGS += -DSMS_DVB5_S2API_SUBSYS
+endif
+endif
+
+ifdef CONFIG_SMS_HOSTLIB_SUBSYS
+ifneq ($(CONFIG_SMS_HOSTLIB_SUBSYS),n)
+SMS_HOSTLIB_SUBSYS := 1
+EXTRA_CFLAGS += -DSMS_HOSTLIB_SUBSYS
+SMSOBJ += smschar.o
+endif
+endif
+
+ifdef CONFIG_SMS_NET_SUBSYS
+ifneq ($(CONFIG_SMS_NET_SUBSYS),n)
+SMS_NET_SUBSYS := 1
+EXTRA_CFLAGS += -DSMS_NET_SUBSYS
+SMSOBJ += smsnet.o
+endif
+endif
+
+# Hardware (host) interfaces support
+ifdef CONFIG_SMS_USB_DRV
+ifneq ($(CONFIG_SMS_USB_DRV),n)
+SMS_USB_DRV := 1
+EXTRA_CFLAGS += -DSMS_USB_DRV
+SMSOBJ += smsusb.o
+endif
+endif
+
+ifdef CONFIG_SMS_SDIO_DRV
+ifneq ($(CONFIG_SMS_SDIO_DRV),n)
+SMS_SDIO_DRV := 1
+EXTRA_CFLAGS += -DSMS_SDIO_DRV
+SMSOBJ += smssdio.o
+endif
+endif
+
+ifdef CONFIG_SMS_SPI_PXA310_DRV
+ifneq ($(CONFIG_SMS_SPI_PXA310_DRV),n)
+SMS_SPI_PXA310_DRV := 1
+EXTRA_CFLAGS += -DSMS_SPI_PXA310_DRV
+SMSOBJ += smsspilog.o smsspicommon.o smsspiphy_pxa.o
+endif
+endif
+
+# All selected in one module named smsmdtv
+smsmdtv-objs := $(SMSOBJ)
+
+obj-$(CONFIG_SMS_SIANO_MDTV) := smsmdtv.o
+
+
+

[-- Attachment #3: Type: text/plain, Size: 150 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-dvb] [PATCH 4/5] Kconfig and Makefile update
  2008-11-19  9:03 [linux-dvb] [PATCH 4/5] Kconfig and Makefile update Uri Shkolnik
@ 2008-11-19 10:26 ` BOUWSMA Barry
  2008-11-19 11:21   ` Uri Shkolnik
  0 siblings, 1 reply; 3+ messages in thread
From: BOUWSMA Barry @ 2008-11-19 10:26 UTC (permalink / raw)
  To: Uri Shkolnik; +Cc: Linux-dvb

On Wed, 19 Nov 2008, Uri Shkolnik wrote:

> This patch provides the following:
[...]

Thanks for these; parts 1, 3, and 4 have made it intact
to me (haven't checked elsewhere) -- oops, part 2 has just
trickled in; will wait for part 5 Real Soon Now

However, I do have an item of concern:


> +	Further documentation on this driver can be found on the WWW at http://www.siano-ms.com/

Can you provide a more direct link to a developer or
download or technical page, as what I see consists of
press releases and similar marketing, with no links to
anything I could use with these patches...


Here's the complete list of links I get from the above
page:

                   List Page (Lynx Version 2.8.7dev.9), help

   References in http://www.siano-ms.com/

    Visible links:
    1. javascript:MM_openBrWindow('on-the-go.html','Siano','toolbar=yes,wi
       dth=450,height=400')
    2. javascript:MM_openBrWindow('in-your-car.html','Siano','toolbar=yes,
       width=450,height=400')
    3. javascript:MM_openBrWindow('at-your-home-office.html','Siano','tool
       bar=yes,width=450,height=400')
    4. http://www.siano-ms.com/news171108.html
    5. http://www.siano-ms.com/news061108.html
    6. http://www.siano-ms.com/news120908.html
    7. http://www.siano-ms.com/news120908-a.html
    8. http://www.siano-ms.com/news110908-a.html
    9. http://www.siano-ms.com/news110908.html
   10. http://www.siano-ms.com/news130808.html
   11. http://www.siano-ms.com/news171108.html
   12. javascript:MM_openBrWindow('termsandconditions.html','','scrollbars
       =yes,resizable=yes,width=400,height=350')

    Hidden links:
   13. http://www.siano-ms.com/#Axel
   14. http://www.siano-ms.com/#Cyberlink
   15. http://www.siano-ms.com/news.html


If, however, any needed code would appear in other
patches -- such as the source for smschar.o, then
ignore this; but if there is in fact a developer page
under siano-ms.com, you might see if it can be made
more obvious -- I think at least one other person has
posted here being unable to find it.


thanks!
barry bouwsma

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [linux-dvb] [PATCH 4/5] Kconfig and Makefile update
  2008-11-19 10:26 ` BOUWSMA Barry
@ 2008-11-19 11:21   ` Uri Shkolnik
  0 siblings, 0 replies; 3+ messages in thread
From: Uri Shkolnik @ 2008-11-19 11:21 UTC (permalink / raw)
  To: BOUWSMA Barry; +Cc: Linux-dvb


--- On Wed, 11/19/08, BOUWSMA Barry <freebeer.bouwsma@gmail.com> wrote:

> From: BOUWSMA Barry <freebeer.bouwsma@gmail.com>
> Subject: Re: [linux-dvb] [PATCH 4/5] Kconfig and Makefile update
> To: "Uri Shkolnik" <urishk@yahoo.com>
> Cc: "Linux-dvb" <linux-dvb@linuxtv.org>
> Date: Wednesday, November 19, 2008, 12:26 PM
> On Wed, 19 Nov 2008, Uri Shkolnik wrote:
> 
> > This patch provides the following:
> [...]
> 
> Thanks for these; parts 1, 3, and 4 have made it intact
> to me (haven't checked elsewhere) -- oops, part 2 has
> just
> trickled in; will wait for part 5 Real Soon Now
> 
> However, I do have an item of concern:
> 
> 
> > +	Further documentation on this driver can be found on
> the WWW at http://www.siano-ms.com/
> 
> Can you provide a more direct link to a developer or
> download or technical page, as what I see consists of
> press releases and similar marketing, with no links to
> anything I could use with these patches...
> 
> 
> Here's the complete list of links I get from the above
> page:
> 
>                    List Page (Lynx Version 2.8.7dev.9),
> help
> 
>    References in http://www.siano-ms.com/
> 
>     Visible links:
>     1.
> javascript:MM_openBrWindow('on-the-go.html','Siano','toolbar=yes,wi
>        dth=450,height=400')
>     2.
> javascript:MM_openBrWindow('in-your-car.html','Siano','toolbar=yes,
>        width=450,height=400')
>     3.
> javascript:MM_openBrWindow('at-your-home-office.html','Siano','tool
>        bar=yes,width=450,height=400')
>     4. http://www.siano-ms.com/news171108.html
>     5. http://www.siano-ms.com/news061108.html
>     6. http://www.siano-ms.com/news120908.html
>     7. http://www.siano-ms.com/news120908-a.html
>     8. http://www.siano-ms.com/news110908-a.html
>     9. http://www.siano-ms.com/news110908.html
>    10. http://www.siano-ms.com/news130808.html
>    11. http://www.siano-ms.com/news171108.html
>    12.
> javascript:MM_openBrWindow('termsandconditions.html','','scrollbars
>        =yes,resizable=yes,width=400,height=350')
> 
>     Hidden links:
>    13. http://www.siano-ms.com/#Axel
>    14. http://www.siano-ms.com/#Cyberlink
>    15. http://www.siano-ms.com/news.html
> 
> 
> If, however, any needed code would appear in other
> patches -- such as the source for smschar.o, then
> ignore this; but if there is in fact a developer page
> under siano-ms.com, you might see if it can be made
> more obvious -- I think at least one other person has
> posted here being unable to find it.
> 
> 
> thanks!
> barry bouwsma

Hi Barry,

Patch 2/5 awaits moderator approval. (little big patch that deals with SPI interface, hope you'll get it soon)

You can use me as focal point at Siano for technical papers and other documentation, please note that some papers require NDA (not all, but some)

smschar is part of the Siano subsystem, and I hope I'll release is later today. (The S2 / DVB API v5 will have to wait a little longer, I'm simply overloaded).

Regards,

Uri


      

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-19 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19  9:03 [linux-dvb] [PATCH 4/5] Kconfig and Makefile update Uri Shkolnik
2008-11-19 10:26 ` BOUWSMA Barry
2008-11-19 11:21   ` Uri Shkolnik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox