[BACK]Return to synaptics.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / dev / pckbport

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/dev/pckbport/synaptics.c between version 1.9 and 1.10

version 1.9, 2005/12/24 20:27:52 version 1.10, 2006/06/07 22:33:37
Line 650  pms_synaptics_input(void *vsc, int data)
Line 650  pms_synaptics_input(void *vsc, int data)
         struct synaptics_softc *sc = &psc->u.synaptics;          struct synaptics_softc *sc = &psc->u.synaptics;
         struct timeval diff;          struct timeval diff;
         struct synaptics_packet sp;          struct synaptics_packet sp;
         int s;  
   
         if (!psc->sc_enabled) {          if (!psc->sc_enabled) {
                 /* Interrupts are not expected.  Discard the byte. */                  /* Interrupts are not expected.  Discard the byte. */
                 return;                  return;
         }          }
   
         s = splclock();          getmicrouptime(&psc->current);
         psc->current = mono_time;  
         splx(s);  
   
         if (psc->inputstate > 0) {          if (psc->inputstate > 0) {
                 timersub(&psc->current, &psc->last, &diff);                  timersub(&psc->current, &psc->last, &diff);

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

CVSweb <webmaster@jp.NetBSD.org>