Skip to content

Commit

Permalink
V4L/DVB (12451): Update KConfig File to enable SDIO and USB interfaces
Browse files Browse the repository at this point in the history
Update KConfig file to enbale selection of SDIO and USB
interfaces, and add dependancy on relevant modules.

[mchehab@redhat.com: fix merge conflicts, remove default: m, add missing endmenu]

Signed-off-by: Udi Atar <udia@siano-ms.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Udi Atar authored and Mauro Carvalho Chehab committed Aug 31, 2009
1 parent ef2d12c commit 31e0ad6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 20 deletions.
40 changes: 24 additions & 16 deletions drivers/media/dvb/siano/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,33 @@
# Siano Mobile Silicon Digital TV device configuration
#

config DVB_SIANO_SMS1XXX
tristate "Siano SMS1XXX USB dongle support"
depends on DVB_CORE && USB && INPUT
config SMS_SIANO_MDTV
tristate "Siano SMS1xxx based MDTV receiver"
depends on DVB_CORE && INPUT
---help---
Choose Y here if you have a USB dongle with a SMS1XXX chipset.
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
module will be called sms1xxx.
To compile this driver as a module, choose M here
(The module will be called smsmdtv).

config DVB_SIANO_SMS1XXX_SMS_IDS
bool "Enable support for Siano Mobile Silicon default USB IDs"
depends on DVB_SIANO_SMS1XXX
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.
Further documentation on this driver can be found on the WWW
at http://www.siano-ms.com/

if SMS_SIANO_MDTV
menu "Siano module components"

Choose N here if you would prefer to use Siano's external driver.
# Hardware interfaces support

Further documentation on this driver can be found on the WWW at
<http://www.siano-ms.com/>.
config SMS_USB_DRV
tristate "USB interface support"
depends on DVB_CORE && USB
---help---
Choose if you would like to have Siano's support for USB interface

config SMS_SDIO_DRV
tristate "SDIO interface support"
depends on DVB_CORE && MMC
---help---
Choose if you would like to have Siano's support for SDIO interface
endmenu
endif # SMS_SIANO_MDTV
9 changes: 5 additions & 4 deletions drivers/media/dvb/siano/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
sms1xxx-objs := smscoreapi.o sms-cards.o smsendian.o smsir.o

obj-$(CONFIG_DVB_SIANO_SMS1XXX) += sms1xxx.o
obj-$(CONFIG_DVB_SIANO_SMS1XXX) += smsusb.o
obj-$(CONFIG_DVB_SIANO_SMS1XXX) += smsdvb.o
smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o smsir.o

obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o
obj-$(CONFIG_SMS_USB_DRV) += smsusb.o
obj-$(CONFIG_SMS_SDIO_DRV) += smssdio.o

EXTRA_CFLAGS += -Idrivers/media/dvb/dvb-core

Expand Down

0 comments on commit 31e0ad6

Please sign in to comment.