svn commit: r342969 - in stable: 11/sys/dev/drm2/radeon 12/sys/dev/drm2/radeon

Mark Johnston markj at FreeBSD.org
Sat Jan 12 16:58:33 UTC 2019


Author: markj
Date: Sat Jan 12 16:58:32 2019
New Revision: 342969
URL: https://svnweb.freebsd.org/changeset/base/342969

Log:
  MFC r342888:
  Complete the removal of obsolete ioctl handlers.
  
  PR:	234706

Modified:
  stable/11/sys/dev/drm2/radeon/radeon_drv.c
  stable/11/sys/dev/drm2/radeon/radeon_drv.h
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/sys/dev/drm2/radeon/radeon_drv.c
  stable/12/sys/dev/drm2/radeon/radeon_drv.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/sys/dev/drm2/radeon/radeon_drv.c
==============================================================================
--- stable/11/sys/dev/drm2/radeon/radeon_drv.c	Sat Jan 12 15:30:25 2019	(r342968)
+++ stable/11/sys/dev/drm2/radeon/radeon_drv.c	Sat Jan 12 16:58:32 2019	(r342969)
@@ -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: stable/11/sys/dev/drm2/radeon/radeon_drv.h
==============================================================================
--- stable/11/sys/dev/drm2/radeon/radeon_drv.h	Sat Jan 12 15:30:25 2019	(r342968)
+++ stable/11/sys/dev/drm2/radeon/radeon_drv.h	Sat Jan 12 16:58:32 2019	(r342969)
@@ -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);


More information about the svn-src-all mailing list