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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to