]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitced8150d7be91579815d53b98da4a062d27130d8
tree32ce6a8907a05a0eaacf970b58b557c6243a6132
parentd658c92fcc77de217dba9453122435c34cab463e
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