cvs commit: src/sys/isa psm.c

Justin T. Gibbs gibbs at FreeBSD.org
Fri Aug 27 14:33:35 PDT 2004


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


More information about the cvs-src mailing list