FreeBSD Bugzilla – Attachment 166235 Details for
Bug 206711
Export linux_ioctl_{,un}register_handler from linux64 for x11/nvidia-driver
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
[workaround] nvidia linux_ioctl global handler (for both linux and linux64)
nvidia_linux64.diff (text/plain), 1.52 KB, created by
Jan Beich
on 2016-01-28 13:54:28 UTC
(
hide
)
Description:
[workaround] nvidia linux_ioctl global handler (for both linux and linux64)
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2016-01-28 13:54:28 UTC
Size:
1.52 KB
patch
obsolete
>Index: sys/compat/linux/linux_ioctl.c >=================================================================== >--- sys/compat/linux/linux_ioctl.c (revision 290270) >+++ sys/compat/linux/linux_ioctl.c (working copy) >@@ -131,6 +131,8 @@ static struct linux_ioctl_handler private_handler > { linux_ioctl_private, LINUX_IOCTL_PRIVATE_MIN, LINUX_IOCTL_PRIVATE_MAX }; > static struct linux_ioctl_handler drm_handler = > { linux_ioctl_drm, LINUX_IOCTL_DRM_MIN, LINUX_IOCTL_DRM_MAX }; >+static struct linux_ioctl_handler nvidia = >+{ linux_ioctl_drm, LINUX_IOCTL_NVIDIA_MIN, LINUX_IOCTL_NVIDIA_MAX }; > static struct linux_ioctl_handler sg_handler = > { linux_ioctl_sg, LINUX_IOCTL_SG_MIN, LINUX_IOCTL_SG_MAX }; > static struct linux_ioctl_handler video_handler = >@@ -150,6 +152,7 @@ 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, drm_handler); >+DATA_SET(linux_ioctl_handler_set, nvidia); > DATA_SET(linux_ioctl_handler_set, sg_handler); > DATA_SET(linux_ioctl_handler_set, video_handler); > DATA_SET(linux_ioctl_handler_set, video2_handler); >Index: sys/compat/linux/linux_ioctl.h >=================================================================== >--- sys/compat/linux/linux_ioctl.h (revision 290270) >+++ sys/compat/linux/linux_ioctl.h (working copy) >@@ -579,6 +579,8 @@ > > #define LINUX_IOCTL_DRM_MIN 0x6400 > #define LINUX_IOCTL_DRM_MAX 0x64ff >+#define LINUX_IOCTL_NVIDIA_MIN 0x4600 >+#define LINUX_IOCTL_NVIDIA_MAX 0x46ff > > /* > * video
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206711
: 166235