Subject: CVS commit: syssrc/sys/arch/arm/iomd
To: None <source-changes@netbsd.org>
From: Ben Harris <bjh21@netbsd.org>
List: source-changes
Date: 06/20/2002 22:33:21
Module Name:	syssrc
Committed By:	bjh21
Date:		Thu Jun 20 19:33:20 UTC 2002

Modified Files:
	syssrc/sys/arch/arm/iomd: wsqms.c

Log Message:
Rather than explicitly masking and sign-extending 16-bit integers, use
u_int16_t and int16_t for the X and Y count registers.  GCC produces better
code this way.

Also, initialise the stored state in wsqms_enable(), so that the mouse doesn't
warp to a random position on open.


To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/arch/arm/iomd/wsqms.c

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