• Tejun Heo's avatar
    libata: kill ATA_EHI_RESUME_LINK · 672b2d65
    Tejun Heo authored
    ATA_EHI_RESUME_LINK has two functions - promote reset to hardreset if
    ATA_LFLAG_HRST_TO_RESUME is set and preventing EH from shortcutting
    reset action when probing is requested.  The former is gone now and
    the latter can easily be achieved by making EH to perform at least one
    reset if reset is requested, which also makes more sense than
    depending on RESUME_LINK flag.
    
    As ATA_EHI_RESUME_LINK was the only EHI reset modifier, this also
    kills reset modifier handling.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    672b2d65
libata-eh.c 72.7 KB