static int __init specialix_init(void){	int i;	int found = 0;	func_enter();	printk(KERN_INFO "sx: Specialix IO8+ driver v" VERSION ", (c) R.E.Wolff 1997/1998.\n");	printk(KERN_INFO "sx: derived from work (c) D.Gorodchanin 1994-1996.\n");#ifdef CONFIG_SPECIALIX_RTSCTS	printk (KERN_INFO "sx: DTR/RTS pin is always RTS.\n");#else	printk (KERN_INFO "sx: DTR/RTS pin is RTS when CRTSCTS is on.\n");#endif		for (i = 0; i < SX_NBOARD; i++)		sx_board[i].lock = SPIN_LOCK_UNLOCKED;	if (sx_init_drivers()) {		func_exit();		return -EIO;	}	for (i = 0; i < SX_NBOARD; i++) 		if (sx_board[i].base && !sx_probe(&sx_board[i]))			found++;#ifdef CONFIG_PCI	{		struct pci_dev *pdev = NULL;		i=0;		while (i < SX_NBOARD) {			if (sx_board[i].flags & SX_BOARD_PRESENT) {				i++;				continue;			}			pdev = pci_find_device (PCI_VENDOR_ID_SPECIALIX, 			                        PCI_DEVICE_ID_SPECIALIX_IO8, 			                        pdev);			if (!pdev) break;			if (pci_enable_device(pdev))				continue;			sx_board[i].irq = pdev->irq;			sx_board[i].base = pci_resource_start (pdev, 2);			sx_board[i].flags |= SX_BOARD_IS_PCI;			if (!sx_probe(&sx_board[i]))				found ++;		}	}#endif	if (!found) {		sx_release_drivers();		printk(KERN_INFO "sx: No specialix IO8+ boards detected.\n");		func_exit();		return -EIO;	}	func_exit();	return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d61780c0d384939ef31c46b47442854d5def4623/specialix.c/buggy/drivers/char/specialix.c