linux/drivers/ata
Tejun Heo 9b1e2658fa libata-link: update EH to deal with PMP links
Update ata_eh_autopsy(), ata_eh_report(),
ata_eh_revalidate_and_attach() and ata_eh_recover() to deal with PMP
links.  ata_eh_autopsy() and ata_eh_report() updates are
straightforward.  They just repeat the same operation over all
configured links.  The only change to ata_eh_revalidate_and_attach()
is avoiding calling ->cable_select() on non-host ports.

ata_eh_recover() update is more complex as it first processes all
resets and then performs the rest.  This is necessary as thawing with
some links in unknown state can be dangerous.  ehi->action is cleared
on successful recovery of a link to avoid repeating recovery due to
failures in other links.

ata_eh_recover() iterates over only PMP links if PMP is attached, and,
on failure, the failing link is returned in @failed_link instead of
disabling devices directly.  These are to integrate ata_eh_recover()
into PMP EH later.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
2007-10-12 14:55:32 -04:00
..
ahci.c libata-link: make two port flags HRST_TO_RESUME and SKIP_D2H_BSY link flags 2007-10-12 14:55:31 -04:00
ata_generic.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
ata_piix.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
Kconfig pata_hpt3x3: major reworking and testing 2007-07-10 21:30:33 -04:00
libata-acpi.c libata-link: implement and use link/device iterators 2007-10-12 14:55:30 -04:00
libata-core.c libata-link: add PMP links 2007-10-12 14:55:31 -04:00
libata-eh.c libata-link: update EH to deal with PMP links 2007-10-12 14:55:32 -04:00
libata-scsi.c libata-link: implement and use link/device iterators 2007-10-12 14:55:30 -04:00
libata-sff.c libata-link: linkify PHY-related functions 2007-10-12 14:55:30 -04:00
libata.h libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
Makefile libata-acpi: s/CONFIG_SATA_ACPI/CONFIG_ATA_ACPI/ 2007-05-11 18:12:42 -04:00
pata_ali.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
pata_amd.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_artop.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_atiixp.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_cmd64x.c pata_cmd64x: Correct the speed ranges 2007-08-01 10:00:56 -04:00
pata_cmd640.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_cs5520.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
pata_cs5530.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
pata_cs5535.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_cypress.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_efar.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_hpt3x2n.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_hpt3x3.c pata_hpt3x3: fix DMA Kconfig option to actually have a hope of working 2007-07-10 21:36:13 -04:00
pata_hpt37x.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_hpt366.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_icside.c [ARM] pata_icside: fix the FIXMEs 2007-08-06 16:10:54 +01:00
pata_isapnp.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
pata_it821x.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_it8213.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_ixp4xx_cf.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_jmicron.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_legacy.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_marvell.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_mpc52xx.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
pata_mpiix.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_netcell.c [libata] Use ATA_UDMAx standard masks when filling driver's udma_mask info 2007-07-09 12:17:35 -04:00
pata_ns87410.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_oldpiix.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_opti.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_optidma.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_pcmcia.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_pdc202xx_old.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_pdc2027x.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_platform.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_qdi.c libata-link: introduce ata_link 2007-10-12 14:55:30 -04:00
pata_radisys.c [libata] PATA drivers: remove ATA_FLAG_SRST 2007-07-09 12:17:32 -04:00
pata_rz1000.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
pata_sc1200.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
pata_scc.c libata-link: linkify PHY-related functions 2007-10-12 14:55:30 -04:00
pata_serverworks.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
pata_sil680.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_sis.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_sl82c105.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_triflex.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_via.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
pata_winbond.c libata-link: introduce ata_link 2007-10-12 14:55:30 -04:00
pdc_adma.c libata-link: linkify config/EH related functions 2007-10-12 14:55:31 -04:00
sata_inic162x.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
sata_mv.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
sata_nv.c libata-link: make two port flags HRST_TO_RESUME and SKIP_D2H_BSY link flags 2007-10-12 14:55:31 -04:00
sata_promise.c libata-link: linkify PHY-related functions 2007-10-12 14:55:30 -04:00
sata_promise.h Move libata to drivers/ata. 2006-08-10 07:31:37 -04:00
sata_qstor.c libata-link: introduce ata_link 2007-10-12 14:55:30 -04:00
sata_sil24.c libata-link: make two port flags HRST_TO_RESUME and SKIP_D2H_BSY link flags 2007-10-12 14:55:31 -04:00
sata_sil.c libata-link: make two port flags HRST_TO_RESUME and SKIP_D2H_BSY link flags 2007-10-12 14:55:31 -04:00
sata_sis.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
sata_svw.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
sata_sx4.c libata-link: introduce ata_link 2007-10-12 14:55:30 -04:00
sata_uli.c [libata] Bump driver versions 2007-08-31 04:54:06 -04:00
sata_via.c libata-link: linkify reset 2007-10-12 14:55:31 -04:00
sata_vsc.c libata-link: introduce ata_link 2007-10-12 14:55:30 -04:00
sis.h libata: PATA-mode fixes for sis_sata 2007-07-02 10:17:42 -04:00