• T
    libata: implement PMP helpers · 071f44b1
    Tejun Heo 提交于
    Implement helpers to test whether PMP is supported, attached and
    determine pmp number to use when issuing SRST to a link.  While at it,
    move ata_is_host_link() so that it's together with the two new PMP
    helpers.
    
    This change simplifies LLDs and helps making PMP support optional.
    Signed-off-by: NTejun Heo <htejun@gmail.com>
    071f44b1
libata-eh.c 73.2 KB