Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138018
b: refs/heads/master
c: 0d02efe
h: refs/heads/master
v: v3
  • Loading branch information
Michael Krufky authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 9b144ba commit da0cde3
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 4 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: 9b76ede411145d7456ae5e467b65003ca7990b06
refs/heads/master: 0d02efe486ef251e2f625fc846cb5f241eb57160
4 changes: 4 additions & 0 deletions trunk/drivers/media/dvb/siano/sms-cards.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@

#include "sms-cards.h"

static int sms_dbg;
module_param_named(cards_dbg, sms_dbg, int, 0644);
MODULE_PARM_DESC(cards_dbg, "set debug level (info=1, adv=2 (or-able))");

static struct sms_board sms_boards[] = {
[SMS_BOARD_UNKNOWN] = {
.name = "Unknown board",
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/siano/smscoreapi.c
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#include "smscoreapi.h"
#include "sms-cards.h"

int sms_dbg;
static int sms_dbg;
module_param_named(debug, sms_dbg, int, 0644);
MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/media/dvb/siano/smscoreapi.h
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,6 @@ int smscore_led_state(struct smscore_device_t *core, int led);

/* ------------------------------------------------------------------------ */

extern int sms_dbg;

#define DBG_INFO 1
#define DBG_ADV 2

Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/media/dvb/siano/smsdvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,10 @@ struct smsdvb_client_t {
static struct list_head g_smsdvb_clients;
static struct mutex g_smsdvb_clientslock;

static int sms_dbg;
module_param_named(debug, sms_dbg, int, 0644);
MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");

static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
{
struct smsdvb_client_t *client = (struct smsdvb_client_t *) context;
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/media/dvb/siano/smsusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@
#include "smscoreapi.h"
#include "sms-cards.h"

static int sms_dbg;
module_param_named(debug, sms_dbg, int, 0644);
MODULE_PARM_DESC(debug, "set debug level (info=1, adv=2 (or-able))");

#define USB1_BUFFER_SIZE 0x1000
#define USB2_BUFFER_SIZE 0x4000

Expand Down

0 comments on commit da0cde3

Please sign in to comment.