summaryrefslogtreecommitdiff
path: root/include/linux/libata.h
diff options
context:
space:
mode:
authorAndy Whitcroft <apw@canonical.com>2012-05-04 22:15:10 +0100
committerJeff Garzik <jgarzik@redhat.com>2012-05-07 15:32:23 -0400
commitdb63a4c8115a0bb904496e1cdd3e7488e68b0d06 (patch)
tree326448b28bf8de7c6205ed9e598070111e8a5020 /include/linux/libata.h
parentd48b97b403d23f6df0b990cee652bdf9a52337a3 (diff)
downloadlwn-db63a4c8115a0bb904496e1cdd3e7488e68b0d06.tar.gz
lwn-db63a4c8115a0bb904496e1cdd3e7488e68b0d06.zip
libata: add a host flag to ignore detected ATA devices
Where devices are visible via more than one host we sometimes wish to indicate that cirtain devices should be ignored on a specific host. Add a host flag indicating that this host wishes to ignore ATA specific devices. Signed-off-by: Andy Whitcroft <apw@canonical.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'include/linux/libata.h')
-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 e926df7b54c9..6e887c742a27 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -247,6 +247,7 @@ enum {
ATA_HOST_SIMPLEX = (1 << 0), /* Host is simplex, one DMA channel per host only */
ATA_HOST_STARTED = (1 << 1), /* Host started */
ATA_HOST_PARALLEL_SCAN = (1 << 2), /* Ports on this host can be scanned in parallel */
+ ATA_HOST_IGNORE_ATA = (1 << 3), /* Ignore ATA devices on this host. */
/* bits 24:31 of host->flags are reserved for LLD specific flags */