aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 6e22cd20dd8b..d2213d7cc4cb 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1453,9 +1453,6 @@ extern struct mutex ide_cfg_mtx;
1453extern struct bus_type ide_bus_type; 1453extern struct bus_type ide_bus_type;
1454extern struct class *ide_port_class; 1454extern struct class *ide_port_class;
1455 1455
1456/* check if CACHE FLUSH command is supported (as defined in ATA-6) */
1457#define ide_id_has_flush_cache(id) ((id)[ATA_ID_CFS_ENABLE_2] & 0x1000)
1458
1459/* some Maxtor disks have bit 13 defined incorrectly so check bit 10 too */ 1456/* some Maxtor disks have bit 13 defined incorrectly so check bit 10 too */
1460#define ide_id_has_flush_cache_ext(id) \ 1457#define ide_id_has_flush_cache_ext(id) \
1461 (((id)[ATA_ID_CFS_ENABLE_2] & 0x2400) == 0x2400) 1458 (((id)[ATA_ID_CFS_ENABLE_2] & 0x2400) == 0x2400)