@@ -32,7 +32,7 @@
/* #define ENABLE_DEBUG_ISOC_FRAMES */
-static unsigned int core_debug;
+static unsigned int core_debug = -1;
module_param(core_debug, int, 0644);
MODULE_PARM_DESC(core_debug, "enable debug messages [core]");
@@ -41,7 +41,7 @@
printk(KERN_INFO "%s %s :"fmt, \
dev->name, __func__ , ##arg); } while (0)
-static unsigned int reg_debug;
+static unsigned int reg_debug = -1;
module_param(reg_debug, int, 0644);
MODULE_PARM_DESC(reg_debug, "enable debug messages [URB reg]");
@@ -817,6 +817,12 @@
int em28xx_gpio_set(struct em28xx *dev, struct em28xx_reg_seq *gpio)
{
int rc = 0;
+ int r01, r5d;
+
+ r01 = em28xx_read_reg(dev, 0x01);
+ r5d = em28xx_read_reg(dev, 0x5d);
+ printk(KERN_INFO "%s: r01:0x%x r5d:0x%x\n", __func__, r01, r5d);
+// printk(KERN_INFO "Em28xx: Initialized (%s) extension\n", ops->name);
if (!gpio)
return rc;
@@ -40,7 +40,7 @@
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@infradead.org>");
MODULE_LICENSE("GPL");
-static unsigned int debug;
+static unsigned int debug = 1;
module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "enable debug messages [dvb]");
@@ -48,7 +48,7 @@
#define dprintk(level, fmt, arg...) do { \
if (debug >= level) \
- printk(KERN_DEBUG "%s/2-dvb: " fmt, dev->name, ## arg); \
+ printk(KERN_INFO "%s/2-dvb: " fmt, dev->name, ## arg); \
} while (0)
#define EM28XX_DVB_NUM_BUFS 5