printk(KERN_ERR "i2c-elektor: incorrect base address (0x%0X) specified for mmapped I/O.\n", base); 
printk(KERN_ERR "%s: incorrect base address (%#x) specified " "for mmapped I/O\n", pcf_isa_ops.name, base); 
static int __init i2c_pcfisa_init(void) {#ifdef __alpha__	/* check to see we have memory mapped PCF8584 connected to the 	Cypress cy82c693 PCI-ISA bridge as on UP2000 board */	if (base == 0) {		struct pci_dev *cy693_dev;				cy693_dev = pci_get_device(PCI_VENDOR_ID_CONTAQ, 					   PCI_DEVICE_ID_CONTAQ_82C693, NULL);		if (cy693_dev) {			unsigned char config;			/* yeap, we've found cypress, let's check config */			if (!pci_read_config_byte(cy693_dev, 0x47, &config)) {								pr_debug("i2c-elektor: found cy82c693, config register 0x47 = 0x%02x.\n", config);				/* UP2000 board has this register set to 0xe1,                                   but the most significant bit as seems can be 				   reset during the proper initialisation                                   sequence if guys from API decides to do that                                   (so, we can even enable Tsunami Pchip                                   window for the upper 1 Gb) */				/* so just check for ROMCS at 0xe0000,                                   ROMCS enabled for writes				   and external XD Bus buffer in use. */				if ((config & 0x7f) == 0x61) {					/* seems to be UP2000 like board */					base = 0xe0000;					mmapped = 1;                                        /* UP2000 drives ISA with					   8.25 MHz (PCI/4) clock					   (this can be read from cypress) */					clock = I2C_PCF_CLK | I2C_PCF_TRNS90;					printk(KERN_INFO "i2c-elektor: found API UP2000 like board, will probe PCF8584 later.\n");				}			}			pci_dev_put(cy693_dev);		}	}#endif	/* sanity checks for mmapped I/O */	if (mmapped && base < 0xc8000) {		printk(KERN_ERR "i2c-elektor: incorrect base address (0x%0X) specified for mmapped I/O.\n", base);		return -ENODEV;	}	printk(KERN_INFO "i2c-elektor: i2c pcf8584-isa adapter driver\n");	if (base == 0) {		base = DEFAULT_BASE;	}	init_waitqueue_head(&pcf_wait);	if (pcf_isa_init())		return -ENODEV;	if (i2c_pcf_add_bus(&pcf_isa_ops) < 0)		goto fail;		printk(KERN_ERR "i2c-elektor: found device at %#x.\n", base);	return 0; fail:	if (irq > 0) {		disable_irq(irq);		free_irq(irq, NULL);	}	if (!mmapped) {		ioport_unmap(base_iomem);		release_region(base , 2);	} else {		iounmap(base_iomem);		release_mem_region(base, 2);	}	return -ENODEV;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/fe3d6a99782d5345b1927e872d77d1778668094b/i2c-elektor.c/clean/drivers/i2c/busses/i2c-elektor.c