diff options
author | Hannes Reinecke <hare@suse.de> | 2011-03-04 09:54:52 +0100 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2011-04-24 11:31:31 -0400 |
commit | 6e5fe5b12cfcd9ed4303c9a4f4a22a694104d28f (patch) | |
tree | 96ccfacbf812e6ddbad8e3c1f90b466f3a3458e2 /drivers/ata/ahci.h | |
parent | 686c4cbb10fc0e75b29b097290b4f7fc3f010b9e (diff) | |
download | lwn-6e5fe5b12cfcd9ed4303c9a4f4a22a694104d28f.tar.gz lwn-6e5fe5b12cfcd9ed4303c9a4f4a22a694104d28f.zip |
ahci: EM supported message type sysfs attribute
This patch adds an sysfs attribute 'em_message_supported' to the
ahci host device which prints out the supported enclosure management
message types.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/ata/ahci.h')
-rw-r--r-- | drivers/ata/ahci.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ata/ahci.h b/drivers/ata/ahci.h index 39865009c251..12c5282e7fca 100644 --- a/drivers/ata/ahci.h +++ b/drivers/ata/ahci.h @@ -229,6 +229,10 @@ enum { EM_CTL_ALHD = (1 << 26), /* Activity LED */ EM_CTL_XMT = (1 << 25), /* Transmit Only */ EM_CTL_SMB = (1 << 24), /* Single Message Buffer */ + EM_CTL_SGPIO = (1 << 19), /* SGPIO messages supported */ + EM_CTL_SES = (1 << 18), /* SES-2 messages supported */ + EM_CTL_SAFTE = (1 << 17), /* SAF-TE messages supported */ + EM_CTL_LED = (1 << 16), /* LED messages supported */ /* em message type */ EM_MSG_TYPE_LED = (1 << 0), /* LED */ |