Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2020 19:39:52 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r358353 - head/sys/dev/agp
Message-ID:  <202002261939.01QJdq3v064787@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Wed Feb 26 19:39:52 2020
New Revision: 358353
URL: https://svnweb.freebsd.org/changeset/base/358353

Log:
  Remove support for FreeBSD 4.x and earlier from agp driver
  
  Compile tested only, but do we still need this driver?

Modified:
  head/sys/dev/agp/agp_nvidia.c

Modified: head/sys/dev/agp/agp_nvidia.c
==============================================================================
--- head/sys/dev/agp/agp_nvidia.c	Wed Feb 26 19:16:23 2020	(r358352)
+++ head/sys/dev/agp/agp_nvidia.c	Wed Feb 26 19:39:52 2020	(r358353)
@@ -41,15 +41,8 @@ __FBSDID("$FreeBSD$");
 #include <sys/module.h>
 #include <sys/bus.h>
 #include <sys/lock.h>
-
-#if __FreeBSD_version < 500000
-#include "opt_pci.h"
-#endif
-
-#if __FreeBSD_version > 500000
 #include <sys/mutex.h>
 #include <sys/proc.h>
-#endif
 
 #include <dev/agp/agppriv.h>
 #include <dev/agp/agpreg.h>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002261939.01QJdq3v064787>