agp_nvidia.c (127815) | agp_nvidia.c (129579) |
---|---|
1/*- 2 * Copyright (c) 2003 Matthew N. Dodd <winter@jurai.net> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (c) 2003 Matthew N. Dodd <winter@jurai.net> 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sys/dev/agp/agp_nvidia.c 127815 2004-04-03 22:55:12Z njl $ | 26 * $FreeBSD: head/sys/dev/agp/agp_nvidia.c 129579 2004-05-22 13:06:38Z mux $ |
27 */ 28 29/* 30 * Written using information gleaned from the 31 * NVIDIA nForce/nForce2 AGPGART Linux Kernel Patch. 32 */ 33 34#include "opt_bus.h" --- 5 unchanged lines hidden (view full) --- 40#include <sys/bus.h> 41#include <sys/lock.h> 42 43#if __FreeBSD_version < 500000 44#include "opt_pci.h" 45#endif 46 47#if __FreeBSD_version > 500000 | 27 */ 28 29/* 30 * Written using information gleaned from the 31 * NVIDIA nForce/nForce2 AGPGART Linux Kernel Patch. 32 */ 33 34#include "opt_bus.h" --- 5 unchanged lines hidden (view full) --- 40#include <sys/bus.h> 41#include <sys/lock.h> 42 43#if __FreeBSD_version < 500000 44#include "opt_pci.h" 45#endif 46 47#if __FreeBSD_version > 500000 |
48#include <sys/lockmgr.h> | |
49#include <sys/mutex.h> 50#include <sys/proc.h> 51#endif 52 53#include <dev/pci/pcivar.h> 54#include <dev/pci/pcireg.h> 55#include <pci/agppriv.h> 56#include <pci/agpreg.h> --- 399 unchanged lines hidden --- | 48#include <sys/mutex.h> 49#include <sys/proc.h> 50#endif 51 52#include <dev/pci/pcivar.h> 53#include <dev/pci/pcireg.h> 54#include <pci/agppriv.h> 55#include <pci/agpreg.h> --- 399 unchanged lines hidden --- |