summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2002-09-20 19:19:58 +0000
committermdodd <mdodd@FreeBSD.org>2002-09-20 19:19:58 +0000
commit557fe83a6250afb6a265e7419a64f9784da04c78 (patch)
treec08304cd07429b55df399127f1a52f163ebd8468 /sys/compat
parent8c280ed0fd54a66eb6f2274e013725c8b75334a7 (diff)
downloadFreeBSD-src-557fe83a6250afb6a265e7419a64f9784da04c78.zip
FreeBSD-src-557fe83a6250afb6a265e7419a64f9784da04c78.tar.gz
Remove NVIDIA ioctl bits. They will be provided in a kernel module.
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_ioctl.c22
-rw-r--r--sys/compat/linux/linux_ioctl.h7
2 files changed, 0 insertions, 29 deletions
diff --git a/sys/compat/linux/linux_ioctl.c b/sys/compat/linux/linux_ioctl.c
index f19a2da..8ddd139 100644
--- a/sys/compat/linux/linux_ioctl.c
+++ b/sys/compat/linux/linux_ioctl.c
@@ -68,7 +68,6 @@ static linux_ioctl_function_t linux_ioctl_sound;
static linux_ioctl_function_t linux_ioctl_termio;
static linux_ioctl_function_t linux_ioctl_private;
static linux_ioctl_function_t linux_ioctl_special;
-static linux_ioctl_function_t linux_ioctl_nvidia;
static struct linux_ioctl_handler cdrom_handler =
{ linux_ioctl_cdrom, LINUX_IOCTL_CDROM_MIN, LINUX_IOCTL_CDROM_MAX };
@@ -84,9 +83,6 @@ static struct linux_ioctl_handler termio_handler =
{ linux_ioctl_termio, LINUX_IOCTL_TERMIO_MIN, LINUX_IOCTL_TERMIO_MAX };
static struct linux_ioctl_handler private_handler =
{ linux_ioctl_private, LINUX_IOCTL_PRIVATE_MIN, LINUX_IOCTL_PRIVATE_MAX };
-static struct linux_ioctl_handler nvidia_handler =
-{ linux_ioctl_nvidia, LINUX_IOCTL_NVIDIA_MIN, LINUX_IOCTL_NVIDIA_MAX };
-
DATA_SET(linux_ioctl_handler_set, cdrom_handler);
DATA_SET(linux_ioctl_handler_set, console_handler);
@@ -95,7 +91,6 @@ DATA_SET(linux_ioctl_handler_set, socket_handler);
DATA_SET(linux_ioctl_handler_set, sound_handler);
DATA_SET(linux_ioctl_handler_set, termio_handler);
DATA_SET(linux_ioctl_handler_set, private_handler);
-DATA_SET(linux_ioctl_handler_set, nvidia_handler);
struct handler_element
{
@@ -132,23 +127,6 @@ linux_ioctl_disk(struct thread *td, struct linux_ioctl_args *args)
}
/*
- * NVIDIA driver
- */
-
-static int
-linux_ioctl_nvidia(struct thread *td, struct linux_ioctl_args *args)
-{
- /*
- * The range has already been checked, and the native NVIDIA ioctl()
- * implementation will throw out any commands it does not recognize.
- * There is no good reason why we should manually translate each and
- * every one of the possible NVIDIA ioctl() commands.
- */
-
- return (ioctl(td, (struct ioctl_args *) args));
-}
-
-/*
* termio related ioctls
*/
diff --git a/sys/compat/linux/linux_ioctl.h b/sys/compat/linux/linux_ioctl.h
index 14cfe11..0d77e0d 100644
--- a/sys/compat/linux/linux_ioctl.h
+++ b/sys/compat/linux/linux_ioctl.h
@@ -32,13 +32,6 @@
#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