summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2008-08-13 20:19:09 +0900
committerJeff Garzik <jgarzik@redhat.com>2008-08-22 02:07:43 -0400
commit05944bdf6fadb5394710269df6770dde447b23ca (patch)
tree7dd0435f44518b01e5d3a229167e7122425e2255 /include
parent6a55617ed5d1aa62b850de2cf66f5ede2eef4825 (diff)
downloadblackbird-op-linux-05944bdf6fadb5394710269df6770dde447b23ca.tar.gz
blackbird-op-linux-05944bdf6fadb5394710269df6770dde447b23ca.zip
libata: implement no[hs]rst force params
Implement force params nohrst, nosrst and norst. This is to work around reset related problems and ease debugging. Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/libata.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 06b80337303b..5340d4c83fd9 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -163,6 +163,7 @@ enum {
ATA_DEV_NONE = 9, /* no device */
/* struct ata_link flags */
+ ATA_LFLAG_NO_HRST = (1 << 1), /* avoid hardreset */
ATA_LFLAG_NO_SRST = (1 << 2), /* avoid softreset */
ATA_LFLAG_ASSUME_ATA = (1 << 3), /* assume ATA class */
ATA_LFLAG_ASSUME_SEMB = (1 << 4), /* assume SEMB class */
OpenPOWER on IntegriCloud