svn commit: r360132 - head/sys/dev/evdev

Niclas Zeising zeising at FreeBSD.org
Mon Apr 20 18:23:32 UTC 2020


Author: zeising (doc,ports committer)
Date: Mon Apr 20 18:23:31 2020
New Revision: 360132
URL: https://svnweb.freebsd.org/changeset/base/360132

Log:
  Fix kern.evdev.rcpt_mask on powerpc
  
  In r360126, I meant to have a different mask only on powerpc, not powerpc64.
  Update the check to check that we're not compiling for powerpc64.
  
  Reported by:	jhibbits
  Approved by:	wulf (implicit)
  MFC after:	2 weeks
  X-MFC-Note:	12 only
  X-MFC-With:	r360126
  Differential Revision:	D24370 (followup)

Modified:
  head/sys/dev/evdev/evdev.c

Modified: head/sys/dev/evdev/evdev.c
==============================================================================
--- head/sys/dev/evdev/evdev.c	Mon Apr 20 18:01:45 2020	(r360131)
+++ head/sys/dev/evdev/evdev.c	Mon Apr 20 18:23:31 2020	(r360132)
@@ -67,7 +67,7 @@ enum evdev_sparse_result
 MALLOC_DEFINE(M_EVDEV, "evdev", "evdev memory");
 
 /* adb keyboard driver used on powerpc does not support evdev yet */
-#ifdef __powerpc__
+#if defined(__powerpc__) && !defined(__powerpc64__)
 int evdev_rcpt_mask = EVDEV_RCPT_KBDMUX | EVDEV_RCPT_HW_MOUSE;
 #else
 int evdev_rcpt_mask = EVDEV_RCPT_HW_MOUSE | EVDEV_RCPT_HW_KBD;


More information about the svn-src-head mailing list