printk(KERN_INFO "input: Logitech bus mouse at %#x irq %d\n", LOGIBM_BASE, logibm_irq); 
logibm_dev->name = "Logitech bus mouse"; logibm_dev->phys = "isa023c/input0"; logibm_dev->id.bustype = BUS_ISA; logibm_dev->id.vendor  = 0x0003; logibm_dev->id.product = 0x0001; logibm_dev->id.version = 0x0100;  logibm_dev->evbit[0] = BIT(EV_KEY) | BIT(EV_REL); logibm_dev->keybit[LONG(BTN_LEFT)] = BIT(BTN_LEFT) | BIT(BTN_MIDDLE) | BIT(BTN_RIGHT); logibm_dev->relbit[0] = BIT(REL_X) | BIT(REL_Y);  logibm_dev->open  = logibm_open; logibm_dev->close = logibm_close;  input_register_device(logibm_dev); 
static int __init logibm_init(void){	if (!request_region(LOGIBM_BASE, LOGIBM_EXTENT, "logibm")) {		printk(KERN_ERR "logibm.c: Can't allocate ports at %#x\n", LOGIBM_BASE);		return -EBUSY;	}	outb(LOGIBM_CONFIG_BYTE, LOGIBM_CONFIG_PORT);	outb(LOGIBM_SIGNATURE_BYTE, LOGIBM_SIGNATURE_PORT);	udelay(100);	if (inb(LOGIBM_SIGNATURE_PORT) != LOGIBM_SIGNATURE_BYTE) {		release_region(LOGIBM_BASE, LOGIBM_EXTENT);		printk(KERN_ERR "logibm.c: Didn't find Logitech busmouse at %#x\n", LOGIBM_BASE);		return -ENODEV;	}	outb(LOGIBM_DEFAULT_MODE, LOGIBM_CONFIG_PORT);	outb(LOGIBM_DISABLE_IRQ, LOGIBM_CONTROL_PORT);	input_register_device(&logibm_dev);	printk(KERN_INFO "input: Logitech bus mouse at %#x irq %d\n", LOGIBM_BASE, logibm_irq);	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/2e5b636bb5f8dacbb91d08544e2c41ebcad5dace/logibm.c/buggy/drivers/input/mouse/logibm.c