[PATCH] libata: implement ata_drive_probe_reset()
authorTejun Heo <htejun@gmail.com>
Tue, 24 Jan 2006 08:05:22 +0000 (17:05 +0900)
committerJeff Garzik <jgarzik@pobox.com>
Sat, 28 Jan 2006 01:58:34 +0000 (20:58 -0500)
commita62c0fc526c344d8163f7a9e45e68cc63826ffd3
treed803a14848eb785f63b5f9e2d0b3f19afa0bda9d
parentc19ba8af4f104cca28d548cac55c128b28dd31fb
[PATCH] libata: implement ata_drive_probe_reset()

Most low level drivers share supported reset/classify actions and
sequence.  This patch implements ata_drive_probe_reset() which helps
constructing ->probe_reset from three component operations -
softreset, hardreset and postreset.  This minimizes duplicate code and
yet allows flexibility if needed. The three component operations can
also be shared by EH later.

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