[PATCH] libata: update ata_dev_init_params()
authorTejun Heo <htejun@gmail.com>
Wed, 15 Feb 2006 09:24:09 +0000 (18:24 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Mon, 20 Feb 2006 10:07:52 +0000 (05:07 -0500)
commit6aff8f1f07a7fff48121d1ad4a550f3af24ccc81
tree3b02003f45b43c81b395c4a07e8c708599304bdd
parent6a62a04d4705df4f9f9bee39e889b9e920eeca47
[PATCH] libata: update ata_dev_init_params()

Update ata_dev_init_params() such that it doesn't disable port
directly but return with appropriate error mask on failure.  This is
preparation for splitting ata_dev_identify().  Note that this patch
changes behavior of dev_init_params failure such that only failing
devices are taken offline not the whole port.  This change is
intended.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
drivers/scsi/libata-core.c