diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-08-03 17:35:48 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-03 17:35:48 -0400 |
commit | 36a2c6b28003dd0592b8ece5e9409991e0820f50 (patch) | |
tree | c5b52547b2658a8a3b898b8224b835a7e8396017 /drivers/scsi/ahci.c | |
parent | 95916edd02e3a7752315422f386c55723d4a3637 (diff) | |
parent | f1d39b291e2263f5e2f2ec5d4061802f76d8ae67 (diff) |
Merge branch 'upstream-fixes' into upstream
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 35058f9296d8..f5734a97580a 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -1076,14 +1076,8 @@ static void ahci_host_intr(struct ata_port *ap) | |||
1076 | return; | 1076 | return; |
1077 | 1077 | ||
1078 | /* ignore interim PIO setup fis interrupts */ | 1078 | /* ignore interim PIO setup fis interrupts */ |
1079 | if (ata_tag_valid(ap->active_tag)) { | 1079 | if (ata_tag_valid(ap->active_tag) && (status & PORT_IRQ_PIOS_FIS)) |
1080 | struct ata_queued_cmd *qc = | 1080 | return; |
1081 | ata_qc_from_tag(ap, ap->active_tag); | ||
1082 | |||
1083 | if (qc && qc->tf.protocol == ATA_PROT_PIO && | ||
1084 | (status & PORT_IRQ_PIOS_FIS)) | ||
1085 | return; | ||
1086 | } | ||
1087 | 1081 | ||
1088 | if (ata_ratelimit()) | 1082 | if (ata_ratelimit()) |
1089 | ata_port_printk(ap, KERN_INFO, "spurious interrupt " | 1083 | ata_port_printk(ap, KERN_INFO, "spurious interrupt " |