diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-03-11 19:10:06 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-03-11 19:10:06 -0500 |
commit | 75deb6fa985bd3162b9472f1fc394e23294da816 (patch) | |
tree | f959602fae8faba6b6cdc617069f3c02414e453b /drivers/scsi/ahci.c | |
parent | 2061a47a9b9530a9523e51167c996307db951c31 (diff) | |
parent | 6971ed1fbbc80cae54e082aae153d5b063885d0a (diff) |
Merge branch 'upstream-fixes'
Diffstat (limited to 'drivers/scsi/ahci.c')
-rw-r--r-- | drivers/scsi/ahci.c | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/drivers/scsi/ahci.c b/drivers/scsi/ahci.c index 1c2ab3dede71..00dfdefe2967 100644 --- a/drivers/scsi/ahci.c +++ b/drivers/scsi/ahci.c | |||
@@ -778,23 +778,17 @@ static irqreturn_t ahci_interrupt (int irq, void *dev_instance, struct pt_regs * | |||
778 | struct ata_queued_cmd *qc; | 778 | struct ata_queued_cmd *qc; |
779 | qc = ata_qc_from_tag(ap, ap->active_tag); | 779 | qc = ata_qc_from_tag(ap, ap->active_tag); |
780 | if (!ahci_host_intr(ap, qc)) | 780 | if (!ahci_host_intr(ap, qc)) |
781 | if (ata_ratelimit()) { | 781 | if (ata_ratelimit()) |
782 | struct pci_dev *pdev = | 782 | dev_printk(KERN_WARNING, host_set->dev, |
783 | to_pci_dev(ap->host_set->dev); | ||
784 | dev_printk(KERN_WARNING, &pdev->dev, | ||
785 | "unhandled interrupt on port %u\n", | 783 | "unhandled interrupt on port %u\n", |
786 | i); | 784 | i); |
787 | } | ||
788 | 785 | ||
789 | VPRINTK("port %u\n", i); | 786 | VPRINTK("port %u\n", i); |
790 | } else { | 787 | } else { |
791 | VPRINTK("port %u (no irq)\n", i); | 788 | VPRINTK("port %u (no irq)\n", i); |
792 | if (ata_ratelimit()) { | 789 | if (ata_ratelimit()) |
793 | struct pci_dev *pdev = | 790 | dev_printk(KERN_WARNING, host_set->dev, |
794 | to_pci_dev(ap->host_set->dev); | ||
795 | dev_printk(KERN_WARNING, &pdev->dev, | ||
796 | "interrupt on disabled port %u\n", i); | 791 | "interrupt on disabled port %u\n", i); |
797 | } | ||
798 | } | 792 | } |
799 | 793 | ||
800 | irq_ack |= (1 << i); | 794 | irq_ack |= (1 << i); |