Handle variable length return of ps2 port GETID command.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 14 Mar 2010 00:59:24 +0000 (19:59 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 14 Mar 2010 00:59:24 +0000 (19:59 -0500)
commitb9ed5e2ac699982f5cd446d68c8b48732d2d4875
tree14041cc9043e0918a2709002a4c9edf46c0b5fa5
parent67a9eeccea205a163cb5633bdbb218461f189004
Handle variable length return of ps2 port GETID command.

Sometimes GETID returns two bytes, and sometimes one byte.  Handle
that properly.

This fixes a failure with an msdos mouse driver.
src/ps2port.c