diff options
author | Tejun Heo <htejun@gmail.com> | 2006-07-03 11:07:26 +0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-07-06 06:16:27 +0400 |
commit | 1cdaf534f829b8759ba30f97d5e8dceb2ab77ba4 (patch) | |
tree | 4cad6cd3a04d3c10ab42e7d2c76c8f6e2467e506 /include/linux/libata.h | |
parent | e9c839142d698086d3fe33a0daafde55ddd00c4e (diff) | |
download | linux-1cdaf534f829b8759ba30f97d5e8dceb2ab77ba4.tar.xz |
[PATCH] libata: implement ATA_EHI_NO_AUTOPSY and QUIET
Implement ATA_EHI_NO_AUTOPSY and QUIET. These used to be implied by
ATA_PFLAG_LOADING, but new power management and PMP support need to
use these separately. e.g. Suspend/resume operations shouldn't print
full EH messages and resume shouldn't be recorded as an error.
Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'include/linux/libata.h')
-rw-r--r-- | include/linux/libata.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 2f7bbfc0c41b..36938ae1254d 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h @@ -260,6 +260,8 @@ enum { /* ata_eh_info->flags */ ATA_EHI_HOTPLUGGED = (1 << 0), /* could have been hotplugged */ ATA_EHI_RESUME_LINK = (1 << 1), /* need to resume link */ + ATA_EHI_NO_AUTOPSY = (1 << 2), /* no autopsy */ + ATA_EHI_QUIET = (1 << 3), /* be quiet */ ATA_EHI_DID_RESET = (1 << 16), /* already reset this port */ |