libata: Export AHCI capabilities
authorMatthew Garrett <mjg@redhat.com>
Fri, 17 Jul 2009 18:13:47 +0000 (19:13 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 1 Sep 2009 23:47:20 +0000 (19:47 -0400)
commit77cdec1ad527560b59ab8dbb063dbb3d0a138bf7
tree32ce6a8907a05a0eaacf970b58b557c6243a6132
parentf17259a31237cf0fd5c6c8cf2a4f9e6df405744b
libata: Export AHCI capabilities

AHCI exports various capability bits that may be of interest to userspace
such as whether the BIOS claims a port is hotpluggable or eSATA. Providing
these via sysfs along with the version of the AHCI spec implemented by
the host allows userspace to make policy decisions for things like ALPM.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/ahci.c