• Tejun Heo's avatar
    [PATCH] libata: new ->probe_reset operation · c19ba8af
    Tejun Heo authored
    Add new ->probe_reset operation to ata_port_operations obsoleting
    ->phy_reset.  The main difference from ->phy_reset is that the new
    operation is not allowed to manipulate libata internals directly.
    It's not allowed to configure or disable the port or devices.  It can
    only succeed or fail and classify attached devices into passed
    @classes.
    
    This change gives more control to higher level and eases sharing reset
    methods with EH.
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@pobox.com>
    c19ba8af
libata-core.c 126 KB