/* ps2pp_cmd() sends a PS2++ command, sliced into two bit pieces through the SETRES command. This is needed to send extended commands to mice on notebooks that try to understand the PS/2 protocol Ugly.  */
static int ps2pp_cmd(struct psmouse *psmouse, unsigned char *param, unsigned char command)
/* ps2pp_cmd() sends a PS2++ command, sliced into two bit pieces through the SETRES command. This is needed to send extended commands to mice on notebooks that try to understand the PS/2 protocol Ugly.  */
static int ps2pp_cmd(struct psmouse *psmouse, unsigned char *param, unsigned char command)
{
	if (psmouse_sliced_command(psmouse, command))
		return -1;
	if (ps2_command(&psmouse->ps2dev, param, PSMOUSE_CMD_POLL | 0x0300))
		return -1;
	return 0;
}