[PATCH] libata: separate out ata_dev_configure()
authorTejun Heo <htejun@gmail.com>
Wed, 1 Mar 2006 07:09:35 +0000 (16:09 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 3 Mar 2006 22:31:04 +0000 (17:31 -0500)
commitffeae418c12a304f6a9b6468043954d4e67a2b1e
tree789b1a221d2f454c496e9220246cfb094ea386dc
parentd9572b1d5e60b63e27e17f1f7771c5a26dd5d81e
[PATCH] libata: separate out ata_dev_configure()

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: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/scsi/libata-core.c