Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 366612
b: refs/heads/master
c: 503efe5
h: refs/heads/master
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Mar 21, 2013
1 parent e8a65ea commit d5a2b8d
Show file tree
Hide file tree
Showing 8 changed files with 667 additions and 434 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 3f6b87cff66bb8507aefd62559c516dd7c8f822a
refs/heads/master: 503efe5cfc9fb9f67a6659c4ab39174b442876f3
12 changes: 12 additions & 0 deletions trunk/drivers/media/common/siano/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,15 @@ config SMS_SIANO_RC
default y
---help---
Choose Y to select Remote Controller support for Siano driver.

config SMS_SIANO_DEBUGFS
bool "Enable debugfs for smsdvb"
depends on SMS_SIANO_MDTV
depends on DEBUG_FS
depends on SMS_USB_DRV
---help---
Choose Y to enable visualizing a dump of the frontend
statistics response packets via debugfs. Currently, works
only with Siano USB devices.

Useful only for developers. In doubt, say N.
5 changes: 5 additions & 0 deletions trunk/drivers/media/common/siano/Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
smsmdtv-objs := smscoreapi.o sms-cards.o smsendian.o
smsdvb-objs := smsdvb-main.o

obj-$(CONFIG_SMS_SIANO_MDTV) += smsmdtv.o smsdvb.o

ifeq ($(CONFIG_SMS_SIANO_RC),y)
smsmdtv-objs += smsir.o
endif

ifeq ($(CONFIG_SMS_SIANO_DEBUGFS),y)
smsdvb-objs += smsdvb-debugfs.o
endif

ccflags-y += -Idrivers/media/dvb-core
ccflags-y += $(extra-cflags-y) $(extra-cflags-m)

6 changes: 6 additions & 0 deletions trunk/drivers/media/common/siano/smscoreapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ struct smscore_device_t {
/* Infrared (IR) */
struct ir_t ir;

/*
* Identify if device is USB or not.
* Used by smsdvb-sysfs to know the root node for debugfs
*/
bool is_usb_device;

int led_state;
};

Expand Down
Loading

0 comments on commit d5a2b8d

Please sign in to comment.