ports/63294: nvidia-driver port needs updating for -CURRENT
David Gilbert
dgilbert at daveg.ca
Tue Feb 24 04:00:37 UTC 2004
>Number: 63294
>Category: ports
>Synopsis: nvidia-driver port needs updating for -CURRENT
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 23 20:00:36 PST 2004
>Closed-Date:
>Last-Modified:
>Originator: David Gilbert
>Release: FreeBSD 5.2-CURRENT i386
>Organization:
DaveG.ca
>Environment:
System: FreeBSD canoe.dclg.ca 5.2-CURRENT FreeBSD 5.2-CURRENT #1: Mon Feb 23 19:57:40 EST 2004 dgilbert at canoe.dclg.ca:/usr/obj/usr/src/sys/CANOE i386
-CURRENT after 20040222 comment in UPDATING
>Description:
since the cdevsw has changed, nvidia's two cdevsw's have to change, too
>How-To-Repeat:
Try to install/load/run nvidia-driver's .ko in -CURRENT
>Fix:
This is pretty basic. Meant only for people with this problem.
Someone with more knowledge needs to find the right ifdef to put
around these lines.
Basically, everything seems to work if you
--- /usr/home/dgilbert/nvidia_dev.c Mon Feb 23 17:16:17 2004
+++ ./nvidia_dev.c Wed May 28 12:51:52 2003
@@ -46,8 +46,7 @@
.d_mmap = nvidia_dev_mmap,
.d_name = "nvidia",
.d_maj = CDEV_MAJOR,
- .d_flags = D_MEM|D_TRACKCLOSE|D_NEEDGIANT,
- .d_version = D_VERSION
+ .d_flags = D_MEM|D_TRACKCLOSE
#endif
};
--- /usr/home/dgilbert/nvidia_ctl.c Mon Feb 23 17:23:44 2004
+++ ./nvidia_ctl.c Wed May 28 12:51:52 2003
@@ -44,8 +44,7 @@
.d_poll = nvidia_ctl_poll,
.d_name = "nvidiactl",
.d_maj = CDEV_MAJOR,
- .d_flags = D_TRACKCLOSE|D_NEEDGIANT,
- .d_version = D_VERSION
+ .d_flags = D_TRACKCLOSE
#endif
};
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list