set_bit(BTN_MIDDLE, psmouse->dev.keybit); set_bit(REL_WHEEL, psmouse->dev.relbit); set_bit(BTN_SIDE, psmouse->dev.keybit); set_bit(BTN_EXTRA, psmouse->dev.keybit); 
set_bit(BTN_MIDDLE, psmouse->dev->keybit); set_bit(REL_WHEEL, psmouse->dev->relbit); set_bit(BTN_SIDE, psmouse->dev->keybit); set_bit(BTN_EXTRA, psmouse->dev->keybit); 
static int im_explorer_detect(struct psmouse *psmouse, int set_properties){	struct ps2dev *ps2dev = &psmouse->ps2dev;	unsigned char param[2];	intellimouse_detect(psmouse, 0);	param[0] = 200;	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);	param[0] = 200;	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);	param[0] =  80;	ps2_command(ps2dev, param, PSMOUSE_CMD_SETRATE);	ps2_command(ps2dev, param, PSMOUSE_CMD_GETID);	if (param[0] != 4)		return -1;	if (set_properties) {		set_bit(BTN_MIDDLE, psmouse->dev.keybit);		set_bit(REL_WHEEL, psmouse->dev.relbit);		set_bit(BTN_SIDE, psmouse->dev.keybit);		set_bit(BTN_EXTRA, psmouse->dev.keybit);		if (!psmouse->vendor) psmouse->vendor = "Generic";		if (!psmouse->name) psmouse->name = "Explorer Mouse";		psmouse->pktsize = 4;	}	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2e5b636bb5f8dacbb91d08544e2c41ebcad5dace/psmouse-base.c/buggy/drivers/input/mouse/psmouse-base.c