aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTejun Heo <htejun@gmail.com>2007-11-27 05:28:52 -0500
committerJeff Garzik <jeff@garzik.org>2008-01-23 05:24:10 -0500
commitf20ded38aa54b92dd0af32578b8916d0aa2d9e05 (patch)
tree26ab6752bf8318a8ea3b30356ac055f5f30cc31e
parent11b7becca9425aab50807503c8102b2db9e5ecf0 (diff)
libata: rearrange ATA_DFLAG_*
Area for DFLAGs which are cleared on INIT is full. Extend it by 8 bits. Signed-off-by: Tejun Heo <htejun@gmail.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>
-rw-r--r--include/linux/libata.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h
index 124033cb5e9b..ca347b018649 100644
--- a/include/linux/libata.h
+++ b/include/linux/libata.h
@@ -143,10 +143,10 @@ enum {
143 ATA_DFLAG_NCQ_OFF = (1 << 13), /* device limited to non-NCQ mode */ 143 ATA_DFLAG_NCQ_OFF = (1 << 13), /* device limited to non-NCQ mode */
144 ATA_DFLAG_SPUNDOWN = (1 << 14), /* XXX: for spindown_compat */ 144 ATA_DFLAG_SPUNDOWN = (1 << 14), /* XXX: for spindown_compat */
145 ATA_DFLAG_SLEEPING = (1 << 15), /* device is sleeping */ 145 ATA_DFLAG_SLEEPING = (1 << 15), /* device is sleeping */
146 ATA_DFLAG_INIT_MASK = (1 << 16) - 1, 146 ATA_DFLAG_INIT_MASK = (1 << 24) - 1,
147 147
148 ATA_DFLAG_DETACH = (1 << 16), 148 ATA_DFLAG_DETACH = (1 << 24),
149 ATA_DFLAG_DETACHED = (1 << 17), 149 ATA_DFLAG_DETACHED = (1 << 25),
150 150
151 ATA_DEV_UNKNOWN = 0, /* unknown device */ 151 ATA_DEV_UNKNOWN = 0, /* unknown device */
152 ATA_DEV_ATA = 1, /* ATA device */ 152 ATA_DEV_ATA = 1, /* ATA device */