Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jan 2019 17:23:09 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r342888 - head/sys/dev/drm2/radeon
Message-ID:  <201901091723.x09HN91W067662@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Wed Jan  9 17:23:08 2019
New Revision: 342888
URL: https://svnweb.freebsd.org/changeset/base/342888

Log:
  Complete the removal of obsolete ioctl handlers.
  
  PR:		234706
  Reviewed by:	imp
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation
  Differential Revision:	https://reviews.freebsd.org/D18778

Modified:
  head/sys/dev/drm2/radeon/radeon_drv.c
  head/sys/dev/drm2/radeon/radeon_drv.h

Modified: head/sys/dev/drm2/radeon/radeon_drv.c
==============================================================================
--- head/sys/dev/drm2/radeon/radeon_drv.c	Wed Jan  9 16:47:16 2019	(r342887)
+++ head/sys/dev/drm2/radeon/radeon_drv.c	Wed Jan  9 17:23:08 2019	(r342888)
@@ -329,10 +329,6 @@ radeon_attach(device_t kdev)
 	if (radeon_modeset == 1) {
 		kms_driver.driver_features |= DRIVER_MODESET;
 		kms_driver.num_ioctls = radeon_max_kms_ioctl;
-#ifdef COMPAT_FREEBSD32
-		kms_driver.compat_ioctls = radeon_compat_ioctls;
-		kms_driver.num_compat_ioctls = &radeon_num_compat_ioctls;
-#endif
 		radeon_register_atpx_handler();
 	}
 	return (-drm_attach_helper(kdev, pciidlist, &kms_driver));

Modified: head/sys/dev/drm2/radeon/radeon_drv.h
==============================================================================
--- head/sys/dev/drm2/radeon/radeon_drv.h	Wed Jan  9 16:47:16 2019	(r342887)
+++ head/sys/dev/drm2/radeon/radeon_drv.h	Wed Jan  9 17:23:08 2019	(r342888)
@@ -328,10 +328,6 @@ typedef struct drm_radeon_kcmd_buffer {
 extern int radeon_no_wb;
 extern struct drm_ioctl_desc radeon_ioctls[];
 extern int radeon_max_ioctl;
-#ifdef COMPAT_FREEBSD32
-extern struct drm_ioctl_desc radeon_compat_ioctls[];
-extern int radeon_num_compat_ioctls;
-#endif
 
 extern u32 radeon_get_ring_head(drm_radeon_private_t *dev_priv);
 extern void radeon_set_ring_head(drm_radeon_private_t *dev_priv, u32 val);



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