VPRINTK("All regs @ PCI error\n");
DPRINTK("All regs @ PCI error\n");
static irqreturn_t mv_interrupt(int irq, void *dev_instance,				struct pt_regs *regs){	struct ata_host_set *host_set = dev_instance;	unsigned int hc, handled = 0, n_hcs;	void __iomem *mmio = host_set->mmio_base;	u32 irq_stat;	irq_stat = readl(mmio + HC_MAIN_IRQ_CAUSE_OFS);	/* check the cases where we either have nothing pending or have read	 * a bogus register value which can indicate HW removal or PCI fault	 */	if (!irq_stat || (0xffffffffU == irq_stat)) {		return IRQ_NONE;	}	n_hcs = mv_get_hc_count(host_set->ports[0]->flags);	spin_lock(&host_set->lock);	for (hc = 0; hc < n_hcs; hc++) {		u32 relevant = irq_stat & (HC0_IRQ_PEND << (hc * HC_SHIFT));		if (relevant) {			mv_host_intr(host_set, relevant, hc);			handled++;		}	}	if (PCI_ERR & irq_stat) {		printk(KERN_ERR DRV_NAME ": PCI ERROR; PCI IRQ cause=0x%08x\n",		       readl(mmio + PCI_IRQ_CAUSE_OFS));		VPRINTK("All regs @ PCI error\n");		mv_dump_all_regs(mmio, -1, to_pci_dev(host_set->dev));		writelfl(0, mmio + PCI_IRQ_CAUSE_OFS);		handled++;	}	spin_unlock(&host_set->lock);	return IRQ_RETVAL(handled);}