sata_sil24: Identify which card suffered IRQ status error
In machines with multiple Silicon Image 3124 and/or 3132 cards, there is no way to tell which card is the culprit when the sata_sil24 interrupt handler gets a bad status. Tested-by: Tim Small <tim@seoss.co.uk> Signed-off-by: Tim Small <tim@seoss.co.uk> Signed-off-by: Tejun Heo <tj@kernel.org>
This commit is contained in:
parent
af64dce4cb
commit
11838230da
1 changed files with 2 additions and 2 deletions
|
@ -1154,8 +1154,8 @@ static irqreturn_t sil24_interrupt(int irq, void *dev_instance)
|
||||||
status = readl(host_base + HOST_IRQ_STAT);
|
status = readl(host_base + HOST_IRQ_STAT);
|
||||||
|
|
||||||
if (status == 0xffffffff) {
|
if (status == 0xffffffff) {
|
||||||
printk(KERN_ERR DRV_NAME ": IRQ status == 0xffffffff, "
|
dev_err(host->dev, "IRQ status == 0xffffffff, "
|
||||||
"PCI fault or device removal?\n");
|
"PCI fault or device removal?\n");
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue