diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/libata.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/libata.h b/include/linux/libata.h index 37ee881c42ac..c63cfb3b222b 100644 --- a/include/linux/libata.h +++ b/include/linux/libata.h | |||
@@ -292,12 +292,12 @@ enum { | |||
292 | 292 | ||
293 | /* reset / recovery action types */ | 293 | /* reset / recovery action types */ |
294 | ATA_EH_REVALIDATE = (1 << 0), | 294 | ATA_EH_REVALIDATE = (1 << 0), |
295 | ATA_EH_SOFTRESET = (1 << 1), | 295 | ATA_EH_SOFTRESET = (1 << 1), /* meaningful only in ->prereset */ |
296 | ATA_EH_HARDRESET = (1 << 2), | 296 | ATA_EH_HARDRESET = (1 << 2), /* meaningful only in ->prereset */ |
297 | ATA_EH_RESET = ATA_EH_SOFTRESET | ATA_EH_HARDRESET, | ||
297 | ATA_EH_ENABLE_LINK = (1 << 3), | 298 | ATA_EH_ENABLE_LINK = (1 << 3), |
298 | ATA_EH_LPM = (1 << 4), /* link power management action */ | 299 | ATA_EH_LPM = (1 << 4), /* link power management action */ |
299 | 300 | ||
300 | ATA_EH_RESET_MASK = ATA_EH_SOFTRESET | ATA_EH_HARDRESET, | ||
301 | ATA_EH_PERDEV_MASK = ATA_EH_REVALIDATE, | 301 | ATA_EH_PERDEV_MASK = ATA_EH_REVALIDATE, |
302 | 302 | ||
303 | /* ata_eh_info->flags */ | 303 | /* ata_eh_info->flags */ |
@@ -1097,7 +1097,7 @@ extern void ata_ehi_clear_desc(struct ata_eh_info *ehi); | |||
1097 | static inline void ata_ehi_schedule_probe(struct ata_eh_info *ehi) | 1097 | static inline void ata_ehi_schedule_probe(struct ata_eh_info *ehi) |
1098 | { | 1098 | { |
1099 | ehi->flags |= ATA_EHI_RESUME_LINK; | 1099 | ehi->flags |= ATA_EHI_RESUME_LINK; |
1100 | ehi->action |= ATA_EH_SOFTRESET; | 1100 | ehi->action |= ATA_EH_RESET; |
1101 | ehi->probe_mask |= (1 << ATA_MAX_DEVICES) - 1; | 1101 | ehi->probe_mask |= (1 << ATA_MAX_DEVICES) - 1; |
1102 | } | 1102 | } |
1103 | 1103 | ||