V4L/DVB (5992): ivtv: show card name as well in the LOG_STATUS output.
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 4 Aug 2007 07:56:00 +0000 (04:56 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:04:49 +0000 (22:04 -0300)
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-ioctl.c

index dfe0aedc60fd0ba1a8862d966e9674e273ce4b6b..85e6a34d5e90a0f820b670f9ef7ece7354913648 100644 (file)
@@ -1209,6 +1209,7 @@ int ivtv_v4l2_ioctls(struct ivtv *itv, struct file *filp, unsigned int cmd, void
                int i;
 
                IVTV_INFO("=================  START STATUS CARD #%d  =================\n", itv->num);
+               IVTV_INFO("Version: %s Card: %s\n", IVTV_VERSION, itv->card_name);
                if (itv->hw_flags & IVTV_HW_TVEEPROM) {
                        struct tveeprom tv;
 
@@ -1242,7 +1243,7 @@ int ivtv_v4l2_ioctls(struct ivtv *itv, struct file *filp, unsigned int cmd, void
                IVTV_INFO("Tuner: %s\n",
                        test_bit(IVTV_F_I_RADIO_USER, &itv->i_flags) ? "Radio" : "TV");
                cx2341x_log_status(&itv->params, itv->name);
-               IVTV_INFO("Version: %s Status flags: 0x%08lx\n", IVTV_VERSION, itv->i_flags);
+               IVTV_INFO("Status flags: 0x%08lx\n", itv->i_flags);
                for (i = 0; i < IVTV_MAX_STREAMS; i++) {
                        struct ivtv_stream *s = &itv->streams[i];