Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9690
b: refs/heads/master
c: 3cc4571
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Aug 17, 2005
1 parent aa2b8d2 commit a5aaf19
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1483467faa0170cf401955b3d8d3486ea0fe802d
refs/heads/master: 3cc4571c4106735665e048850ff6656de9558d60
15 changes: 5 additions & 10 deletions trunk/drivers/scsi/sata_sil24.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,17 +535,12 @@ static irqreturn_t sil24_interrupt(int irq, void *dev_instance, struct pt_regs *
for (i = 0; i < host_set->n_ports; i++)
if (status & (1 << i)) {
struct ata_port *ap = host_set->ports[i];
if (ap && !(ap->flags & ATA_FLAG_PORT_DISABLED))
if (ap && !(ap->flags & ATA_FLAG_PORT_DISABLED)) {
sil24_host_intr(host_set->ports[i]);
else {
u32 tmp;
printk(KERN_WARNING DRV_NAME
": spurious interrupt from port %d\n", i);
tmp = readl(hpriv->host_base + HOST_CTRL);
tmp &= ~(1 << i);
writel(tmp, hpriv->host_base + HOST_CTRL);
}
handled++;
handled++;
} else
printk(KERN_ERR DRV_NAME
": interrupt from disabled port %d\n", i);
}

spin_unlock(&host_set->lock);
Expand Down

0 comments on commit a5aaf19

Please sign in to comment.