summaryrefslogtreecommitdiffstats
path: root/sys/compat/linux/linux_ioctl.h
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2002-09-19 18:56:55 +0000
committermdodd <mdodd@FreeBSD.org>2002-09-19 18:56:55 +0000
commite6b61cc65a3415189321903efbd59dbc346b7fb5 (patch)
treed3bdea9e5c096a1df76fa98db7ed062b6cc4fa95 /sys/compat/linux/linux_ioctl.h
parent50d0cbdd14bc33d20a6c6686e125ea32007f7940 (diff)
downloadFreeBSD-src-e6b61cc65a3415189321903efbd59dbc346b7fb5.zip
FreeBSD-src-e6b61cc65a3415189321903efbd59dbc346b7fb5.tar.gz
This patch extends the FreeBSD Linux compatibility layer to support
NVIDIA API calls; more specifically, it adds an ioctl() handler for the range of possible NVIDIA ioctl numbers. Submitted by: Christian Zander <zander@minion.de>
Diffstat (limited to 'sys/compat/linux/linux_ioctl.h')
-rw-r--r--sys/compat/linux/linux_ioctl.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h
index 0d77e0d..14cfe11 100644
--- a/sys/compat/linux/linux_ioctl.h
+++ b/sys/compat/linux/linux_ioctl.h
@@ -32,6 +32,13 @@
#define _LINUX_IOCTL_H_
/*
+ * NVIDIA driver
+ */
+
+#define LINUX_IOCTL_NVIDIA_MIN 0x4600
+#define LINUX_IOCTL_NVIDIA_MAX 0x46ff
+
+/*
* disk
*/
#define LINUX_BLKROSET 0x125d
OpenPOWER on IntegriCloud