summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux
diff options
context:
space:
mode:
authornetchild <netchild@FreeBSD.org>2011-05-04 09:52:34 +0000
committernetchild <netchild@FreeBSD.org>2011-05-04 09:52:34 +0000
commit897499f709f1ab9685dcf9f19d1b66b4f3766378 (patch)
treede4ac445a6450be8be1caade646ec42a5bab16b3 /sys/compat/linux
parent0b969d4438acfe4041a96f29acc9a738d0e01342 (diff)
downloadFreeBSD-src-897499f709f1ab9685dcf9f19d1b66b4f3766378.zip
FreeBSD-src-897499f709f1ab9685dcf9f19d1b66b4f3766378.tar.gz
Add FEATURE macros for v4l and v4l2 to the linuxulator.
Suggested by: ae
Diffstat (limited to 'sys/compat/linux')
-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 770969c..5532c93 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;
OpenPOWER on IntegriCloud