diff options
-rw-r--r-- | include/linux/libata.h | 6 |
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 */ |