gpio_init_port_g(); printk(KERN_INFO "ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002 Axis Communications AB\n"); 
/* The I/O interface allocation watcher will be called when * registering it. */ if (cris_io_interface_register_watcher(ioif_watcher)){ printk(KERN_WARNING "gpio_init: Failed to install IO if allocator watcher\n"); }  printk(KERN_INFO "ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002, 2003, 2004 Axis Communications AB\n"); 
gpio_init(void){	int res;#if defined (CONFIG_ETRAX_CSP0_LEDS)	int i;#endif	/* do the formalities */	res = register_chrdev(GPIO_MAJOR, gpio_name, &gpio_fops);	if (res < 0) {		printk(KERN_ERR "gpio: couldn't get a major number.\n");		return res;	}	/* Clear all leds */#if defined (CONFIG_ETRAX_CSP0_LEDS) ||  defined (CONFIG_ETRAX_PA_LEDS) || defined (CONFIG_ETRAX_PB_LEDS)	LED_NETWORK_SET(0);	LED_ACTIVE_SET(0);	LED_DISK_READ(0);	LED_DISK_WRITE(0);#if defined (CONFIG_ETRAX_CSP0_LEDS)	for (i = 0; i < 32; i++) {		LED_BIT_SET(i);	}#endif#endif	gpio_init_port_g();	printk(KERN_INFO "ETRAX 100LX GPIO driver v2.5, (c) 2001, 2002 Axis Communications AB\n");	/* We call etrax_gpio_wake_up_check() from timer interrupt and	 * from cpu_idle() in kernel/process.c	 * The check in cpu_idle() reduces latency from ~15 ms to ~6 ms	 * in some tests.	 */  	if (request_irq(TIMER0_IRQ_NBR, gpio_poll_timer_interrupt,			SA_SHIRQ | SA_INTERRUPT,"gpio poll", NULL)) {		printk(KERN_CRIT "err: timer0 irq for gpio\n");	}	if (request_irq(PA_IRQ_NBR, gpio_pa_interrupt,			SA_SHIRQ | SA_INTERRUPT,"gpio PA", NULL)) {		printk(KERN_CRIT "err: PA irq for gpio\n");	}		return res;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/7e9204265b4ec6680fad9abc7a78b94087983916/gpio.c/buggy/arch/cris/arch-v10/drivers/gpio.c