• Tejun Heo's avatar
    [PATCH] libata: separate out ata_dev_configure() · ffeae418
    Tejun Heo authored
    Separate out ata_dev_configure() from ata_dev_identify() such that
    ata_dev_configure() only configures @dev according to passed in @id.
    The function now does not disable device on failure, it just returns
    appropirate error code.
    
    As this change leaves ata_dev_identify() with only reading ID, calling
    configure and disabling devices according to the results, this patch
    also kills ata_dev_identify() and inlines the logic into
    ata_bus_probe().
    Signed-off-by: default avatarTejun Heo <htejun@gmail.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    ffeae418
libata-core.c 119 KB