sata_promise.c (ce2d3abc292c1eecd9ddc6f03391a0a46c6561dc) sata_promise.c (a51d644af6eb0a93bc383e5f005faa445c87f335)
1/*
2 * sata_promise.c - Promise SATA
3 *
4 * Maintained by: Jeff Garzik <jgarzik@pobox.com>
5 * Please ALWAYS copy linux-ide@vger.kernel.org
6 * on emails.
7 *
8 * Copyright 2003-2004 Red Hat, Inc.

--- 608 unchanged lines hidden (view full) ---

617{
618 pdc_common_error_handler(ap, sata_std_hardreset);
619}
620
621static void pdc_post_internal_cmd(struct ata_queued_cmd *qc)
622{
623 struct ata_port *ap = qc->ap;
624
1/*
2 * sata_promise.c - Promise SATA
3 *
4 * Maintained by: Jeff Garzik <jgarzik@pobox.com>
5 * Please ALWAYS copy linux-ide@vger.kernel.org
6 * on emails.
7 *
8 * Copyright 2003-2004 Red Hat, Inc.

--- 608 unchanged lines hidden (view full) ---

617{
618 pdc_common_error_handler(ap, sata_std_hardreset);
619}
620
621static void pdc_post_internal_cmd(struct ata_queued_cmd *qc)
622{
623 struct ata_port *ap = qc->ap;
624
625 if (qc->flags & ATA_QCFLAG_FAILED)
626 qc->err_mask |= AC_ERR_OTHER;
627
628 /* make DMA engine forget about the failed command */
625 /* make DMA engine forget about the failed command */
629 if (qc->err_mask)
626 if (qc->flags & ATA_QCFLAG_FAILED)
630 pdc_reset_port(ap);
631}
632
633static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc,
634 u32 port_status, u32 err_mask)
635{
636 struct ata_eh_info *ehi = &ap->eh_info;
637 unsigned int ac_err_mask = 0;

--- 413 unchanged lines hidden ---
627 pdc_reset_port(ap);
628}
629
630static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc,
631 u32 port_status, u32 err_mask)
632{
633 struct ata_eh_info *ehi = &ap->eh_info;
634 unsigned int ac_err_mask = 0;

--- 413 unchanged lines hidden ---