if (i8042_command(&param, I8042_CMD_AUX_LOOP) || param != 0xa5) { 
if (i8042_command(&param, I8042_CMD_AUX_LOOP) || param != 0x5a) { 
static int __init i8042_check_aux(void){	unsigned char param;	static int i8042_check_aux_cookie;/* * Check if AUX irq is available. If it isn't, then there is no point * in trying to detect AUX presence. */	if (request_irq(i8042_ports[I8042_AUX_PORT_NO].irq, i8042_interrupt,			SA_SHIRQ, "i8042", &i8042_check_aux_cookie))                return -1;	free_irq(i8042_ports[I8042_AUX_PORT_NO].irq, &i8042_check_aux_cookie);/* * Get rid of bytes in the queue. */	i8042_flush();/* * Internal loopback test - filters out AT-type i8042's. Unfortunately * SiS screwed up and their 5597 doesn't support the LOOP command even * though it has an AUX port. */	param = 0x5a;	if (i8042_command(&param, I8042_CMD_AUX_LOOP) || param != 0xa5) {/* * External connection test - filters out AT-soldered PS/2 i8042's * 0x00 - no error, 0x01-0x03 - clock/data stuck, 0xff - general error * 0xfa - no error on some notebooks which ignore the spec * Because it's common for chipsets to return error on perfectly functioning * AUX ports, we test for this only when the LOOP command failed. */		if (i8042_command(&param, I8042_CMD_AUX_TEST)		    	|| (param && param != 0xfa && param != 0xff))				return -1;	}/* * Bit assignment test - filters out PS/2 i8042's in AT mode */	if (i8042_command(&param, I8042_CMD_AUX_DISABLE))		return -1;	if (i8042_command(&param, I8042_CMD_CTL_RCTR) || (~param & I8042_CTR_AUXDIS)) {		printk(KERN_WARNING "Failed to disable AUX port, but continuing anyway... Is this a SiS?\n");		printk(KERN_WARNING "If AUX port is really absent please use the 'i8042.noaux' option.\n");	}	if (i8042_command(&param, I8042_CMD_AUX_ENABLE))		return -1;	if (i8042_command(&param, I8042_CMD_CTL_RCTR) || (param & I8042_CTR_AUXDIS))		return -1;/* * Disable the interface. */	i8042_ctr |= I8042_CTR_AUXDIS;	i8042_ctr &= ~I8042_CTR_AUXINT;	if (i8042_command(&i8042_ctr, I8042_CMD_CTL_WCTR))		return -1;	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/463a4f76a79bce00ca8964e0b2ebf7f10f376965/i8042.c/buggy/drivers/input/serio/i8042.c