Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Aug 2004 21:33:33 +0000 (UTC)
From:      "Justin T. Gibbs" <gibbs@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/isa psm.c
Message-ID:  <200408272133.i7RLXXQf076444@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
gibbs       2004-08-27 21:33:33 UTC

  FreeBSD src repository

  Modified files:
    sys/isa              psm.c 
  Log:
  Forced commit to add additional comment.
   o Add MOUSE_PS2_TAP into syncmask[0] correctly when we're built with
     PSM_CONFIG_FORCETAP.  The previous code from revision 1.56 attempted
     to do this but updated the a mask variable that would be clobbered later.
  o  If syncmask[1] hasn't yet been set when ioctl(MOUSE_GETMODE) is called,
     zero syncmask[0] and syncmask[1] so that sync validation is effectively
     disabled in userland applications and moused doesn't misbehave.  The
     psm driver performs sync validation so there is no loss in functionality
     in clearing the sync mask.
  o  If PSM_NEED_SYNCBITS is set, setup syncmask[1], even if it's already
     correct.  This prevents the PSM_NEED_SYNCBITS bit from being left on
     after a re-initialisation and erroneously causing a subsequent
     out-of-sync packet to mis-set syncmask[1].
  
  Revision  Changes    Path
  1.81      +0 -0      src/sys/isa/psm.c



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