name, dev->hpa); 
name, dev->hpa.start); 
static int __devinit eisa_probe(struct parisc_device *dev){	int i, result;	char *name = is_mongoose(dev) ? "Mongoose" : "Wax";	printk(KERN_INFO "%s EISA Adapter found at 0x%08lx\n", 		name, dev->hpa);	eisa_dev.hba.dev = dev;	eisa_dev.hba.iommu = ccio_get_iommu(dev);	eisa_dev.hba.lmmio_space.name = "EISA";	eisa_dev.hba.lmmio_space.start = F_EXTEND(0xfc000000);	eisa_dev.hba.lmmio_space.end = F_EXTEND(0xffbfffff);	eisa_dev.hba.lmmio_space.flags = IORESOURCE_MEM;	result = ccio_request_resource(dev, &eisa_dev.hba.lmmio_space);	if (result < 0) {		printk(KERN_ERR "EISA: failed to claim EISA Bus address space!\n");		return result;	}	eisa_dev.hba.io_space.name = "EISA";	eisa_dev.hba.io_space.start = 0;	eisa_dev.hba.io_space.end = 0xffff;	eisa_dev.hba.lmmio_space.flags = IORESOURCE_IO;	result = request_resource(&ioport_resource, &eisa_dev.hba.io_space);	if (result < 0) {		printk(KERN_ERR "EISA: failed to claim EISA Bus port space!\n");		return result;	}	pcibios_register_hba(&eisa_dev.hba);	result = request_irq(dev->irq, eisa_irq, SA_SHIRQ, "EISA", &eisa_dev);	if (result) {		printk(KERN_ERR "EISA: request_irq failed!\n");		return result;	}		/* Reserve IRQ2 */	irq_desc[2].action = &irq2_action;		for (i = 0; i < 16; i++) {		irq_desc[i].handler = &eisa_interrupt_type;	}		EISA_bus = 1;	if (dev->num_addrs) {		/* newer firmware hand out the eeprom address */		eisa_dev.eeprom_addr = dev->addr[0];	} else {		/* old firmware, need to figure out the box */		if (is_mongoose(dev)) {			eisa_dev.eeprom_addr = SNAKES_EEPROM_BASE_ADDR;		} else {			eisa_dev.eeprom_addr = MIRAGE_EEPROM_BASE_ADDR;		}	}	eisa_eeprom_addr = ioremap(eisa_dev.eeprom_addr, HPEE_MAX_LENGTH);	result = eisa_enumerator(eisa_dev.eeprom_addr, &eisa_dev.hba.io_space,			&eisa_dev.hba.lmmio_space);	init_eisa_pic();	if (result >= 0) {		/* FIXME : Don't enumerate the bus twice. */		eisa_dev.root.dev = &dev->dev;		dev->dev.driver_data = &eisa_dev.root;		eisa_dev.root.bus_base_addr = 0;		eisa_dev.root.res = &eisa_dev.hba.io_space;		eisa_dev.root.slots = result;		eisa_dev.root.dma_mask = 0xffffffff; /* wild guess */		if (eisa_root_register (&eisa_dev.root)) {			printk(KERN_ERR "EISA: Failed to register EISA root\n");			return -1;		}	}		return 0;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f01bba49938f115237fe43a261c31ac13ae5c6/eisa.c/buggy/drivers/parisc/eisa.c