diff --git a/drivers/ata/ahci.c b/drivers/ata/ahci.c index 6978469..46b7e48 100644 --- a/drivers/ata/ahci.c +++ b/drivers/ata/ahci.c @@ -402,6 +402,7 @@ static const struct ata_port_operations ahci_p5wdh_ops = { static const struct ata_port_info ahci_port_info[] = { /* board_ahci */ { + AHCI_HFLAGS (AHCI_HFLAG_NO_PMP), .flags = AHCI_FLAG_COMMON, .link_flags = AHCI_LFLAG_COMMON, .pio_mask = 0x1f, /* pio0-4 */ @@ -1862,7 +1863,7 @@ static void ahci_error_handler(struct ata_port *ap) } /* perform recovery */ - sata_pmp_do_eh(ap, ata_std_prereset, ahci_softreset, + sata_pmp_do_eh(ap, ata_std_prereset, NULL/*ahci_softreset*/, ahci_hardreset, ahci_postreset, sata_pmp_std_prereset, ahci_pmp_softreset, sata_pmp_std_hardreset, sata_pmp_std_postreset);