svn commit: r221428 - head/sys/compat/linux

Alexander Leidinger netchild at FreeBSD.org
Wed May 4 09:52:34 UTC 2011


Author: netchild
Date: Wed May  4 09:52:34 2011
New Revision: 221428
URL: http://svn.freebsd.org/changeset/base/221428

Log:
  Add FEATURE macros for v4l and v4l2 to the linuxulator.
  
  Suggested by:	ae

Modified:
  head/sys/compat/linux/linux_ioctl.c

Modified: head/sys/compat/linux/linux_ioctl.c
==============================================================================
--- head/sys/compat/linux/linux_ioctl.c	Wed May  4 09:26:33 2011	(r221427)
+++ head/sys/compat/linux/linux_ioctl.c	Wed May  4 09:52:34 2011	(r221428)
@@ -57,6 +57,7 @@ __FBSDID("$FreeBSD$");
 #include <sys/soundcard.h>
 #include <sys/stdint.h>
 #include <sys/sx.h>
+#include <sys/sysctl.h>
 #include <sys/tty.h>
 #include <sys/uio.h>
 #include <sys/types.h>
@@ -91,6 +92,9 @@ __FBSDID("$FreeBSD$");
 
 CTASSERT(LINUX_IFNAMSIZ == IFNAMSIZ);
 
+FEATURE(linuxulator_v4l, "V4L ioctl wrapper support in the linuxulator");
+FEATURE(linuxulator_v4l2, "V4L2 ioctl wrapper support in the linuxulator");
+
 static linux_ioctl_function_t linux_ioctl_cdrom;
 static linux_ioctl_function_t linux_ioctl_vfat;
 static linux_ioctl_function_t linux_ioctl_console;


More information about the svn-src-head mailing list