ide: ide_id_has_flush_cache_ext() -> ata_id_flush_ext_enabled()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:31 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:31 +0000 (22:39 +0200)
commitff2779b568e70822e0ef2cc7afeeefbe7c607652
treeb14a77664e9d4c8284805c5691017245e6c35e4b
parent4b58f17d7c45a8e5f4acda641bec388398b9c0fa
ide: ide_id_has_flush_cache_ext() -> ata_id_flush_ext_enabled()

* Add ata_id_flush_ext_enabled() inline helper to <linux/ata.h>.

* ide_id_has_flush_cache_ext() -> ata_id_flush_ext_enabled()

  The latter one also checks if the command is marked as
  supported in word 83 and validity of words 83 & 86.

Cc: Jeff Garzik <jgarzik@pobox.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-disk.c
drivers/ide/ide-io.c
include/linux/ata.h
include/linux/ide.h