@@ -521,6 +521,12 @@
#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)
dvb_class->devnode = dvb_devnode;
#endif
+#ifdef EXPERIMENTAL_TREE
+ printk(KERN_ERR "WARNING: You're using an experimental version of the DVB stack. As the driver\n"
+ " is backported to an older kernel, it doesn't offer enough quality for\n"
+ " its usage in production.\n"
+ " Use it with care.\n");
+#endif
return 0;
error:
@@ -686,6 +686,12 @@
int ret;
printk(KERN_INFO "Linux video capture interface: v2.00\n");
+#ifdef EXPERIMENTAL_TREE
+ printk(KERN_ERR "WARNING: You're using an experimental version of the V4L stack. As the driver\n"
+ " is backported to an older kernel, it doesn't offer enough quality for\n"
+ " its usage in production.\n"
+ " Use it with care.\n");
+#endif
ret = register_chrdev_region(dev, VIDEO_NUM_DEVICES, VIDEO_NAME);
if (ret < 0) {
printk(KERN_WARNING "videodev: unable to get major %d\n",
@@ -14,6 +14,8 @@
#define INIT_DELAYED_WORK(a,b,c) INIT_WORK(a,b,c)
#endif
+#define EXPERIMENTAL_TREE
+
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 35)
#define usb_buffer_alloc(dev, size, mem_flags, dma) usb_alloc_coherent(dev, size, mem_flags, dma)
#define usb_buffer_free(dev, size, addr, dma) usb_free_coherent(dev, size, addr, dma)
@@ -671,4 +671,13 @@
EOF2
}
+print << "EOF3";
+WARNING: This is the V4L/DVB backport tree, with experimental drivers
+ backported to run on legacy kernels from the development tree at:
+ http://git.linuxtv.org/media-tree.git.
+ It is generally safe to use it for testing a new driver or
+ feature, but its usage on production environments is risky.
+ Don't use it at production. You've being warned.
+EOF3
+ sleep 5;
}