• T
    libata: unify mechanism to request follow-up SRST · 305d2a1a
    Tejun Heo 提交于
    Previously, there were two ways to trigger follow-up SRST from
    hardreset method - returning -EAGAIN and leaving all device classes
    unmodified.  Drivers never used the latter mechanism and the only use
    case for the former was when hardreset couldn't classify.
    
    Drop the latter mechanism and let -EAGAIN mean "perform follow-up SRST
    if classification is required".  This change removes unnecessary
    follow-up SRSTs and simplifies reset implementations.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    305d2a1a
libata-sff.c 69.5 KB