FreeBSD Bugzilla – Attachment 40292 Details for
Bug 63326
PORT UPDATE: x11/nvidia-driver catchup after __FreeBSD_version bump of 502103
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.16 KB, created by
Alexey Dokuchaev
on 2004-02-25 02:10:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Alexey Dokuchaev
Created:
2004-02-25 02:10:06 UTC
Size:
1.16 KB
patch
obsolete
>--- src/nv-freebsd.h.orig Wed May 28 23:51:53 2003 >+++ src/nv-freebsd.h Wed Feb 25 07:57:39 2004 >@@ -217,7 +217,9 @@ > } nvidia_softc_t; > > >+#if __FreeBSD_version < 502103 > #define CDEV_MAJOR 180 >+#endif > #define CDEV_CTL_MINOR 255 > > extern devclass_t nvidia_devclass; >%%% patch-src::nvidia_ctl.c %%% >--- src/nvidia_ctl.c.orig Sun Feb 22 13:05:46 2004 >+++ src/nvidia_ctl.c Sun Feb 22 13:07:25 2004 >@@ -43,7 +43,12 @@ > .d_ioctl = nvidia_ctl_ioctl, > .d_poll = nvidia_ctl_poll, > .d_name = "nvidiactl", >+#if __FreeBSD_version < 502103 > .d_maj = CDEV_MAJOR, > .d_flags = D_TRACKCLOSE >+#else >+ .d_version = D_VERSION, >+ .d_flags = D_NEEDGIANT >+#endif > #endif > }; >%%% patch-src::nvidia_dev.c %%% >--- src/nvidia_dev.c.orig Wed May 28 12:51:52 2003 >+++ src/nvidia_dev.c Sun Feb 22 13:36:25 2004 >@@ -45,7 +45,12 @@ > .d_poll = nvidia_dev_poll, > .d_mmap = nvidia_dev_mmap, > .d_name = "nvidia", >+#if __FreeBSD_version < 502103 > .d_maj = CDEV_MAJOR, > .d_flags = D_MEM|D_TRACKCLOSE >+#else >+ .d_version = D_VERSION, >+ .d_flags = D_MEM|D_TRACKCLOSE|D_NEEDGIANT >+#endif > #endif > };
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 63326
: 40292