diff options
Diffstat (limited to 'drivers/ata/sata_promise.c')
-rw-r--r-- | drivers/ata/sata_promise.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/ata/sata_promise.c b/drivers/ata/sata_promise.c index baa836881b03..a7916d72c4ca 100644 --- a/drivers/ata/sata_promise.c +++ b/drivers/ata/sata_promise.c | |||
@@ -45,7 +45,7 @@ | |||
45 | #include "sata_promise.h" | 45 | #include "sata_promise.h" |
46 | 46 | ||
47 | #define DRV_NAME "sata_promise" | 47 | #define DRV_NAME "sata_promise" |
48 | #define DRV_VERSION "2.04" | 48 | #define DRV_VERSION "2.05" |
49 | 49 | ||
50 | 50 | ||
51 | enum { | 51 | enum { |
@@ -650,9 +650,12 @@ static void pdc_error_intr(struct ata_port *ap, struct ata_queued_cmd *qc, | |||
650 | | PDC_PCI_SYS_ERR | PDC1_PCI_PARITY_ERR)) | 650 | | PDC_PCI_SYS_ERR | PDC1_PCI_PARITY_ERR)) |
651 | ac_err_mask |= AC_ERR_HOST_BUS; | 651 | ac_err_mask |= AC_ERR_HOST_BUS; |
652 | 652 | ||
653 | ehi->action |= ATA_EH_SOFTRESET; | 653 | if (sata_scr_valid(ap)) |
654 | ehi->serror |= pdc_sata_scr_read(ap, SCR_ERROR); | ||
655 | |||
654 | qc->err_mask |= ac_err_mask; | 656 | qc->err_mask |= ac_err_mask; |
655 | ata_port_freeze(ap); | 657 | |
658 | pdc_reset_port(ap); | ||
656 | } | 659 | } |
657 | 660 | ||
658 | static inline unsigned int pdc_host_intr( struct ata_port *ap, | 661 | static inline unsigned int pdc_host_intr( struct ata_port *ap, |