From: Tejun Heo Date: Wed, 1 Mar 2006 07:09:35 +0000 (+0900) Subject: [PATCH] libata: separate out ata_dev_configure() X-Git-Tag: v2.6.17-rc1~1182^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ffeae418c12a304f6a9b6468043954d4e67a2b1e;p=pandora-kernel.git [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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed