Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2018 17:24:28 +0000 (UTC)
From:      =?UTF-8?Q?Jean-S=c3=a9bastien_P=c3=a9dron?= <dumbbell@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r328484 - stable/11/sys/dev/atkbdc
Message-ID:  <201801271724.w0RHOSmc012543@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dumbbell
Date: Sat Jan 27 17:24:27 2018
New Revision: 328484
URL: https://svnweb.freebsd.org/changeset/base/328484

Log:
  psm: Log syncmask[1], not syncmask[0] twice
  
  MFC of:		r328208

Modified:
  stable/11/sys/dev/atkbdc/psm.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/atkbdc/psm.c
==============================================================================
--- stable/11/sys/dev/atkbdc/psm.c	Sat Jan 27 16:56:54 2018	(r328483)
+++ stable/11/sys/dev/atkbdc/psm.c	Sat Jan 27 17:24:27 2018	(r328484)
@@ -2978,7 +2978,7 @@ psmintr(void *arg)
 			sc->flags &= ~PSM_NEED_SYNCBITS;
 			VLOG(2, (LOG_DEBUG,
 			    "psmintr: Sync bytes now %04x,%04x\n",
-			    sc->mode.syncmask[0], sc->mode.syncmask[0]));
+			    sc->mode.syncmask[0], sc->mode.syncmask[1]));
 		} else if ((sc->config & PSM_CONFIG_NOCHECKSYNC) == 0 &&
 		    (c & sc->mode.syncmask[0]) != sc->mode.syncmask[1]) {
 			VLOG(3, (LOG_DEBUG, "psmintr: out of sync "



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