libata: implement ATA_PFLAG_RESETTING
authorTejun Heo <htejun@gmail.com>
Tue, 9 Oct 2007 06:06:10 +0000 (15:06 +0900)
committerJeff Garzik <jeff@garzik.org>
Fri, 12 Oct 2007 18:55:47 +0000 (14:55 -0400)
commitafaa5c373d2c49ee4865847031b82f1377f609d0
tree785203bd4538d2e3c36622ebc2eac93652c7e19e
parent2b789108fc1dcba22050a7e6e29ae5ebaea427dd
libata: implement ATA_PFLAG_RESETTING

Implement ATA_PFLAG_RESETTING.  This flag is set while reset is in
progress.  It's set before prereset is called and cleared after reset
fails or postreset is finished.

This flag itself doesn't have any function.  It will be used by LLDs
to tell whether reset is in progress if it needs to behave differently
during reset.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/libata-eh.c
include/linux/libata.h