Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 14301
b: refs/heads/master
c: a2c91a8
h: refs/heads/master
i:
  14299: 0d4be45
v: v3
  • Loading branch information
Jeff Garzik committed Nov 17, 2005
1 parent 5c54837 commit 2a977a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 22374677d18c5eeefd3a283431d312b8c44fef02
refs/heads/master: a2c91a8819e315e9fd1aef3ff57badb6c1be3f80
7 changes: 6 additions & 1 deletion trunk/drivers/scsi/sata_mv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1219,6 +1219,10 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
handled++;
}

if (ap &&
(ap->flags & (ATA_FLAG_PORT_DISABLED | ATA_FLAG_NOINTR)))
continue;

err_mask = ac_err_mask(ata_status);

shift = port << 1; /* (port * 2) */
Expand All @@ -1237,7 +1241,8 @@ static void mv_host_intr(struct ata_host_set *host_set, u32 relevant,
VPRINTK("port %u IRQ found for qc, "
"ata_status 0x%x\n", port,ata_status);
/* mark qc status appropriately */
ata_qc_complete(qc, err_mask);
if (!(qc->tf.ctl & ATA_NIEN))
ata_qc_complete(qc, err_mask);
}
}
}
Expand Down

0 comments on commit 2a977a9

Please sign in to comment.