]> git.baikalelectronics.ru Git - kernel.git/commit
ide: ide_id_has_flush_cache() -> ata_id_flush_enabled()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:30 +0000 (22:39 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 10 Oct 2008 20:39:30 +0000 (22:39 +0200)
commit4360a23bfc6a787ea3385283766026b9e436b67e
tree60ff1975dea044c3f268818f69001df5ac10eb42
parent00c16f0e0a6d4c045c09698384abc83a0cb23253
ide: ide_id_has_flush_cache() -> ata_id_flush_enabled()

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

* ide_id_has_flush_cache() -> ata_id_flush_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