Commit e28f49b0 authored by Dmitri Belimov's avatar Dmitri Belimov Committed by Mauro Carvalho Chehab

V4L/DVB: tm6000: fix some info messages

Fix some messages for add information about TM6010
Signed-off-by: default avatarBeholder Intl. Ltd. Dmitry Belimov <d.belimov@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 685b1229
/* /*
* *
* Support for audio capture for tm5600/6000 * Support for audio capture for tm5600/6000/6010
* (c) 2007-2008 Mauro Carvalho Chehab <mchehab@redhat.com> * (c) 2007-2008 Mauro Carvalho Chehab <mchehab@redhat.com>
* *
* Based on cx88-alsa.c * Based on cx88-alsa.c
...@@ -76,11 +76,12 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s)."); ...@@ -76,11 +76,12 @@ MODULE_PARM_DESC(index, "Index value for tm6000x capture interface(s).");
Module macros Module macros
****************************************************************************/ ****************************************************************************/
MODULE_DESCRIPTION("ALSA driver module for tm5600/tm6000 based TV cards"); MODULE_DESCRIPTION("ALSA driver module for tm5600/tm6000/tm6010 based TV cards");
MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>"); MODULE_AUTHOR("Mauro Carvalho Chehab <mchehab@redhat.com>");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
MODULE_SUPPORTED_DEVICE("{{Trident,tm5600}," MODULE_SUPPORTED_DEVICE("{{Trident,tm5600},"
"{{Trident,tm6000}"); "{{Trident,tm6000},"
"{{Trident,tm6010}");
static unsigned int debug; static unsigned int debug;
module_param(debug, int, 0644); module_param(debug, int, 0644);
MODULE_PARM_DESC(debug, "enable debug messages"); MODULE_PARM_DESC(debug, "enable debug messages");
......
/* /*
tm6000-cards.c - driver for TM5600/TM6000 USB video capture devices tm6000-cards.c - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
...@@ -795,6 +795,6 @@ static void __exit tm6000_module_exit(void) ...@@ -795,6 +795,6 @@ static void __exit tm6000_module_exit(void)
module_init(tm6000_module_init); module_init(tm6000_module_init);
module_exit(tm6000_module_exit); module_exit(tm6000_module_exit);
MODULE_DESCRIPTION("Trident TVMaster TM5600/TM6000 USB2 adapter"); MODULE_DESCRIPTION("Trident TVMaster TM5600/TM6000/TM6010 USB2 adapter");
MODULE_AUTHOR("Mauro Carvalho Chehab"); MODULE_AUTHOR("Mauro Carvalho Chehab");
MODULE_LICENSE("GPL"); MODULE_LICENSE("GPL");
/* /*
tm6000-core.c - driver for TM5600/TM6000 USB video capture devices tm6000-core.c - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
......
/* /*
tm6000-dvb.c - dvb-t support for TM5600/TM6000 USB video capture devices tm6000-dvb.c - dvb-t support for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com>
......
/* /*
tm6000-i2c.c - driver for TM5600/TM6000 USB video capture devices tm6000-i2c.c - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
......
/* /*
tm6000-regs.h - driver for TM5600/TM6000 USB video capture devices tm6000-regs.h - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
*/ */
/* /*
* Define TV Master TM5600/TM6000 Request codes * Define TV Master TM5600/TM6000/TM6010 Request codes
*/ */
#define REQ_00_SET_IR_VALUE 0 #define REQ_00_SET_IR_VALUE 0
#define REQ_01_SET_WAKEUP_IRCODE 1 #define REQ_01_SET_WAKEUP_IRCODE 1
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
/* Read : Slave Addr, register, 2, data */ /* Read : Slave Addr, register, 2, data */
/* /*
* Define TV Master TM5600/TM6000 GPIO lines * Define TV Master TM5600/TM6000/TM6010 GPIO lines
*/ */
#define TM6000_GPIO_CLK 0x101 #define TM6000_GPIO_CLK 0x101
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
#define TM6010_GPIO_7 0x0301 #define TM6010_GPIO_7 0x0301
#define TM6010_GPIO_9 0x0305 #define TM6010_GPIO_9 0x0305
/* /*
* Define TV Master TM5600/TM6000 URB message codes and length * Define TV Master TM5600/TM6000/TM6010 URB message codes and length
*/ */
enum { enum {
......
/* /*
tm6000-stds.c - driver for TM5600/TM6000 USB video capture devices tm6000-stds.c - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2007 Mauro Carvalho Chehab <mchehab@redhat.com> Copyright (C) 2007 Mauro Carvalho Chehab <mchehab@redhat.com>
......
/* /*
tm6000-buf.c - driver for TM5600/TM6000 USB video capture devices tm6000-buf.c - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
......
/* /*
tm6000-video.c - driver for TM5600/TM6000 USB video capture devices tm6000-video.c - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
...@@ -894,7 +894,7 @@ static int vidioc_querycap (struct file *file, void *priv, ...@@ -894,7 +894,7 @@ static int vidioc_querycap (struct file *file, void *priv,
// struct tm6000_core *dev = ((struct tm6000_fh *)priv)->dev; // struct tm6000_core *dev = ((struct tm6000_fh *)priv)->dev;
strlcpy(cap->driver, "tm6000", sizeof(cap->driver)); strlcpy(cap->driver, "tm6000", sizeof(cap->driver));
strlcpy(cap->card,"Trident TVMaster TM5600/6000", sizeof(cap->card)); strlcpy(cap->card,"Trident TVMaster TM5600/6000/6010", sizeof(cap->card));
// strlcpy(cap->bus_info, dev->udev->dev.bus_id, sizeof(cap->bus_info)); // strlcpy(cap->bus_info, dev->udev->dev.bus_id, sizeof(cap->bus_info));
cap->version = TM6000_VERSION; cap->version = TM6000_VERSION;
cap->capabilities = V4L2_CAP_VIDEO_CAPTURE | cap->capabilities = V4L2_CAP_VIDEO_CAPTURE |
...@@ -1537,7 +1537,7 @@ int tm6000_v4l2_register(struct tm6000_core *dev) ...@@ -1537,7 +1537,7 @@ int tm6000_v4l2_register(struct tm6000_core *dev)
vfd->v4l2_dev = &dev->v4l2_dev; vfd->v4l2_dev = &dev->v4l2_dev;
ret = video_register_device(dev->vfd, VFL_TYPE_GRABBER, video_nr); ret = video_register_device(dev->vfd, VFL_TYPE_GRABBER, video_nr);
printk(KERN_INFO "Trident TVMaster TM5600/TM6000 USB2 board (Load status: %d)\n", ret); printk(KERN_INFO "Trident TVMaster TM5600/TM6000/TM6010 USB2 board (Load status: %d)\n", ret);
return ret; return ret;
} }
......
/* /*
tm6000.h - driver for TM5600/TM6000 USB video capture devices tm6000.h - driver for TM5600/TM6000/TM6010 USB video capture devices
Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org> Copyright (C) 2006-2007 Mauro Carvalho Chehab <mchehab@infradead.org>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment