1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/x11/nvidia-driver/files/6113-patch-src::nvidia_pci.c
Alexey Dokuchaev 5ff603dbf2 Long anticipated update to version 1.0-7174, the latest from nVidia.
Release Highlights:

    * Supports FreeBSD 5-STABLE (5.3-RELEASE or later).  For FreeBSD 4.x
      and 5.2.1 users we stick to previous version (6113), since 7174 does
      not play nicely with legacy FreeBSD releases
    * Added support for the latest NVIDIA GPUs, including the GeForce 6600
      and 6200 with TurboCache(TM)
    * Added support for the KSE threading libraries

Prodded by:	many
Tested by:	several
Tested on:	FreeBSD 4.11 and 5.3
2005-05-11 08:52:37 +00:00

13 lines
352 B
C

--- src/nvidia_pci.c.orig Mon Aug 16 17:40:56 2004
+++ src/nvidia_pci.c Mon Aug 16 17:41:20 2004
@@ -218,6 +218,9 @@
};
DRIVER_MODULE(nvidia, pci, nvidia_pci_driver, nvidia_devclass, nvidia_modevent, 0);
+#if __FreeBSD_version > 502126
+MODULE_DEPEND(nvidia, mem, 1, 1, 1);
+#endif
#ifdef NV_SUPPORT_OS_AGP
MODULE_DEPEND(nvidia, agp, 1, 1, 1);