summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2006-04-02 13:42:32 +0200
committerHans Verkuil <hverkuil@xs4all.nl>2006-04-02 13:42:32 +0200
commit33ba11f17dbf2c000c797475db2c6b68b7d33662 (patch)
treed824f777557f7afdd6e0ebd8c0742066b30ecf85
parent3b4a71877b2fb7be1919cc2e0b1699e6b30e30a7 (diff)
downloadmediapointer-dvb-s2-33ba11f17dbf2c000c797475db2c6b68b7d33662.tar.gz
mediapointer-dvb-s2-33ba11f17dbf2c000c797475db2c6b68b7d33662.tar.bz2
Delimit LOG_STATUS output with standardized lines
From: Hans Verkuil <hverkuil@xs4all.nl> Add standard lines before/after the LOG_STATUS output: this allows easy reading and parsing from the kernel log with e.g. ivtvctl (to be added to v4l-dvb at a later date). Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index fe7045e8f..56d15c10d 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -673,7 +673,12 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
case VIDIOC_LOG_STATUS:
{
+ int nr = pvr2_hdw_get_unit_number(hdw);
+
+ printk(KERN_INFO "pvrusb2: ================= START STATUS CARD #%d =================\n", nr);
pvr2_hdw_trigger_module_log(hdw);
+ printk(KERN_INFO "pvrusb2: ================== END STATUS CARD #%d ==================\n", nr);
+ ret = 0;
break;
}