wax->hpa = dev->hpa; 
wax->hpa = dev->hpa.start; 
wax_init_chip(struct parisc_device *dev){	struct gsc_asic *wax;	struct parisc_device *parent;	struct gsc_irq gsc_irq;	int ret;	wax = kmalloc(sizeof(*wax), GFP_KERNEL);	if (!wax)		return -ENOMEM;	wax->name = "wax";	wax->hpa = dev->hpa;	wax->version = 0;   /* gsc_readb(wax->hpa+WAX_VER); */	printk(KERN_INFO "%s at 0x%lx found.\n", wax->name, wax->hpa);	/* Stop wax hissing for a bit */	wax_init_irq(wax);	/* the IRQ wax should use */	dev->irq = gsc_claim_irq(&gsc_irq, WAX_GSC_IRQ);	if (dev->irq < 0) {		printk(KERN_ERR "%s(): cannot get GSC irq\n",				__FUNCTION__);		kfree(wax);		return -EBUSY;	}	wax->eim = ((u32) gsc_irq.txn_addr) | gsc_irq.txn_data;	ret = request_irq(gsc_irq.irq, gsc_asic_intr, 0, "wax", wax);	if (ret < 0) {		kfree(wax);		return ret;	}	/* enable IRQ's for devices below WAX */	gsc_writel(wax->eim, wax->hpa + OFFSET_IAR);	/* Done init'ing, register this driver */	ret = gsc_common_setup(dev, wax);	if (ret) {		kfree(wax);		return ret;	}	gsc_fixup_irqs(dev, wax, wax_choose_irq);	/* On 715-class machines, Wax EISA is a sibling of Wax, not a child. */	parent = parisc_parent(dev);	if (parent->id.hw_type != HPHW_IOA) {		gsc_fixup_irqs(parent, wax, wax_choose_irq);	}	return ret;}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/53f01bba49938f115237fe43a261c31ac13ae5c6/wax.c/clean/drivers/parisc/wax.c