aboutsummaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_ioctl.c
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2011-05-04 09:52:34 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2011-05-04 09:52:34 +0000
commit60c6d23685542705e6c646e7fe139eb094573e79 (patch)
treede4ac445a6450be8be1caade646ec42a5bab16b3 /sys/compat/linux/linux_ioctl.c
parent5a04ce2fdfb0f4d1105ccbca8ef7032f6a24f6c8 (diff)
downloadsrc-60c6d23685542705e6c646e7fe139eb094573e79.tar.gz
src-60c6d23685542705e6c646e7fe139eb094573e79.zip
Add FEATURE macros for v4l and v4l2 to the linuxulator.
Suggested by: ae
Notes
Notes: svn path=/head/; revision=221428
Diffstat (limited to 'sys/compat/linux/linux_ioctl.c')
-rw-r--r--sys/compat/linux/linux_ioctl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index 770969c8f7a0..5532c931fb39 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -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;