]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/ide.h
ide: ide_id_has_flush_cache_ext() -> ata_id_flush_ext_enabled()
[linux-2.6-omap-h63xx.git] / include / linux / ide.h
index d2213d7cc4cb2e6a5afefc97c42eca3f3e34b820..432eb98f7fe730676e5182036ad62e73a436b3a2 100644 (file)
@@ -1453,10 +1453,6 @@ extern struct mutex ide_cfg_mtx;
 extern struct bus_type ide_bus_type;
 extern struct class *ide_port_class;
 
-/* some Maxtor disks have bit 13 defined incorrectly so check bit 10 too */
-#define ide_id_has_flush_cache_ext(id) \
-       (((id)[ATA_ID_CFS_ENABLE_2] & 0x2400) == 0x2400)
-
 static inline void ide_dump_identify(u8 *id)
 {
        print_hex_dump(KERN_INFO, "", DUMP_PREFIX_NONE, 16, 2, id, 512, 0);